public DocumentListForm(MainForm parent, PatPage.PatientPageControl patientPageControl) : base(parent, patientPageControl) { this.InitializeComponent(); this.HideOnClose = true; this.CloseButtonVisible = true; this.ShowHint = DockState.Document; this.DockAreas = DockAreas.Document; }
public DiagnosisListForm(MainForm mainForm, PatPage.PatientPageControl patientPageControl) : base(mainForm, patientPageControl) { InitializeComponent(); this.HideOnClose = true; this.CloseButtonVisible = true; this.ShowHint = DockState.Document; this.DockAreas = DockAreas.Document; this.dataGridView1.Font = new Font("宋体", 10.5f); }
public VitalSignsGraphForm(MainForm parent, PatPage.PatientPageControl patientPageControl) : base(parent, patientPageControl) { this.InitializeComponent(); this.ShowHint = DockState.Document; this.HideOnClose = true; this.CloseButtonVisible = true; this.DockAreas = DockAreas.Document | DockAreas.DockBottom | DockAreas.DockLeft | DockAreas.DockRight | DockAreas.DockTop; }
public PatientInfoForm(MainForm mainForm, PatPage.PatientPageControl patientPageControl) : base(mainForm, patientPageControl) { InitializeComponent(); this.HideOnClose = true; this.CloseButtonVisible = false; this.ShowHint = DockState.Document; this.DockAreas = DockAreas.Document; this.editor.ExecuteQuery += Editor_ExecuteQuery; this.editor.QueryContext += Editor_QueryContext; }
public DocumentTimeForm(MainForm parent, PatPage.PatientPageControl patientPageControl) : base(parent, patientPageControl) { this.InitializeComponent(); this.ShowHint = DockState.Document; this.HideOnClose = true; this.CloseButtonVisible = true; this.DockAreas = DockAreas.Document | DockAreas.DockBottom | DockAreas.DockLeft | DockAreas.DockRight | DockAreas.DockTop; this.dataGridView1.Font = new Font("宋体", 10.5f); }
public ExamResultListForm(MainForm parent, PatPage.PatientPageControl patientPageControl) : base(parent, patientPageControl) { this.InitializeComponent(); this.HideOnClose = true; this.ShowHint = DockState.Document; this.DockAreas = DockAreas.Document; this.CloseButtonVisible = true; this.ExamList.Font = new Font("宋体", 10.5f); this.txtReportDetial.Font = new Font("宋体", 10.5f); }
public LabResultListForm(MainForm parent, PatPage.PatientPageControl patientPageControl) : base(parent, patientPageControl) { this.InitializeComponent(); this.ShowHint = DockState.Document; this.HideOnClose = true; this.CloseButtonVisible = true; this.DockAreas = DockAreas.Document | DockAreas.DockBottom | DockAreas.DockLeft | DockAreas.DockRight | DockAreas.DockTop; this.dgvLabResult.Font = new Font("宋体", 10.5f); this.dgvLabMaster.Font = new Font("宋体", 10.5f); }
public PatientNurdocForm(MainForm mainForm, PatPage.PatientPageControl patientPageControl) : base(mainForm, patientPageControl) { InitializeComponent(); this.HideOnClose = true; this.CloseButtonVisible = false; this.ShowHint = DockState.Document; this.DockAreas = DockAreas.Document; if (this.m_nurPatContrl == null) { m_nurPatContrl = new NurdocControl.NurPatContrl(); } SystemConfig.Instance.ConfigFile = SystemParam.Instance.ConfigFile; this.Controls.Add(m_nurPatContrl); m_nurPatContrl.Dock = DockStyle.Fill; }
public DockContentBase(MainForm mainForm, PatPage.PatientPageControl patientPageControl) { this.MainForm = mainForm; this.m_patientPageControl = patientPageControl; this.m_patientPageControl.MainForm = mainForm; this.InitializeComponent(); this.TabPageContextMenuStrip = this.contextMenuStrip; if (this.m_mainForm == null || this.m_mainForm.IsDisposed) { return; } this.m_mainForm.ActiveContentChanged += new EventHandler(this.MainForm_ActiveContentChanged); this.m_mainForm.PatientListInfoChanged += new EventHandler(this.MainForm_PatientListInfoChanged); this.m_mainForm.FormClosing += new FormClosingEventHandler(this.MainForm_FormClosing); this.m_mainForm.PatientScoreChanged += new EventHandler(m_mainForm_PatientScoreChanged); this.m_patientPageControl.ActiveContentChanged += new EventHandler(PatientPageControl_ActiveContentChanged); this.m_patientPageControl.PatientInfoChanged += new EventHandler(PatientPageControl_PatientInfoChanged); }
public DocScoreNewForm(MainForm parent, PatPage.PatientPageControl patientPageControl) : base(parent, patientPageControl) { this.InitializeComponent(); //判断权限 bool bRight = RightHandler.Instance.HasRight(RightResource.MedRecord_DocScore); if (SystemParam.Instance.LocalConfigOption.IsScoreRightShow && bRight) { this.ShowHint = DockState.DockRight; } else { this.colItem.Width = 350; this.ShowHint = DockState.Document; } this.HideOnClose = true; this.CloseButtonVisible = true; this.DockAreas = DockAreas.Document | DockAreas.DockBottom | DockAreas.DockLeft | DockAreas.DockRight | DockAreas.DockTop; this.dgvHummanScore.Font = new Font("宋体", 10.5f); this.dgvSystemScore.Font = new Font("宋体", 10.5f); foreach (DataGridViewColumn item in this.dgvHummanScore.Columns) { item.SortMode = DataGridViewColumnSortMode.NotSortable; } foreach (DataGridViewColumn item in this.dgvSystemScore.Columns) { item.SortMode = DataGridViewColumnSortMode.NotSortable; } dgvHummanScore.Columns[this.colItem.Index].DefaultCellStyle.WrapMode = DataGridViewTriState.True; this.dgvHummanScore.IsFreezeGroupHeader = true; this.dgvHummanScore.OnBindDataDetail += new Controls.CollapseDataGridView.BindDataDetailHandler(dgvHummanScore_OnBindDataDetail); }