public enum ShutdownModePublic Enumeration ShutdownModetype ShutdownMode| OnLastWindowClose | 0 | Indicates an implicit call to Application.Shutdown when the last window closes. |
| OnMainWindowClose | 1 | Indicates an implicit call to Application.Shutdown when the main window closes. |
| OnExplicitShutdown | 2 | Indicates that the application only exits on an explicit call to Application.Shutdown. |