/// <summary> /// 初始化科室 /// </summary> private void InitDepartment() { try { ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment); } catch (Exception ex) { throw new Exception(ex.Message); } }
private void MedicalRecordApprovedList_Load(object sender, EventArgs e) { try { InitializeParameters(); InitializeGrid(); DrectSoft.Common.DS_Common.CancelMenu(this.panelHead, contextMenuStrip1); ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment); this.txtDoctor.Focus(); } catch (Exception ex) { DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex); } }
/// <summary> /// 初始化 /// </summary> private void Init() { try { date_InHosBegin.DateTime = DateTime.Now.AddMonths(-1); date_InHosEnd.DateTime = DateTime.Now; date_OutHosBegin.DateTime = DateTime.Now.AddMonths(-1); date_OutHosEnd.DateTime = DateTime.Now; ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment); lookUpEditorDepartment.CodeValue = DS_Common.currentUser.CurrentDeptId; ///初始化显示项(默认为姓名索引卡) InitOptions(); txt_Patid.Focus(); } catch (Exception ex) { throw ex; } }
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; } }
/// <summary> /// 窗体加载事件 /// </summary> /// <param name="sender"></param> /// <param name="e"></param> private void MedicalRecordList_Load(object sender, EventArgs e) { try { InitializeParameters(); InitializeGrid(); DrectSoft.Common.DS_Common.CancelMenu(this.panelHead, contextMenuStrip1); ComponentCommand.InitializeDepartment(ref this.lookUpEditorDepartment, ref this.lookUpWindowDepartment); ComponentCommand.InitializeDiagnosis(ref this.lookUpEditorDiagnosis, ref this.lookUpWindowDoctor); ComponentCommand.InitializeOperation(ref this.lookUpEditorOperation, ref this.lookUpWindowOperation); //this.lookUpWindowLock // ComponentCommand.InitializeDoctor(ref this.lookUpEditorDoctor, ref this.lookUpWindowDoctor); //add by ck 2013-8-26 this.txtName.Focus(); this.rdbtnOutPat.Checked = true;//默认勾中出院的 } catch (Exception ex) { DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex); } }
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; } }