Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo boxes
Message
From
12/03/2004 11:51:56
 
 
To
12/03/2004 11:00:34
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
ASP.NET
Category:
Forms
Title:
Miscellaneous
Thread ID:
00881586
Message ID:
00885654
Views:
26
Jim,

I haven't used this in practice, but I just now played around with it. There's a form property called ClientSize, which sets or gets the client area of a form. Simply by setting that property, you can change the form's size (it will also call the form's Resize event, which you can handle if you need to move other controls when the form is resized).

I put a button on the form and in the button's click event handler, I simply put this code:
this.ClientSize = new System.Drawing.Size(400, 300);
~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform