Ejemplo n.º 1
0
 public void InitData(string frmName)
 {
     if (frmName == "FrmDrugDic")
     {
         frmDrugDic.LoadPharms(dtPharm);
         frmDrugDic.LoadDrugTypeForTb(dtDrugTypeForTb);
         frmDrugDic.LoadDrugCType(dtDrugCType);
         frmDrugDic.LoadStat(dtState);
         frmDrugDic.LoadCommUnit(dtUnit);
         frmDrugDic.LoadAnt(dtAnt);
         frmDrugDic.LoadDosage(dtDosage);
     }
 }
Ejemplo n.º 2
0
        /// <summary>
        /// 异步加载数据函数
        /// </summary>
        public override void AsynInitCompleted()
        {
            frmDrugDic.LoadDrugType(dtDrugType);

            frmHisDrugDic.LoadPharms(dtPharm);
            frmHisDrugDic.LoadDrugType(dtDrugType);
            frmHisDrugDic.LoadDrugTypeForTb(dtDrugTypeForTb);

            frmHisDrugDic.LoadDrugCType(dtDrugCType);
            frmHisDrugDic.LoadStat(dtState);
            frmHisDrugDic.LoadCommUnit(dtUnit);

            frmHisDrugDic.LoadAnt(dtAnt);
            frmHisDrugDic.LoadDosage(dtDosage);
            frmHisDrugDic.LoadProduct(dtProduct);
            frmHisDrugDic.LoadMedicare(dtMediCare);
        }