Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Show() method
Message
 
À
19/12/2003 16:50:12
Gerald Caussade
Department Mental Health - Missouri
Farmington, Missouri, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Divers
Thread ID:
00860826
Message ID:
00860885
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform