Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Close Form in Load
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01011660
Message ID:
01011971
Vues:
19
Dawa,
What is the reason you want to abort the loading of the form?
Could you move the code that determines if the form should load before the form is even initialized?
if (itIsOkToLoadTheForm)
{
  MyForm oMyForm = new MyForm();
  oMyForm.Show();
}
else
{
  MessageBox.Show("I don't want to show you the form");
}
Maybe I don't fully understand the problem.

Einar
Semper ubi sub ubi.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform