private void MedicalRecordCfg_Load(object sender, EventArgs e) { try { this.txtDelay.Text = ComponentCommand.GetDealyMaxTime().ToString(); this.txtDelayTimes.Text = ComponentCommand.GetDealyTimes().ToString(); this.txtReadAmount.Text = ComponentCommand.GetApplyLimit().ToString(); this.txtReadTime.Text = ComponentCommand.GetReadTime().ToString(); this.txtRemind.Text = ComponentCommand.GetRemindTime().ToString(); } catch (Exception) { throw; } }
public MedicalRecordApply() { try { InitializeComponent(); InitializeParameters(); InitializeGrid(); m_readMaxTime = ComponentCommand.GetReadTime(); m_readMax = ComponentCommand.GetApplyLimit(); labelLimit.Text = "注:最大不超过 " + m_readMaxTime + "天;" + "批次申请选择记录数不超过" + m_readMax + "条"; this.txtTimes.Properties.MaxValue = m_readMaxTime; m_sUser = ComponentCommand.GetCurrentDoctor(); ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment); ComponentCommand.InitializeDiagnosis(ref this.lookUpEditorDiagnosis, ref this.lookUpWindowDiagnosis); //ComponentCommand.InitializePurpose(ref this.lookUpEditorPurpose, ref this.lookUpWindowPurpose); } catch (Exception) { throw; } }
public MedicalRecordApply(IEmrHost app) { try { InitializeComponent(); InitializeParameters(); InitializeGrid(); m_readMaxTime = ComponentCommand.GetReadTime(); m_readMax = ComponentCommand.GetApplyLimit(); labelLimit.Text = "天(*)最大不超过: " + m_readMaxTime + "天;" + "批次申请选择记录数不超过:" + m_readMax + "条"; m_sUser = ComponentCommand.GetCurrentDoctor(); SqlUtil.App = app; ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment); ComponentCommand.InitializeDiagnosis(ref this.lookUpEditorDiagnosis, ref this.lookUpWindowDiagnosis); // ComponentCommand.InitializePurpose(ref this.lookUpEditorPurpose, ref this.lookUpWindowPurpose); } catch (Exception) { throw; } }