Beispiel #1
0
 private void cmdNuevoRol_Click(object sender, EventArgs e)
 {
     this.abmNuevoRol = new AltaRol(this);
     abmNuevoRol.CargarRol("", 0);
     abmNuevoRol.Show();
     this.Hide();
 }
Beispiel #2
0
 private void cmdModificar_Click(object sender, EventArgs e)
 {
     this.abmNuevoRol = new AltaRol(this);
     abmNuevoRol.CargarRol(cboRoles.Text, _idRolSeleccionado);
     abmNuevoRol.Show();
     this.Hide();
 }
Beispiel #3
0
 private void button2_Click(object sender, EventArgs e)
 {
     using (Form formularioAlta = new AltaRol())
     {
         this.Hide();
         formularioAlta.ShowDialog();
         this.Show();
     }
 }