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