static void Main()
 {
     MSVData.InitDefaultValues();
     Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);
     Application.EnableVisualStyles();
     Application.SetCompatibleTextRenderingDefault(false);
     Application.Run(new MainForm());
 }
Esempio n. 2
0
 /// <summary>
 /// Exits the application.
 /// TODO: saves data?
 /// </summary>
 private void CloseApplication()
 {
     MSVData.Destroy();
     Debug.Print("Exiting application @ {0}", DateTime.Now.ToString());
     Application.Exit();
 }