Exemple #1
0
 private void shutDown()
 {
     if (!shuttingDown)
     {
         shuttingDown = true;
         timer.Delete();
         controller.Cancel();
         Properties.Settings.Default.ScreenBounds = this.Bounds;
         Properties.Settings.Default.FullScreen   = this.FormBorderStyle == System.Windows.Forms.FormBorderStyle.None;
         Properties.Settings.Default.Save();
         Application.Exit();
     }
 }