Esempio n. 1
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="NoOfInpat"></param>
 public SetPatientsBaby(string NoOfInpat, IEmrHost myapp, string mpatname, DocCenter docCenter)
 {
     NOOFINPAT   = NoOfInpat;
     m_app       = myapp;
     PATNAME     = mpatname;
     m_DocCenter = docCenter;
     InitializeComponent();
     txtPatName.Focus();
 }
Esempio n. 2
0
        /// <summary>
        /// 启动类
        /// </summary>
        /// <param name="application"></param>
        /// <returns></returns>
        public IPlugIn Run(IEmrHost application)
        {
            if (application == null)
            {
                throw new ArgumentNullException("application");
            }

            DocCenter frmDocCenter = new DocCenter(application);
            PlugIn    plg          = new PlugIn(this.GetType().ToString(), frmDocCenter);

            return(plg);
        }