private void btnNew_Click(object sender, EventArgs e) { //create new number of nights form frmNumberNightsPrompt prompt = new frmNumberNightsPrompt(); //hide this form this.Visible = false; //display that form prompt.Show(); }
private void newShow() { //prompt for changes changes(); //set to night 1 updateNight(1); //create prompt for new show frmNumberNightsPrompt newNumNights = new frmNumberNightsPrompt(this); //disalbe this form this.Enabled = false; //display new prompt newNumNights.Show(); }