/// <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); lookUpEditorDepartment.CodeValue = m_app.User.CurrentDeptId; lookUpEditorDepartment.Enabled = false; 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;//默认勾中出院的 if (!isdeptManager(m_app.User.CurrentDeptId, m_app.User.Id)) { btnCancleCom.Visible = false; btnCancleQC.Visible = false; btnQc.Visible = false; } } catch (Exception ex) { DrectSoft.Common.Ctrs.DLG.MyMessageBox.Show(1, ex); } }
/// <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); } }