public SearchRol(Rol_Form sender) { InitializeComponent(); FormularioRol = sender; FormularioRol.Visible = false; this.Visible = true; Flag_deletion = false; }
public SearchRol(Rol_Form sender, bool FormDeletion) { InitializeComponent(); FormularioRol = sender; FormularioRol.Visible = false; this.Visible = true; this.Text = "Eliminar Rol"; Flag_deletion = true; }
public AddModRol(Rol_Form sender, int id_Rol) // Redefinicion para el caso de Modificacion { InitializeComponent(); this.Visible = true; FormularioRol = sender; FormularioRol.Visible = false; Flag_Modification = true; this.Text = "ABM Roles - Modificar un Rol"; CargarRol(id_Rol); this.label_activo.Visible = true; this.box_checkActive.Visible = true; }
public AddModRol(Rol_Form sender) { InitializeComponent(); FormularioRol = sender; FormularioRol.Visible = false; this.Visible = true; Flag_Modification = false; this.label_activo.Visible = false; this.box_checkActive.Visible = false; this.CleanButton.Location = new System.Drawing.Point(12, 230); this.SaveButton.Location = new System.Drawing.Point(232, 230); this.ClientSize = new System.Drawing.Size(319, 265); }
private void rolToolStripMenuItem_Click(object sender, EventArgs e) { // ID Funcionalidad 1 Rol_Form abmRol = new Rol_Form(this); }