private void button1_Click(object sender, EventArgs e) { this.Hide(); Formmenu m = new Formmenu(); m.Show(); }
private void btn_regresar_Click(object sender, EventArgs e) { this.Hide(); Formmenu m = new Formmenu(); m.Show(); }
private void btn_login_Click(object sender, EventArgs e) { if ((txt_usuario.Text == "pedro") && (txt_password.Text == "12345")) { MessageBox.Show("bienvenido"); this.Hide(); Formmenu m = new Formmenu(); m.Show(); } }