public void FillUI(IemMainPageInfo info, IEmrHost app) { m_App = app; m_IemInfo = info; //(new FillUIDelegate(FillUIInner)).BeginInvoke(null, null); FillUIInner(); }
public DrectSoft.FrameWork.IPlugIn Run(IEmrHost host) { PlugIn plg = new PlugIn(this.GetType().ToString(), this); m_App = host; return(plg); }
/// <summary> /// .ctor /// </summary> /// <param name="noOfInpat"></param> public HistoryEmrBatchIn(string noOfInpat, Inpatient currentInpatient, IEmrHost app, RecordDal recordDal, PatRecUtil patUtil) { m_NoOfInpat = noOfInpat; m_App = app; m_RecordDal = recordDal; m_CurrentInpatient = currentInpatient; m_patUtil = patUtil; }
public FormRecordForMultiply(string noOfFirstPage, IEmrHost host, string consultApplySn) : this() { m_NoOfFirstPage = noOfFirstPage; m_Host = host; m_ConsultApplySn = consultApplySn; InitInner(false); }
public PersonItemManager(IEmrHost app) { InitializeComponent(); m_app = app; m_ItemCatalog = new ItemCatalog(app); m_ItemContent = new ItemContentForm(app); sqlHelper = m_app.SqlHelper; }
public DiagLibForm(IEmrHost app, string name, string id) : this() { m_App = app; m_DiagName = name; m_DiagID = id; this.Text = m_DiagName; }
public frmChild(QcManagerNew.frmContainer parent, IEmrHost app, string noofinpat) { InitializeComponent(); this.MdiParent = parent; m_App = app; m_noofinpat = noofinpat; this.ControlBox = false; }
public IPlugIn Run(IEmrHost host) { PlugIn plg = new PlugIn(this.GetType().ToString(), this); SqlUtil.App = host; return(plg); }
public UcSingleDisease(IEmrHost app) { InitializeComponent(); m_app = app; dateEdit_begin.Text = DateTime.Now.AddMonths(-1).ToShortDateString(); dateEdit_end.Text = DateTime.Now.ToShortDateString(); }
/// <summary> /// /构造函数 /// </summary> /// <param name="myapp"></param> /// <param name="dt"></param> /// <param name="nursefo"></param> public PayConsultion(IEmrHost myapp, DataTable dt, NurseForm nursefo) { m_app = myapp; //NOOfINPAT = m_noofinpat; Dt_ConsultData = dt; m_NurserForm = nursefo; InitializeComponent(); }
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); }
public void MyLoadNurseDocument(IWin32Window wind, IEmrHost m_app, DataRow drInpatient, out DevExpress.XtraEditors.XtraUserControl MymainNursingMeasure) { try { Form form = null; //获取病人对象 Inpatient m_NewPat = new Inpatient(); m_app.ChoosePatient(Convert.ToDecimal((drInpatient["NOOFINPAT"])).ToString(), out m_NewPat); DrectSoft.Core.NurseDocument.MainNursingMeasure mainNursingMeasure = new DrectSoft.Core.NurseDocument.MainNursingMeasure(drInpatient["NOOFINPAT"].ToString()); string version = DrectSoft.Core.NurseDocument.ConfigInfo.GetNurseMeasureVersion(decimal.Parse(drInpatient["NOOFINPAT"].ToString())); mainNursingMeasure.CurrentPat = drInpatient["NOOFINPAT"].ToString(); mainNursingMeasure.eventHandlerXieRu += delegate(object sender1, EventArgs e1) { if (form == null) { Assembly a = Assembly.Load("DrectSoft.Core.NurseDocument"); Type type = a.GetType(version); form = (Form)Activator.CreateInstance(type, new object[] { m_app, drInpatient["NOOFINPAT"].ToString() }); form.Height = DrectSoft.Core.NurseDocument.ConfigInfo.GetNurseRecordSize(decimal.Parse(drInpatient["NOOFINPAT"].ToString())); form.FormClosed += delegate(object sender2, FormClosedEventArgs e2) { form = null; mainNursingMeasure.LoadDataImage(decimal.Parse(drInpatient["NOOFINPAT"].ToString())); }; form.Show(wind); } mainNursingMeasure.LoadDataImage(decimal.Parse(drInpatient["NOOFINPAT"].ToString())); }; mainNursingMeasure.Load(m_app, m_NewPat); mainNursingMeasure.ReadOnlyControl = true; if (form != null) { switch (version.Trim()) { case "DrectSoft.Core.NurseDocument.Controls.NursingRecordNew": (form as DrectSoft.Core.NurseDocument.Controls.NursingRecordNew).RefreshDate(drInpatient["NOOFINPAT"].ToString()); (form as DrectSoft.Core.NurseDocument.Controls.NursingRecordNew).dateEdit_DateTimeChanged(null, null); break; case "DrectSoft.Core.NurseDocument.Controls.NursingRecord": (form as DrectSoft.Core.NurseDocument.Controls.NursingRecord).RefreshDate(drInpatient["NOOFINPAT"].ToString()); (form as DrectSoft.Core.NurseDocument.Controls.NursingRecord).dateEdit_DateTimeChanged(null, null); break; } form.FormClosed += delegate(object sender2, FormClosedEventArgs e2) { mainNursingMeasure.LoadDataImage(decimal.Parse(drInpatient["NOOFINPAT"].ToString())); }; } MymainNursingMeasure = mainNursingMeasure; } catch (Exception ex) { MymainNursingMeasure = null; } }
/// <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(); }
public IPlugIn Run(IEmrHost host) { PlugIn plg = new PlugIn(this.GetType().ToString(), this); plg.PatientChanging += new PatientChangingHandler(plg_PatientChanging); plg.PatientChanged += new PatientChangedHandler(plg_PatientChanged); m_host = host; return(plg); }
public PatientListForNew(IEmrHost host) { InitializeComponent(); m_Host = host; if (SqlHelper == null) { SqlHelper = new SqlHelper(m_Host.SqlHelper); } }
public IPlugIn Run(IEmrHost host) { FormMainConsultation form = new FormMainConsultation(host); m_App = host; PlugIn plg = new PlugIn(this.GetType().ToString(), form); return(plg); }
/// <summary> /// 患者病历评分列表页面 /// </summary> public OutMedicalScore(IEmrHost app) { InitializeComponent(); m_app = app; SqlManger m_SqlManger = new SqlManger(app); m_SqlManager = new SqlManger(app); m_userid = app.User.DoctorId; }
public EmrAutoScore(IEmrHost app) { m_app = app; m_SqlManger = new SqlManger(app); //manger = new IemMainPageManger(DataAccess.App, Common.CommonObjects.CurrentPatient); //manger.GetIemInfo(); DataAccess.App = m_app; m_dtMainpageRule = DataAccess.GetIemMainPageQC(); }
public SaveAsForm(EmrModel model, IEmrHost app, RecordDal recordDal, string content) : this() { m_Model = model; m_app = app; m_RecordDal = recordDal; m_Content = content; this.StartPosition = FormStartPosition.CenterScreen; }
/// <summary> /// 患者病历评分列表页面 /// </summary> public QC_ScoreRecord(IEmrHost app) { InitializeComponent(); m_app = app; SqlManger m_SqlManger = new SqlManger(app); m_SqlManager = new SqlManger(app); m_userid = app.User.DoctorId; }
public IemNewDiagInfo(IEmrHost app, DataTable foreTable, string gotype, string diagTypeName, string inputText) : this() { m_App = app; m_DiagTypeName = diagTypeName; m_GoType = gotype; inText = inputText;//m_inputText INDData = foreTable; }
public BaseDataMaintain(IEmrHost app) { InitializeComponent(); m_app = app; ucDictionary1.Host = m_app; ucMacro1.Host = m_app; ucSpecialCharacter1.Host = m_app; this.ActiveControl = ucDictionary1; }
public IPlugIn Run(IEmrHost host) { IPlugIn plg = new PlugIn(this.GetType().ToString(), this); m_App = host; m_SqlHelper = new SqlHelper(host.SqlHelper); m_SearchDataEntity = new SearchDataEntity(); return(plg); }
public UCRecord(IEmrHost app) : this() { m_App = app; BindLookUpEditorData(); InitGridControl(); InitDateEdit(); //Search(); textEditName.Focus(); }
public PrintForm(ConsultationEntity consultationEntity, bool PrintTip, IEmrHost m_App) { InitializeComponent(); m_DrawConsultUtil = new DrawConsultUtil(consultationEntity); m_PrintDocument = new PrintDocument(); IsPrint = PrintTip; consapply = consultationEntity.ConsultApplySn; m_app = m_App; }
public new void Load(IEmrHost app, bool firstPageEditFlag) { try { } catch (Exception ex) { DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex); } }
/// <summary> /// 带参构造函数 /// </summary> /// <param name="nodetitle"></param> /// <param name="nodecontent"></param> public ItemContent(string nodetitle, string nodecontent, string nodeid, string nid, string pnode, IEmrHost app) { NodeTitle = nodetitle; NodeContent = nodecontent; NodeID = nodeid; NID = nid; ParentNode = pnode; m_App = app; InitializeComponent(); }
public FormApproveForMultiply(string noOfFirstPage, IEmrHost host, string consultApplySn) : this() { m_NoOfFirstPage = noOfFirstPage; m_Host = host; m_ConsultApplySn = consultApplySn; InitInner(false); ApplyForMultiply.ReadOnlyControl(); memoEditSuggestion.Focus(); }
private void CustomInitialize(IEmrHost application) { ResetControlFont(); navCtrlOrderSuit.Enabled = false; navCtrlOrderSuit.ActiveGroupChanged += new NavBarGroupEventHandler(navCtrlOrderSuit_ActiveGroupChanged); navCtrlOrderSuit.ActiveGroup = navGroupDept; ResetSelectedSuiteObject(null); }
public TemplatePersonForm(IEmrHost app) : this() { this.m_App = app; DataAccess.App = app; this.InitPersonModel(); this.GetPersonTemplate(); this.SetGridControlColor(); this.treeListTemplatePerson.ExpandAll(); this.InitLookUpEditorData(); }