private void MapEditor_Shown(object sender, EventArgs e) { Hide(); var startForm = new StartForm(); startForm.ShowDialog(); }
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); }