Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return either dataset or integer from function
Message
From
27/04/2004 10:04:43
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00892206
Message ID:
00898513
Views:
24
Simon,

I couldn't get it to work with a try/catch exception, but there may some trick to it that Cathi knows that I don't. What seems to work ok is to just issue a this.Close() in the Form's Load() eventhandler.

After more thought, perhaps Cathi was talking about throwing an exception when you find form-closing problems and then issuing a this.Close() in the catch.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Reply
Map
View

Click here to load this message in the networking platform