Beispiel #1
0
 public FrmCheckQueryControl(IFrmCheckQuery frmCheckQuery)
 {
     _frmCheckQuery = frmCheckQuery;
     _drugInfo      = YP_Loader.LoadUseDrug();
     _drugDeptList  = YP_Loader.GetAllDrugDept();
     _frmCheckQuery.RefreshDrugInfo(_drugInfo);
 }
Beispiel #2
0
 private void GetAllDrugDept()
 {
     try
     {
         List <YP_DeptDic> listDept = YP_Loader.GetAllDrugDept();
         foreach (YP_DeptDic dept in listDept)
         {
             QueryStoreDept queryDept = new QueryStoreDept();
             queryDept.DeptDic = dept;
             _listDeptStore.Add(queryDept);
         }
     }
     catch (Exception error)
     {
         throw error;
     }
 }