Esempio n. 1
0
        //xtraTabPageMedicine

        public IPlugIn Run(FrameWork.WinForm.Plugin.IEmrHost host)
        {
            IPlugIn plg = new PlugIn(this.GetType().ToString(), this);

            m_app = host;

            return(plg);
        }
Esempio n. 2
0
        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");
        }
Esempio n. 3
0
        /// <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);
        }
Esempio n. 4
0
 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;
     }
 }
Esempio n. 5
0
 public IPlugIn Run(FrameWork.WinForm.Plugin.IEmrHost host)
 {
     throw new NotImplementedException();
 }