Ejemplo n.º 1
0
 private void button2_Click(object sender, EventArgs e)
 {
     Form11 Gra44;
     Gra44 = new Form11(this);
     Gra44.Show();
     Visible = false;
 }
        private void button1_Click(object sender, EventArgs e)
        {
            string user = textBox1.Text;

            if (user == "")
            {
                MessageBox.Show("Veuillez remplir le champs vide ");
                return;
            }
            bool r = checklogin(user);

            if (r)
            {
                this.Hide();
                Form11 f11 = new Form11();
                f11.Show();
            }
            else
            {
                MessageBox.Show("Vérifiez votre identifiant");
            }
        }
 private void button1_Click_1(object sender, EventArgs e)
 {
     if (radioButton1.Checked)
     {
         this.Hide();
         Form9 m = new Form9();
         m.Show();
     }
     else if (radioButton2.Checked)
     {
         this.Hide();
         Form10 m = new Form10();
         m.Show();
     }
     else if (radioButton3.Checked)
     {
         this.Hide();
         Form11 m = new Form11();
         m.Show();
     }
     else if (radioButton4.Checked)
     {
         this.Hide();
         Form12 m = new Form12();
         m.Show();
     }
     else if (radioButton5.Checked)
     {
         this.Hide();
         Form13 m = new Form13();
         m.Show();
     }
     else
     {
         MessageBox.Show("Please choose one of buttons!");
     }
 }
Ejemplo n.º 4
0
        private void button20_Click_1(object sender, EventArgs e)
        {
            Form11 f11 = new Form11();

            f11.Show();
        }
Ejemplo n.º 5
0
 private void showToolStripMenuItem3_Click(object sender, EventArgs e)
 {
     Form11 objektForm11 = new Form11();
       objektForm11.Show();
 }
Ejemplo n.º 6
0
        private void button6_Click_1(object sender, EventArgs e)
        {
            Form11 yeni = new Form11();

            yeni.Show();
        }
Ejemplo n.º 7
0
        private void предприятияToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Form f10 = new Form11();

            f10.Show();
        }
Ejemplo n.º 8
0
        private void button7_xClick(object sender, EventArgs e)
        {
            Form11 frm = new Form11();

            frm.Show();
        }
Ejemplo n.º 9
0
 private void pictureBox1_Click(object sender, EventArgs e)
 {
     Form nfm = new Form11();
     this.Hide();
     if (nfm.ShowDialog() == DialogResult.Cancel)
     {
         this.Show();
     }
 }
Ejemplo n.º 10
0
        public void Afisare_Forma(string Text_Forma, Form frn, string Close_or_Hide)
        {
            Form f = new Form();

            switch (Text_Forma)
            {
            case "MENIU": f = new Form1(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "LECTII": f = new Form2(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA INTRODUCERE1":
                f = new Form3(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA INTRODUCERE2":
                f = new Form4(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA INTRODUCERE3":
                f = new Form5(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA CAZURI1":
                f = new Form6(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA CAZURI2":
                f = new Form7(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA CAZURI3":
                f = new Form8(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA CAZURI4":
                f = new Form9(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA CAZURI5":
                f = new Form10(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA CAZURI6":
                f = new Form11(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "CONGRUENTA DREPTUNGHICE":
                f = new Form12(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "TESTE":
                f = new Form16(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "TEST USOR":
                f = new Test_Usor_Pagina_1(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "TEST MEDIU":
                f = new Test_Mediu(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;

            case "TEST GREU":
                f = new Test_Greu(); f.Show();
                Verifica_daca_Close_sau_Hide(Close_or_Hide, frn);
                break;
            }
        }