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(); } }