コード例 #1
0
 private void AddUser()
 {
     try
     {
         Forms.frmSetUserGroup f = new Forms.frmSetUserGroup(new Neusoft.HISFC.Models.Base.Employee());
         f.CheckLogName += new Neusoft.HISFC.Components.Manager.Forms.frmSetUserGroup.CheckLogNameHandler(f_CheckLogName);
         f.ShowDialog();
         this.RefreshUserList();
     }
     catch (Exception ee)
     {
         MessageBox.Show(ee.Message);
     }
 }
コード例 #2
0
 private void ModifyUser()
 {
     try
     {
         Neusoft.HISFC.Models.Base.Employee obj = GetPersonInfo();
         if (obj == null)
         {
             return;
         }
         Forms.frmSetUserGroup f = new Forms.frmSetUserGroup(obj);
         f.ShowDialog();
         this.RefreshUserList();
     }
     catch (Exception ee)
     {
         MessageBox.Show(ee.Message);
     }
 }