public menuForm() { InitializeComponent(); this.newAirplaneForm = new newAirplaneForm(); this.editAirplaneForm = new editAirplaneForm(); this.controllerAirplaneForm = new controllerAirplaneForm(); this.statsForm = new statsForm(); }
private void button_newAirplane_Click(object sender, EventArgs e) { this.newAirplaneForm.Dispose(); this.newAirplaneForm = new newAirplaneForm(this.game); this.newAirplaneForm.Show(); }