Beispiel #1
0
        private void MapEditor_Shown(object sender, EventArgs e)
        {
            Hide();
            var startForm = new StartForm();

            startForm.ShowDialog();
        }
Beispiel #2
0
        static void Main()
        {
            SFML.CSFML.Activate();
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            var startForm = new StartForm();

            startForm.ShowDialog();
            while (startForm.Visible)
            {
                Application.DoEvents();
            }

            startForm.Close();
            Application.Run(MapEditor.Instance);
        }