private void frmCallOutStorageBill_Shown(object sender, EventArgs e) { clsDcl_InMedicineWithdraw objDomain = new clsDcl_InMedicineWithdraw(); //调用Com+服务端 m_dtbMedicinDict = null; long lngRes = objDomain.m_lngGetBaseMedicine("", StorageID, out m_dtbMedicinDict); }
private void frmOutStorageBillFind_MedicineInnerWithdraw_Load(object sender, EventArgs e) { clsDcl_InMedicineWithdraw objDomain = new clsDcl_InMedicineWithdraw(); //调用Com+服务端 m_dtbMedicinDict = null; long lngRes = objDomain.m_lngGetBaseMedicine("", m_strStorageID, out m_dtbMedicinDict); }
/// <summary> /// 窗体的Shown事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void frmInStorageMedicineInnerWithdraw_Shown(object sender, EventArgs e) { clsDcl_InMedicineWithdraw objDomain = new clsDcl_InMedicineWithdraw(); //初始化药品字典 long lngRes = objDomain.m_lngGetBaseMedicine("", m_strStorageID, out m_dtbMedicinDict); if (m_ctlQueryMedicint == null) { m_ctlQueryMedicint = new ctlQueryMedicintLeastElement(this.m_dtbMedicinDict); this.Controls.Add(m_ctlQueryMedicint); } m_ctlQueryMedicint.Visible = false; m_ctlQueryMedicint.ReturnInfo += new ReturnMedicineInfo(m_mthReturnInfo); m_ctlQueryMedicint.CancelResult += new MecicineCancelAndReturn(m_mthCanelSelect); m_ctlQueryMedicint.BringToFront(); m_mthQueryMedicineWithdrawData(); }