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

            m_host = host;
            return(plg);
        }
Beispiel #2
0
        public DrectSoft.FrameWork.IPlugIn Run(DrectSoft.FrameWork.WinForm.Plugin.IEmrHost host)
        {
            PlugIn plg = new PlugIn(this.GetType().ToString(), this);

            _app = host;
            m_DataAccessEmrly = host.SqlHelper;
            return(plg);
        }
Beispiel #3
0
        public IPlugIn Run(DrectSoft.FrameWork.WinForm.Plugin.IEmrHost host)
        {
            IPlugIn plg = new PlugIn(this.GetType().ToString(), this);

            m_app     = host;
            sqlHelper = host.SqlHelper;
            return(plg);
        }
Beispiel #4
0
        public IPlugIn Run(DrectSoft.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_UCEmrInput.SetInnerVar(m_app, m_RecordDal);
            m_UCEmrInput.CurrentInpatient = m_app.CurrentPatientInfo;
            return(plg);
        }
Beispiel #5
0
 public IPlugIn Run(DrectSoft.FrameWork.WinForm.Plugin.IEmrHost application)
 {
     try
     {
         if (application == null)
         {
             throw new ArgumentNullException("application");
         }
         CommonNoteConfig commonNoteConfig = new CommonNoteConfig(application);
         PlugIn           plg = new PlugIn(this.GetType().ToString(), commonNoteConfig);
         return(plg);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #6
0
 public IPlugIn Run(DrectSoft.FrameWork.WinForm.Plugin.IEmrHost host)
 {
     try
     {
         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_UCEmrInput.SetVarData(m_app);
         return(plg);
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Beispiel #7
0
        public IPlugIn Run(DrectSoft.FrameWork.WinForm.Plugin.IEmrHost application)
        {
            try
            {
                if (application == null)
                {
                    throw new ArgumentNullException("application");
                }

                DataElementConfig imageManager = new DataElementConfig(application);
                PlugIn            plg          = new PlugIn(this.GetType().ToString(), imageManager);
                return(plg);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
 public IPlugIn Run(DrectSoft.FrameWork.WinForm.Plugin.IEmrHost host)
 {
     throw new NotImplementedException();
 }