public Form1() { InitializeComponent(); ed = new EditStage(this); nel = new NewLevel(); nel.Main = this; ed.Main = this; }
// Make a new level private void button1_Click(object sender, EventArgs e) { // Bring up the new level window if(nel.IsDisposed == true) nel = new NewLevel(); nel.Show(); this.Hide(); }