dvplayltd
asked on
Terminate Windows Form app with C#
Hi experts!
I have project with C# , WindowsForms and Framework 2.0 with VS2008. Is there command in C# witch terminate application and let Windows to clear used resources? I need this in client server app and if I detect droped of connection via Interenet I need to close application. And I dont have easy way to close all my form and objects in all code, that is why I need commad like End in VB6.
I have project with C# , WindowsForms and Framework 2.0 with VS2008. Is there command in C# witch terminate application and let Windows to clear used resources? I need this in client server app and if I detect droped of connection via Interenet I need to close application. And I dont have easy way to close all my form and objects in all code, that is why I need commad like End in VB6.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Prehaps 'Application.exit' is what your after