Inheritance: EditorObjects.EditorWindow
Esempio n. 1
0
        public GameForm()
            : base()
        {
            sGameForm = this;

            // Don't give it a ShapeCollection to edit - make it null.
            EditorData.Initialize(null);
            GuiData.Initialize();
            sGameForm.Text = "PolygonEditor - untitled file";

            this.DragEnter += new System.Windows.Forms.DragEventHandler(this.GameForm_DragDrop);
        }
Esempio n. 2
0
        public GameForm()
            : base()
        {
            sGameForm = this;

            // Don't give it a ShapeCollection to edit - make it null.
            EditorData.Initialize(null);
            GuiData.Initialize();
            sGameForm.Text = "PolygonEditor - untitled file";

            this.DragEnter += new System.Windows.Forms.DragEventHandler(this.GameForm_DragDrop);

        }
Esempio n. 3
0
        static void Main(string[] args)
        {
            using (GameForm gameForm = new GameForm())
            {
                //try
                //{
                    gameForm.Run(args);
                //}
                //catch (Exception e)
                //{
                //    System.Windows.Forms.MessageBox.Show("Error:\n" + e.ToString());
                //}

            }

        }