Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form position in IDE
Message
From
04/11/2005 13:36:41
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01065393
Message ID:
01065551
Views:
25
Pete,

In addition to Neil's suggestion, I think you can also put the code in the Form's Load() event without using the DesignMode test.

~~Bonnie

>Hello all, I have a class attached to my base form class ( in the constructor ) which records and restores the form's position , this works very well at runtime, however !!!!, when I open any form that utilises this class in the IDE, the "PositionForm" class is firing and obviously the form's position in the IDE is wherever the form last was at runtime, this is unwanted behaviour, anyone know a workaround ?
Bonnie Berent DeWitt
NET/C# MVP since 2003

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

Click here to load this message in the networking platform