private void button7_Click(object sender, EventArgs e) { if (txtcontraseña1.Text == "12345") { this.Hide(); Form3 ventana3 = new Form3(); ventana3.ShowDialog(); this.Show(); } else { MessageBox.Show("Requiere de permisos de DBM para ingresar a la sig. ventana", "Error"); } }
private void button7_Click(object sender, EventArgs e) { this.Hide(); Form3 ventana3 = new Form3(); ventana3.ShowDialog(); this.Show(); }