示例#1
0
 private void UpdateRole()
 {
     if (this.gridRoleList.ActiveRow != null)
     {
         frmRoleEdit frm = new frmRoleEdit();
         frm.RoleId = this.gridRoleList.ActiveRow.Cells["ROLEID"].Value.ToString();
         frm.ShowDialog(this);
         ShowRoleList();
     }
 }
示例#2
0
 private void NewRole()
 {
     frmRoleEdit frm = new frmRoleEdit();
     frm.ShowDialog(this);
     ShowRoleList();
 }