Exemple #1
0
        private void btnRoleUsers_Click(object sender, EventArgs e)
        {
            var dataRow = BasePageLogic.GetDataGridViewEntity(this.dgvRole);

            if (dataRow == null)
            {
                return;
            }

            string roleId           = dataRow[PiRoleTable.FieldId].ToString();
            string roleRealName     = dataRow[PiRoleTable.FieldRealName].ToString();
            var    frmRoleUserAdmin = new FrmRoleUserAdmin(roleId, roleRealName);

            frmRoleUserAdmin.ShowDialog(this);
        }
Exemple #2
0
        private void btnUsers_Click(object sender, EventArgs e)
        {
            var frmRoleUserAdmin = new FrmRoleUserAdmin(this.TargetRoleId, this.TargetRoleRealName);

            frmRoleUserAdmin.ShowDialog(this);
        }