Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Close Form in Load
Message
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
VB.NET 1.1
OS:
Windows XP SP1
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01011660
Message ID:
01011971
Views:
17
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform