actually, if that's an MDI application and suppose some exception or you want to quit
so you can use
Environment.Exit(0);
also![]()
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 5 of 5
Thread: closing .NET form?Threaded View
|
Click Here to Expand Forum to Full Width |