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); } }
/// <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); }