Hi
I'm looking to force my application to shut down, and return an Exit code. Had a look on MSDN and I can see that in WPF the Application has a Shutdown method which takes an error code as a parameter, but there doesn't appear to be one for System.Windows.Forms.Application.
I can see Application.Exit() but not a way to pass back an error code.
Does anyone know off-hand if this is possible?
Thanks