Exemplo n.º 1
0
 private void EmployeeDetails_ToolStrip_Click(object sender, EventArgs e)
 {
     if (clsFormRights.HasFormRight(clsFormRights.Forms.Employee_Details) || clsUtility.IsAdmin)
     {
         bool b = ObjUtil.IsAlreadyOpen(typeof(Masters.Employee_Details));
         if (!b)
         {
             Masters.Employee_Details Obj = new Masters.Employee_Details();
             Obj.Show();
         }
     }
     else
     {
         clsUtility.ShowInfoMessage("You have no rights to perform this task", clsUtility.strProjectTitle);
     }
 }