public void InitializeProperty(IDataAccess sqlHelper, ICustomMessageBox messageBox) { showListWindow1.SqlHelper = sqlHelper; m_MessageBox = messageBox; m_UsageBook = new OrderUsageBook(); m_FrenqucyBook = new OrderFrequencyBook(); CreateSuiteTable(sqlHelper); }
/// <summary> /// /// </summary> /// <param name="app"></param> /// <param name="queryOnly">是否仅是查询功能(影响到初始化数据的处理)</param> public SuiteOrderHandle(IEmrHost app, bool queryOnly) { m_SqlExecutor = app.SqlHelper; m_MessageBox = app.CustomMessageBox; m_GenShortCode = new GenerateShortCode(app.SqlHelper); m_QueryOnly = queryOnly; InsertMasterParas[3].Value = app.User.CurrentDeptId; InsertMasterParas[4].Value = app.User.CurrentWardId; InsertMasterParas[5].Value = app.User.DoctorId; //GenerateSuiteData(); //InitializeTableSchema(); }
public void InitializeOrderSuiteChoiceForm(IDataAccess sqlHelper, ICustomMessageBox messageBox, SuiteOrderHandle suiteHelper, bool editable) { CustomInitialize(_app); m_SqlExecutor = sqlHelper; m_MessageBox = messageBox; m_SuiteHelper = suiteHelper; Editable = editable; navCtrlOrderSuit.Enabled = editable; if (Editable) { navCtrlOrderSuit_ActiveGroupChanged(this, new NavBarGroupEventArgs(navGroupDept)); } BindImageToNavGroup(); }