/// <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(); }
/// <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); }