Guest Paul [MVP] Posted September 2, 2003 Report Posted September 2, 2003 The 'end' command does not seem to be supported in .NET CF for SmartPhone... So would I be right in saying that, in line with the Microsoft Logo Certification guidelines, you cannot 'quit' an application? P
Guest Paul [MVP] Posted September 2, 2003 Report Posted September 2, 2003 OK, it's sad to answer your own question, but the function is: Application.Exit(); :) P
Guest NeilC_MVP Posted September 2, 2003 Report Posted September 2, 2003 There's nothing like solving your own problems!
Guest joelj Posted December 12, 2003 Report Posted December 12, 2003 I think you need to do a this.Close(); from the open form. When the last form is closed the app dies. Application.Exit() isn't great - it can bypass a bit of garbage collection. hth joel
Guest ultimasnake Posted December 24, 2003 Report Posted December 24, 2003 this.dispose and then application.exit and maybe GC.collect before even the close... that is one of the best ways.. End doesnt exist in .net anymore (not even the full .net library)
Guest NeilC_MVP Posted December 28, 2003 Report Posted December 28, 2003 As a best practice, it is not advisable to call GC.Collect() since the GC is asynchronous and may well be in the middle of a clean-up cycle when you call GC.Collect().
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now