M
moondaddy
I have a user control which executes code in the class constructor. The
problem is that when I open the control in the VS 2008 designer this code
executes and causes exceptions because the app isn't actually running. How
can I determine if the class is being initialized in the designer so I can
exit the constructor after the call to the InitializeComponent() method?
Thanks.
problem is that when I open the control in the VS 2008 designer this code
executes and causes exceptions because the app isn't actually running. How
can I determine if the class is being initialized in the designer so I can
exit the constructor after the call to the InitializeComponent() method?
Thanks.