TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Thomas
NA
111
0
resizing controls dynamically
Feb 23 2012 12:46 PM
ok, I know how to resize individual controls but I have a puzzle here...
In a windows app I have 4 rectangle controls (graphs) in a 2 x 2 grid that I need to be able to resize with the with the window.
For a Single control I would just use
MyGraph.Location = new Point(12, 56);
MyGraph.Size = new Size(ClientRectangle.Width - 40, ClientRectangle.Height - 155);
Any ideas on how can I calc the new size without causing the graphs to overlap?
Reply
Answers (
1
)
[solved] scope of private variables
Update several hundred rows at once with mysql