private void compiler_choice_Click(object sender, EventArgs e) { compiler_choice frm = new compiler_choice(textBox1.Text); frm.Show(); this.Close(); }
//next screen private void button1_Click(object sender, EventArgs e) { //this.Hide(); compiler_choice frm = new compiler_choice(textBox1.Text); frm.Show(); this.Close(); }
//next screen private void button1_Click(object sender, EventArgs e) { //this.Hide(); //quick start if (zccvariables.mainMenuChoice == 1) { quick_start frm = new quick_start(textBox1.Text); frm.Show(); this.Close(); } //wizard if (zccvariables.mainMenuChoice == 2) { compiler_choice frm = new compiler_choice(textBox1.Text); frm.Show(); this.Close(); } //list wizard if (zccvariables.mainMenuChoice == 3) { //Form1 frm = (Form1)Application.OpenForms["Form1"]; //List_wizard(textBox1.Text); //List_wizard frm = (List_wizard)Application.OpenForms["List_wizard"]; //frm.Show(); //List_wizard zccvariables.choosenTarget = true; List_wizard frm = new List_wizard(textBox1.Text); frm.Show(); this.Close(); } }