Esempio n. 1
0
 /// <summary>
 ///     Closes the program.
 /// </summary>
 private static void Close()
 {
     ExitHandler.OnQuit();
 }
Esempio n. 2
0
 /// <summary>
 ///     Initializes this instance.
 /// </summary>
 internal static void Initialize()
 {
     ExitHandler._exitHandler += ExitHandler.OnQuit;
     ExitHandler.SetConsoleCtrlHandler(ExitHandler._exitHandler, true);
     ExitHandler.DeleteMenu(ExitHandler.GetSystemMenu(ExitHandler.GetConsoleWindow(), false), 0xF060, 0);
 }