Exemplo n.º 1
0
        public void Edit()
        {
            DataRow dataRow = BaseInterfaceLogic.GetDataGridViewEntity(this.grdRole);

            if (dataRow != null)
            {
                //FrmRoleEdit frmRoleEdit = new FrmRoleEdit(dataRow);
                FrmRoleWithUserEdit frmRoleWithUserEdit = new FrmRoleWithUserEdit(dataRow);
                if (frmRoleWithUserEdit.ShowDialog(this) == DialogResult.OK)
                {
                    // this.grdRole.Refresh();
                    this.FormOnLoad(false);
                }
            }
        }
Exemplo n.º 2
0
 public void Edit()
 {
     DataRow dataRow = BaseInterfaceLogic.GetDataGridViewEntity(this.grdRole);
     if (dataRow != null)
     {
         //FrmRoleEdit frmRoleEdit = new FrmRoleEdit(dataRow);
         FrmRoleWithUserEdit frmRoleWithUserEdit = new FrmRoleWithUserEdit(dataRow);
         if (frmRoleWithUserEdit.ShowDialog(this) == DialogResult.OK)
         {
             // this.grdRole.Refresh();
             this.FormOnLoad(false);
         }
     }
 }