Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show() method
Message
 
To
19/12/2003 16:50:12
Gerald Caussade
Department Mental Health - Missouri
Farmington, Missouri, United States
General information
Forum:
ASP.NET
Category:
Other
Title:
Miscellaneous
Thread ID:
00860826
Message ID:
00860885
Views:
17
When you close the form, it gets disposed. The variable is still pointing to the object, you just can't use it since it is marked for gc (something like that, close enough right?)
Try this:
if (ft == null || ft.IsDisposed) 
{ 
  ft = new FormTypes(this); 
} 
ft.Show(); 
>The .show() giving a null error message has mysteriously quit happening.
>
>But, I still don't know why I'm getting the dispose error in the other cases
Bill Mittenzwey
Previous
Reply
Map
View

Click here to load this message in the networking platform