private void btnExecLogin_Click(object sender, EventArgs e) { FrbaHotel.Login.Login levantarLogeo = new FrbaHotel.Login.Login(coneccion); this.Hide(); levantarLogeo.ShowDialog(); this.Show(); }
private void user_button_Click(object sender, EventArgs e) { FrbaHotel.Login.Login login = new FrbaHotel.Login.Login(); login.FormClosed += delegate(System.Object o, System.Windows.Forms.FormClosedEventArgs ee) { Show(); }; login.Show(); Hide(); }
private void btnLogin_Click(object sender, EventArgs e) { FrbaHotel.Login.Login login = new FrbaHotel.Login.Login(); login.ShowDialog(); if (login.DialogResult == DialogResult.OK) { DeshabilitarFuncionalidades(); HabilitarFuncionalidades(login.rolElegido); } }
private void btnExecLogin_Click(object sender, EventArgs e) { FrbaHotel.Login.Login levantarLogeo = new FrbaHotel.Login.Login(coneccion); this.Hide(); levantarLogeo.ShowDialog(); }