コード例 #1
0
 public SearchRol(Rol_Form sender)
 {
     InitializeComponent();
     FormularioRol         = sender;
     FormularioRol.Visible = false;
     this.Visible          = true;
     Flag_deletion         = false;
 }
コード例 #2
0
ファイル: SearchRol.cs プロジェクト: ccantero/gdatos_EnerLand
 public SearchRol(Rol_Form sender)
 {
     InitializeComponent();
     FormularioRol = sender;
     FormularioRol.Visible = false;
     this.Visible = true;
     Flag_deletion = false;
 }
コード例 #3
0
ファイル: SearchRol.cs プロジェクト: ccantero/gdatos_EnerLand
 public SearchRol(Rol_Form sender, bool FormDeletion)
 {
     InitializeComponent();
     FormularioRol = sender;
     FormularioRol.Visible = false;
     this.Visible = true;
     this.Text = "Eliminar Rol";
     Flag_deletion = true;
 }
コード例 #4
0
 public SearchRol(Rol_Form sender, bool FormDeletion)
 {
     InitializeComponent();
     FormularioRol         = sender;
     FormularioRol.Visible = false;
     this.Visible          = true;
     this.Text             = "Eliminar Rol";
     Flag_deletion         = true;
 }
コード例 #5
0
ファイル: AddModRol.cs プロジェクト: ccantero/gdatos_EnerLand
        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;
        }
コード例 #6
0
        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;
        }
コード例 #7
0
ファイル: AddModRol.cs プロジェクト: ccantero/gdatos_EnerLand
        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);
        }
コード例 #8
0
        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);
        }
コード例 #9
0
 private void rolToolStripMenuItem_Click(object sender, EventArgs e)
 {   
     // ID Funcionalidad 1
     Rol_Form abmRol = new Rol_Form(this);
 }