private void button3_Click(object sender, EventArgs e) { teor2 teor2 = new teor2(); teor2.Show(); this.Close(); }
private void button1_Click(object sender, EventArgs e) { switch (podzadacha) { case "1": Fenomen2 fenomen2 = new Fenomen2(); fenomen2.Show(); this.Close(); break; case "2": teor2 teor2 = new teor2(); teor2.Show(); this.Close(); break; case "3": DPO2 DPO2 = new DPO2(); DPO2.Show(); this.Close(); break; case "4": DZ2_1 DZ2_1 = new DZ2_1(); DZ2_1.Show(); this.Close(); break; case "5": Meropriatiya2_1 meropriatiya2_1 = new Meropriatiya2_1(); meropriatiya2_1.Show(); this.Close(); break; case "6": katamnes2 katamnes2 = new katamnes2(); katamnes2.Show(); this.Close(); break; } }