Inheritance: EditorObjects.EditorWindow
Esempio n. 1
0
        public void ExitOk(Window callingWindow)
        {
#if FRB_XNA
            FlatRedBallServices.Game.Exit();
#else
            GameForm.Exit(form);
#endif
        }
Esempio n. 2
0
		public static void Exit(GameForm form)
		{
			System.Windows.Forms.Cursor.Show();		
			form.Dispose(); 

		}
Esempio n. 3
0
        static void Main(string[] args)
		{
            //try
            {
                GameForm frm = new GameForm();
                if (frm.IsDisposed)
                    return;

                frm.Run(args);
            }
            //catch (Exception e)
            //{
            //    string error = e.ToString();

            //    if (e.InnerException != null)
            //    {
            //        error += "\n\n";

            //        error += e.InnerException.ToString();
            //    }
            //    System.Windows.Forms.MessageBox.Show(error);
            //}
		}
Esempio n. 4
0
 public static void Exit(GameForm form)
 {
     System.Windows.Forms.Cursor.Show();
     form.Dispose();
 }