Example #1
0
        private void agregarRolToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Controls.Clear();
            this.Controls.Add(this.menuStrip1);

            UserControlAgregarRol = new FrbaHotel.ABM_de_Rol.UserControl_Rol(this);
            this.Controls.Add(UserControlAgregarRol);
            UserControlAgregarRol.Location = new System.Drawing.Point(0, 20);
            UserControlAgregarRol.Name     = "UserControlAgregarRol";
        }
Example #2
0
        private void agregarRolToolStripMenuItem_Click(object sender, EventArgs e)
        {
            this.Controls.Clear();
            this.Controls.Add(this.menuStrip1);

            UserControlAgregarRol = new FrbaHotel.ABM_de_Rol.UserControl_Rol(this);
            this.Controls.Add(UserControlAgregarRol);
            UserControlAgregarRol.Location = new System.Drawing.Point(0, 20);
            UserControlAgregarRol.Name = "UserControlAgregarRol";
        }
Example #3
0
        public void Modificar_Rol(int idRol)
        {
            this.Controls.Clear();
            this.Controls.Add(this.menuStrip1);

            UserControlAgregarRol = new FrbaHotel.ABM_de_Rol.UserControl_Rol(this);
            this.Controls.Add(UserControlAgregarRol);
            UserControlAgregarRol.Location = new System.Drawing.Point(0, 20);
            UserControlAgregarRol.Name     = "UserControlAgregarRol";

            UserControlAgregarRol.Cargar_Rol(idRol);
        }
Example #4
0
        public void Modificar_Rol(int idRol)
        {
            this.Controls.Clear();
            this.Controls.Add(this.menuStrip1);

            UserControlAgregarRol = new FrbaHotel.ABM_de_Rol.UserControl_Rol(this);
            this.Controls.Add(UserControlAgregarRol);
            UserControlAgregarRol.Location = new System.Drawing.Point(0, 20);
            UserControlAgregarRol.Name = "UserControlAgregarRol";

            UserControlAgregarRol.Cargar_Rol(idRol);

        }