Ejemplo n.º 1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Zadacha8 zadacha8 = new Zadacha8();

            zadacha8.Show();
            this.Close();
        }
Ejemplo n.º 2
0
        private void button1_Click(object sender, EventArgs e)
        {
            switch (zadacha)
            {
            case "1":
                Zadacha1 zadacha1 = new Zadacha1();
                zadacha1.Show();
                this.Close();
                break;

            case "2":
                Zadacha2 zadacha2 = new Zadacha2();
                zadacha2.Show();
                this.Close();
                break;

            case "3":
                Zadacha3 zadacha3 = new Zadacha3();
                zadacha3.Show();
                this.Close();
                break;

            case "4":
                Zadacha4 zadacha4 = new Zadacha4();
                zadacha4.Show();
                this.Close();
                break;

            case "5":
                Zadacha5 zadacha5 = new Zadacha5();
                zadacha5.Show();
                this.Close();
                break;

            case "6":
                Zadacha6 zadacha6 = new Zadacha6();
                zadacha6.Show();
                this.Close();
                break;

            case "7":
                Zadacha7 zadacha7 = new Zadacha7();
                zadacha7.Show();
                this.Close();
                break;

            case "8":
                Zadacha8 zadacha8 = new Zadacha8();
                zadacha8.Show();
                this.Close();
                break;

            case "9":
                Zadacha9 zadacha9 = new Zadacha9();
                zadacha9.Show();
                this.Close();
                break;

            case "10":
                Zadacha10 zadacha10 = new Zadacha10();
                zadacha10.Show();
                this.Close();
                break;

            case "11":
                Zadacha11 zadacha11 = new Zadacha11();
                zadacha11.Show();
                this.Close();
                break;

            case "12":
                Zadacha12 zadacha12 = new Zadacha12();
                zadacha12.Show();
                this.Close();
                break;

            case "13":
                Zadacha13 zadacha13 = new Zadacha13();
                zadacha13.Show();
                this.Close();
                break;

            case "14":
                Zadacha14 zadacha14 = new Zadacha14();
                zadacha14.Show();
                this.Close();
                break;

            case "15":
                Zadacha15 zadacha15 = new Zadacha15();
                zadacha15.Show();
                this.Close();
                break;

            case "16":
                Zadacha16 zadacha16 = new Zadacha16();
                zadacha16.Show();
                this.Close();
                break;
            }
        }