Exemplo n.º 1
0
 private void FrmCheckApply_FormClosing(object sender, FormClosingEventArgs e)
 {
     try
     {
         if (Controller.ConnectPacs())
         {
             hyFreeHinstance();
         }
     }
     catch
     {
     }
 }
Exemplo n.º 2
0
 public FrmCheckApply(HIS.Model.ZY_PatList _patlist, long userid, long deptid)
 {
     InitializeComponent();
     _currentUser = new User(userid);
     _currentDept = new Deptment(deptid);
     _zypatlist   = _patlist;
     Controller   = new HIS_ZYDocManager.Action.FrmMediApplyController(this, HIS.ZYDoc_BLL.MediApply.MediType.检查);
     Controller.GetPatlist();
     place = Controller.GetCheckPlace();
     if (Controller.ConnectPacs())
     {
         try
         {
             hyInitHinstance(this.Handle);
         }
         catch
         {
         }
     }
 }