Пример #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (usuario.Text == "Kenming" && password.Text == "gato")
     {
         MainAdm forma = new MainAdm(usuario.Text);
         this.Hide();
         forma.Show();
     }
 }
Пример #2
0
 private void button1_Click(object sender, EventArgs e)
 {
     if (usuario.Text == "Kenming" && password.Text == "gato")
     {
         MainAdm forma = new MainAdm(usuario.Text);
         this.Hide();
         forma.Show();
     }
 }