//xtraTabPageMedicine public IPlugIn Run(FrameWork.WinForm.Plugin.IEmrHost host) { IPlugIn plg = new PlugIn(this.GetType().ToString(), this); m_app = host; return(plg); }
public ReportStatistic(FrameWork.WinForm.Plugin.IEmrHost m_Host) { // TODO: Complete member initialization InitializeComponent(); m_App = m_Host; //xmlOperate = XmlOperate.GetInstance(); xmlOperate = new XmlOperate(AppDomain.CurrentDomain.BaseDirectory + "Report.xml"); }
/// <summary> /// 实现插件接口部分 /// </summary> /// <param name="host"></param> /// <returns></returns> public IPlugIn Run(FrameWork.WinForm.Plugin.IEmrHost host) { PlugIn plg = new PlugIn(this.GetType().ToString(), this); plg.PatientChanging += new PatientChangingHandler(plg_PatientChanging); plg.PatientChanged += new PatientChangedHandler(plg_PatientChanged); m_app = host; m_RecordDal = new RecordDal(m_app.SqlHelper); m_UcMainNurse.SetInnerVar(m_app, m_RecordDal); m_UcMainNurse.CurrentPat = m_app.CurrentPatientInfo; return(plg); }
public IPlugIn Run(FrameWork.WinForm.Plugin.IEmrHost host) { try { PlugIn plg = new PlugIn(this.GetType().ToString(), this); m_app = host; return(plg); } catch (Exception ex) { throw ex; } }
public IPlugIn Run(FrameWork.WinForm.Plugin.IEmrHost host) { throw new NotImplementedException(); }