示例#1
0
        private void button3_Click(object sender, EventArgs e)
        {
            Zadacha4 zadacha4 = new Zadacha4();

            zadacha4.Show();
            this.Close();
        }
示例#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;
            }
        }
示例#3
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == false) &&
                (checkBox3.Checked == true) &&
                (checkBox4.Checked == false) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == false) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == false) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox19.Checked == false) &&
                (checkBox20.Checked == true) &&
                (checkBox21.Checked == false) &&
                (checkBox22.Checked == true) &&
                (checkBox28.Checked == false) &&
                (checkBox29.Checked == false) &&
                (checkBox30.Checked == false) &&
                (checkBox31.Checked == false) &&
                (checkBox27.Checked == false) &&
                (checkBox33.Checked == false) &&
                (checkBox32.Checked == false)
                )
            {
                Program.zakl4OTV = 1;
            }
            if (
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == false) &&
                (checkBox3.Checked == false) &&
                (checkBox4.Checked == false) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == false) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == false) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox19.Checked == false) &&
                (checkBox20.Checked == true) &&
                (checkBox21.Checked == false) &&
                (checkBox22.Checked == true) &&
                (checkBox28.Checked == false) &&
                (checkBox29.Checked == false) &&
                (checkBox30.Checked == false) &&
                (checkBox31.Checked == false) &&
                (checkBox27.Checked == false) &&
                (checkBox33.Checked == false) &&
                (checkBox32.Checked == false)
                ||
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == false) &&
                (checkBox3.Checked == true) &&
                (checkBox4.Checked == false) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == false) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == false) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox19.Checked == false) &&
                (checkBox20.Checked == false) &&
                (checkBox21.Checked == false) &&
                (checkBox22.Checked == true) &&
                (checkBox28.Checked == false) &&
                (checkBox29.Checked == false) &&
                (checkBox30.Checked == false) &&
                (checkBox31.Checked == false) &&
                (checkBox27.Checked == false) &&
                (checkBox33.Checked == false) &&
                (checkBox32.Checked == false)
                ||
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == false) &&
                (checkBox3.Checked == true) &&
                (checkBox4.Checked == false) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == false) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == false) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox19.Checked == false) &&
                (checkBox20.Checked == true) &&
                (checkBox21.Checked == false) &&
                (checkBox22.Checked == false) &&
                (checkBox28.Checked == false) &&
                (checkBox29.Checked == false) &&
                (checkBox30.Checked == false) &&
                (checkBox31.Checked == false) &&
                (checkBox27.Checked == false) &&
                (checkBox33.Checked == false) &&
                (checkBox32.Checked == false)
                )
            {
                Program.zakl4OTV = 2;
            }
            Program.diagnoz4 = 1;
            Zadacha4 zadacha4 = new Zadacha4();

            zadacha4.Show();
            this.Close();
        }
示例#4
0
        private void button1_Click(object sender, EventArgs e)
        {
            if (
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == true) &&
                (checkBox3.Checked == false) &&
                (checkBox4.Checked == true) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == true) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == true) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox16.Checked == false) &&
                (checkBox17.Checked == true) &&
                (checkBox18.Checked == false)
                )
            {
                Program.fenom4OTV = 1;
            }
            if (
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == false) &&
                (checkBox3.Checked == false) &&
                (checkBox4.Checked == true) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == true) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == true) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox16.Checked == false) &&
                (checkBox17.Checked == true) &&
                (checkBox18.Checked == false)
                ||
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == true) &&
                (checkBox3.Checked == false) &&
                (checkBox4.Checked == false) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == true) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == true) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox16.Checked == false) &&
                (checkBox17.Checked == true) &&
                (checkBox18.Checked == false)
                ||
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == true) &&
                (checkBox3.Checked == false) &&
                (checkBox4.Checked == true) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == false) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == true) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox16.Checked == false) &&
                (checkBox17.Checked == true) &&
                (checkBox18.Checked == false)
                ||
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == true) &&
                (checkBox3.Checked == false) &&
                (checkBox4.Checked == true) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == true) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == false) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox16.Checked == false) &&
                (checkBox17.Checked == true) &&
                (checkBox18.Checked == false)
                ||
                (checkBox1.Checked == false) &&
                (checkBox2.Checked == true) &&
                (checkBox3.Checked == false) &&
                (checkBox4.Checked == true) &&
                (checkBox5.Checked == false) &&
                (checkBox6.Checked == false) &&
                (checkBox7.Checked == false) &&
                (checkBox8.Checked == true) &&
                (checkBox9.Checked == false) &&
                (checkBox10.Checked == false) &&
                (checkBox11.Checked == true) &&
                (checkBox12.Checked == false) &&
                (checkBox13.Checked == false) &&
                (checkBox14.Checked == false) &&
                (checkBox15.Checked == false) &&
                (checkBox16.Checked == false) &&
                (checkBox17.Checked == false) &&
                (checkBox18.Checked == false)
                )
            {
                Program.fenom4OTV = 2;
            }
            Zadacha4 zadacha4 = new Zadacha4();

            zadacha4.Show();
            this.Close();
        }