Пример #1
0
        private void button5_Click(object sender, EventArgs e)
        {
            Gestion1 gs = new Gestion1();

            gs.Show();
            this.Hide();
        }
Пример #2
0
        private void button2_Click(object sender, EventArgs e)
        {
            Gestion1 form = new Gestion1();

            form.Show();
            this.Close();
        }
Пример #3
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (textBox1.Text == "admin" && textBox2.Text == "admin")
     {
         Gestion1 gs = new Gestion1();
         gs.Show();
         this.Hide();
     }
 }