diff --git a/AIMS/AIMS.xml b/AIMS/AIMS.xml index 71c6330..a1d6e41 100644 --- a/AIMS/AIMS.xml +++ b/AIMS/AIMS.xml @@ -1,6 +1,6 @@  - Data Source=.;Initial Catalog=AIMSDB_DLSJZQZYYY;User ID=sa;Password=Test2020; + Data Source=.;Initial Catalog=AIMSDB_QHDSGRYY;User ID=sa;Password=Test2020; Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020; Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39; diff --git a/AIMS/DataDictionary/frmBasicDictionary.cs b/AIMS/DataDictionary/frmBasicDictionary.cs index d9d7483..3022d78 100644 --- a/AIMS/DataDictionary/frmBasicDictionary.cs +++ b/AIMS/DataDictionary/frmBasicDictionary.cs @@ -131,7 +131,7 @@ namespace DataDictionary.UI BasicDictionaryObj.Order = int.Parse(intOrder.Text); BasicDictionaryObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; BasicDictionaryObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - BasicDictionaryObj.OperateDate = AIMSExtension.PublicMethod.SystemDate(); + BasicDictionaryObj.OperateDate = DateTime.Now; BasicDictionaryObj.Remark = txtRemark.Text.Trim(); if (_state == AIMSExtension.EditState.ADD) { diff --git a/AIMS/DataDictionary/frmDepartment.cs b/AIMS/DataDictionary/frmDepartment.cs index fbd9bab..f13eb2b 100644 --- a/AIMS/DataDictionary/frmDepartment.cs +++ b/AIMS/DataDictionary/frmDepartment.cs @@ -98,7 +98,7 @@ namespace AIMS.PublicUI.UI DepartmentObj.IsValid = int.Parse(chkIsValid.Checked ? "1" : "0"); DepartmentObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; DepartmentObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - DepartmentObj.OperateDate = AIMSExtension.PublicMethod.SystemDate(); + DepartmentObj.OperateDate = DateTime.Now; if (_state == AIMSExtension.EditState.ADD) { diff --git a/AIMS/FormMainManage.designer.cs b/AIMS/FormMainManage.designer.cs index be0eb23..b8b1bc9 100644 Binary files a/AIMS/FormMainManage.designer.cs and b/AIMS/FormMainManage.designer.cs differ diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs index bf98817..a683b1d 100644 --- a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs +++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs @@ -573,7 +573,7 @@ namespace AIMS.OperationAanesthesia { DrawEvent(); } - PublicMethod.WriteLog( Inevent.EventName, _record.PatientId.Value, 1, "麻醉"); + PublicMethod.WriteLog(Inevent.EventName, _record.PatientId.Value, 1, "麻醉"); } } /// @@ -628,7 +628,7 @@ namespace AIMS.OperationAanesthesia { DrawEvent(); } - PublicMethod.WriteLog("修改"+Inevent.EventName, _record.PatientId.Value, 1, "麻醉"); + PublicMethod.WriteLog("修改" + Inevent.EventName, _record.PatientId.Value, 1, "麻醉"); } } /// @@ -761,8 +761,8 @@ namespace AIMS.OperationAanesthesia if (GetOpeState(ref messing) == false) { if (messing != "") MessageBox.Show(messing, "系统提示"); - if (messing == "请与手术信息选择手术分级!" || messing == "请与手术信息选择手术切口!") - btnOperationInfo_Click(null, null); + //if (messing == "请与手术信息选择手术分级!" || messing == "请与手术信息选择手术切口!") + // btnOperationInfo_Click(null, null); return; } } @@ -1235,10 +1235,6 @@ namespace AIMS.OperationAanesthesia frmAnaseDataQuality._record = _record; frmAnaseDataQuality.ShowDialog(); } - void frmFactEventsNew_FormClosed(object sender, FormClosedEventArgs e) - { - ReviewEvent(); - } private void btnCancelOperation_Click(object sender, EventArgs e) { if (PatientId == 0) @@ -1306,12 +1302,15 @@ namespace AIMS.OperationAanesthesia return; } PublicUI.UI.frmTemplate frmTemplateObj = new PublicUI.UI.frmTemplate(); - frmTemplateObj.FormClosed += new FormClosedEventHandler(frmFactEventsNew_FormClosed); + frmTemplateObj._record = _record; frmTemplateObj.InRoomTime = _record.InRoomTime.Value; frmTemplateObj.PatientId = PatientId; frmTemplateObj.TypeId = 1; - frmTemplateObj.ShowDialog(); - + DialogResult ddr = frmTemplateObj.ShowDialog(); + if (ddr == System.Windows.Forms.DialogResult.OK) + { + ReviewEvent(); + } } private void tsbExePlan_Click(object sender, EventArgs e) { @@ -2145,16 +2144,16 @@ namespace AIMS.OperationAanesthesia isTrue = false; } - if (_record.OpeRecordInfo.OperationLevel == null || _record.OpeRecordInfo.OperationLevel.ToString().Trim() == "") - { - message = "请与手术信息选择手术分级!"; - isTrue = false; - } - if (_record.OpeRecordInfo.OperationCut == null || _record.OpeRecordInfo.OperationCut.ToString().Trim() == "") - { - message = "请与手术信息选择手术切口!"; - isTrue = false; - } + //if (_record.OpeRecordInfo.OperationLevel == null || _record.OpeRecordInfo.OperationLevel.ToString().Trim() == "") + //{ + // message = "请与手术信息选择手术分级!"; + // isTrue = false; + //} + //if (_record.OpeRecordInfo.OperationCut == null || _record.OpeRecordInfo.OperationCut.ToString().Trim() == "") + //{ + // message = "请与手术信息选择手术切口!"; + // isTrue = false; + //} } diff --git a/AIMS/OperationAanesthesia/frmFactDrugNew.cs b/AIMS/OperationAanesthesia/frmFactDrugNew.cs index a4d58dd..26f46ce 100644 --- a/AIMS/OperationAanesthesia/frmFactDrugNew.cs +++ b/AIMS/OperationAanesthesia/frmFactDrugNew.cs @@ -815,20 +815,20 @@ namespace AIMS.PublicUI.UI _lineNumber = 0; - FullALLDGV(); - tabDrugs_SelectedTabChanged(null, null); + //FullALLDGV(); + //tabDrugs_SelectedTabChanged(null, null); if (DrugsParam != null) DrugsParam(); - if (_dataGridView.Rows.Count == 0 || _dataGridView.Rows[_dataGridView.Rows.Count - 1].Cells[3].Value != null) - AddNewNullRows(); + //if (_dataGridView.Rows.Count == 0 || _dataGridView.Rows[_dataGridView.Rows.Count - 1].Cells[3].Value != null) + //AddNewNullRows(); } else { - if (_dataGridView.CurrentRow.Cells[3].Value != null || _dataGridView.CurrentRow.Cells[1].Value != null)//药品名称 + if (_dataGridView.CurrentRow.Cells[3].Value != null)//药品名称 { _dataGridView.Rows.Remove(_dataGridView.CurrentRow); _lineNumber = 0; - if (_dataGridView.Rows.Count == 0 || _dataGridView.Rows[_dataGridView.Rows.Count - 1].Cells[3].Value != null) - AddNewNullRows(); + //if (_dataGridView.Rows.Count == 0 || _dataGridView.Rows[_dataGridView.Rows.Count - 1].Cells[3].Value != null) + // AddNewNullRows(); } } } diff --git a/AIMS/OperationAanesthesia/frmFactOutputLiquidsNew.Designer.cs b/AIMS/OperationAanesthesia/frmFactOutputLiquidsNew.Designer.cs index 5bdea69..6966249 100644 --- a/AIMS/OperationAanesthesia/frmFactOutputLiquidsNew.Designer.cs +++ b/AIMS/OperationAanesthesia/frmFactOutputLiquidsNew.Designer.cs @@ -242,6 +242,7 @@ namespace AIMS.PublicUI.UI this.panel2.Name = "panel2"; this.panel2.Size = new System.Drawing.Size(1035, 42); this.panel2.TabIndex = 0; + this.panel2.Paint += new System.Windows.Forms.PaintEventHandler(this.panel2_Paint); // // btnDelete // diff --git a/AIMS/OperationAanesthesia/frmFactOutputLiquidsNew.cs b/AIMS/OperationAanesthesia/frmFactOutputLiquidsNew.cs index b17457d..538a4dc 100644 --- a/AIMS/OperationAanesthesia/frmFactOutputLiquidsNew.cs +++ b/AIMS/OperationAanesthesia/frmFactOutputLiquidsNew.cs @@ -567,5 +567,10 @@ namespace AIMS.PublicUI.UI } } + + private void panel2_Paint(object sender, PaintEventArgs e) + { + + } } } diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord.cs index b33c0b8..a045509 100644 --- a/AIMS/OperationAanesthesia/frmInstrumentRecord.cs +++ b/AIMS/OperationAanesthesia/frmInstrumentRecord.cs @@ -19,6 +19,7 @@ using System.Diagnostics; using System.Drawing; using System.Drawing.Printing; using System.Linq; +using System.Reflection; using System.Windows.Forms; namespace AIMS.OperationAanesthesia @@ -2240,6 +2241,13 @@ namespace AIMS.OperationAanesthesia { zgcAnaesRecord.Focus(); } + string messing = ""; + if (GetOpeState(ref messing) == false) + { + if (messing == "请与手术信息选择手术分级!" || messing == "请与手术信息选择手术切口!") + btnOperationInfo_Click(null, null); + return; + } if (superTabMain.SelectedTab.Name == "spTabQXQDD") { diff --git a/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.cs b/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.cs index caac827..cb020b5 100644 --- a/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.cs +++ b/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.cs @@ -228,6 +228,10 @@ namespace AIMS.OperationAanesthesia element.Text = info.GetValue(Patient, null).ToString(); } } + var Text8 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == "批号").FirstOrDefault(); + if (Text8 != null) + Text8.Text = fee.InsureNO; } else { diff --git a/AIMS/OperationAfter/frmOperationCharg3.cs b/AIMS/OperationAfter/frmOperationCharg3.cs index a3af5a7..d5dab51 100644 --- a/AIMS/OperationAfter/frmOperationCharg3.cs +++ b/AIMS/OperationAfter/frmOperationCharg3.cs @@ -417,11 +417,11 @@ namespace AIMS.OperationAfter.UI { string feerid = item.Cells[0].EditedFormattedValue.ToString(); FeesRecord report = BFeesRecord.SelectSingle(Convert.ToInt32(feerid)); - report.InsureNO = item.Cells[10].EditedFormattedValue.ToString(); + report.InsureNO = item.Cells[10].EditedFormattedValue.ToString(); report.Extend5 = item.Cells[13].EditedFormattedValue.ToString(); report.Conclusion = item.Cells[14].EditedFormattedValue.ToString(); - report.IsInsure = item.Cells[15].EditedFormattedValue.ToString(); - report.LimitDrug = item.Cells[2].EditedFormattedValue.ToString(); + report.IsInsure = item.Cells[15].EditedFormattedValue.ToString(); + report.LimitDrug = item.Cells[2].EditedFormattedValue.ToString(); BFeesRecord.Update(report); } MessageBox.Show("保存成功!", "系统提示"); @@ -463,6 +463,18 @@ namespace AIMS.OperationAfter.UI } } } + else if (e.ColumnIndex == 13) + { + DialogResult dialog = MessageBox.Show("是否批量填写发药人?", "系统提示", MessageBoxButtons.YesNo); + if (dialog == DialogResult.Yes) + { + string batchNo = dgvDrugs.Rows[e.RowIndex].Cells[13].EditedFormattedValue.ToString(); + for (int i = 0; i < dgvDrugs.Rows.Count; i++) + { + dgvDrugs.Rows[i].Cells[13].Value = batchNo; + } + } + } } } } diff --git a/AIMS/OperationAfter/frmOperationCharg3.designer.cs b/AIMS/OperationAfter/frmOperationCharg3.designer.cs index 9fdfd46..6141745 100644 --- a/AIMS/OperationAfter/frmOperationCharg3.designer.cs +++ b/AIMS/OperationAfter/frmOperationCharg3.designer.cs @@ -39,9 +39,7 @@ this.cboRoom = new DevComponents.DotNetBar.Controls.ComboBoxEx(); this.label22 = new System.Windows.Forms.Label(); this.button1 = new System.Windows.Forms.Button(); - this.label2 = new System.Windows.Forms.Label(); this.tsbSettingDGV = new System.Windows.Forms.Button(); - this.toolStripButton10 = new System.Windows.Forms.Button(); this.panel2 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel(); this.rdoHs = new System.Windows.Forms.RadioButton(); @@ -119,9 +117,7 @@ this.panel1.Controls.Add(this.cboRoom); this.panel1.Controls.Add(this.label22); this.panel1.Controls.Add(this.button1); - this.panel1.Controls.Add(this.label2); this.panel1.Controls.Add(this.tsbSettingDGV); - this.panel1.Controls.Add(this.toolStripButton10); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; @@ -170,19 +166,6 @@ this.button1.UseVisualStyleBackColor = true; this.button1.Click += new System.EventHandler(this.button1_Click); // - // label2 - // - this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label2.AutoSize = true; - this.label2.BackColor = System.Drawing.Color.Transparent; - this.label2.Font = new System.Drawing.Font("微软雅黑", 11F); - this.label2.Location = new System.Drawing.Point(1238, 13); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(13, 20); - this.label2.TabIndex = 5; - this.label2.Text = "|"; - this.label2.Visible = false; - // // tsbSettingDGV // this.tsbSettingDGV.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); @@ -191,7 +174,7 @@ this.tsbSettingDGV.FlatAppearance.BorderSize = 0; this.tsbSettingDGV.FlatStyle = System.Windows.Forms.FlatStyle.Flat; this.tsbSettingDGV.Font = new System.Drawing.Font("微软雅黑", 11F); - this.tsbSettingDGV.Location = new System.Drawing.Point(1150, 8); + this.tsbSettingDGV.Location = new System.Drawing.Point(1257, 8); this.tsbSettingDGV.Name = "tsbSettingDGV"; this.tsbSettingDGV.Size = new System.Drawing.Size(85, 30); this.tsbSettingDGV.TabIndex = 4; @@ -199,21 +182,6 @@ this.tsbSettingDGV.UseVisualStyleBackColor = false; this.tsbSettingDGV.Click += new System.EventHandler(this.tsbSettingDGV_Click); // - // toolStripButton10 - // - this.toolStripButton10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.toolStripButton10.Cursor = System.Windows.Forms.Cursors.Hand; - this.toolStripButton10.FlatAppearance.BorderSize = 0; - this.toolStripButton10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.toolStripButton10.Font = new System.Drawing.Font("微软雅黑", 11F); - this.toolStripButton10.Location = new System.Drawing.Point(1257, 8); - this.toolStripButton10.Name = "toolStripButton10"; - this.toolStripButton10.Size = new System.Drawing.Size(90, 30); - this.toolStripButton10.TabIndex = 0; - this.toolStripButton10.Text = "关闭"; - this.toolStripButton10.UseVisualStyleBackColor = true; - this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click); - // // panel2 // this.panel2.BackColor = System.Drawing.Color.WhiteSmoke; @@ -917,7 +885,7 @@ this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "frmOperationCharg3"; - this.Text = "费用药品登记"; + this.Text = "药品使用登记"; this.WindowState = System.Windows.Forms.FormWindowState.Maximized; this.Load += new System.EventHandler(this.frmOperationDruggCheck_Load); this.panel1.ResumeLayout(false); @@ -938,10 +906,8 @@ #endregion private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Button toolStripButton10; private System.Windows.Forms.Panel panel2; public System.Windows.Forms.Label labDate; - private System.Windows.Forms.Label label2; private System.Windows.Forms.Button tsbSettingDGV; private DevComponents.DotNetBar.ButtonX buttonX1; private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; diff --git a/AIMS/OperationAfter/frmOperationManage.cs b/AIMS/OperationAfter/frmOperationManage.cs index b507162..5923989 100644 --- a/AIMS/OperationAfter/frmOperationManage.cs +++ b/AIMS/OperationAfter/frmOperationManage.cs @@ -60,7 +60,7 @@ namespace AIMS.OperationAfter.UI tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("6,7", "手术中")); tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("8,9", "手术结束")); tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("10,11", "手术停止")); - tokenEditor1.SelectedTokens.Add(tokenEditor1.Tokens[3]); + tokenEditor1.SelectedTokens.Add(tokenEditor1.Tokens[4]); List rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'"); diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.cs b/AIMS/OperationFront/frmOperationSchedulePlan.cs index 2cfe919..612efe5 100644 --- a/AIMS/OperationFront/frmOperationSchedulePlan.cs +++ b/AIMS/OperationFront/frmOperationSchedulePlan.cs @@ -271,97 +271,97 @@ namespace AIMS.OperationFront.UI private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle49 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle89 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle97 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle98 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle90 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle91 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle92 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle93 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle94 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle95 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle96 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle99 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle110 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle111 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle100 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle101 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle102 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle103 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle104 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle105 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle106 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle107 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle108 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle109 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle112 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle123 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle124 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle113 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle114 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle115 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle116 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle117 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle118 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle119 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle120 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle121 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle122 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle125 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle136 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle137 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle126 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle127 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle128 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle129 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle130 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle131 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle132 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle133 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle134 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle135 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmOperationSchedulePlan)); - DevComponents.DotNetBar.SuperGrid.Style.Background background1 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); - DevComponents.DotNetBar.SuperGrid.Style.Background background2 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle50 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle51 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle52 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle53 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle54 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle55 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle56 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle57 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle58 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle59 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle60 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle61 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle62 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle63 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle64 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle65 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle66 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle67 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle68 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle69 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle70 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle71 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle72 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle73 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle74 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle75 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle76 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle77 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle78 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle79 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle80 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle81 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle82 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle83 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle84 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle85 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle86 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle87 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle88 = new System.Windows.Forms.DataGridViewCellStyle(); + DevComponents.DotNetBar.SuperGrid.Style.Background background3 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); + DevComponents.DotNetBar.SuperGrid.Style.Background background4 = new DevComponents.DotNetBar.SuperGrid.Style.Background(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle138 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle139 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle140 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle141 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle142 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle143 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle144 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle145 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle146 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle147 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle148 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle149 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle150 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle151 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle152 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle153 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle154 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle155 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle156 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle157 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle158 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle159 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle160 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle161 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle162 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle163 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle164 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle165 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle166 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle167 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle168 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle169 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle170 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle171 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle172 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle173 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle174 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle175 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle176 = new System.Windows.Forms.DataGridViewCellStyle(); this.navigationPane1 = new DevComponents.DotNetBar.NavigationPane(); this.navigationPanePanel1 = new DevComponents.DotNetBar.NavigationPanePanel(); this.groupBoxsel = new System.Windows.Forms.GroupBox(); @@ -657,11 +657,13 @@ namespace AIMS.OperationFront.UI this.navigationPane1.NavigationBarHeight = 190; this.navigationPane1.Padding = new System.Windows.Forms.Padding(1); this.navigationPane1.Size = new System.Drawing.Size(297, 737); + this.navigationPane1.Style = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPane1.TabIndex = 0; // // // this.navigationPane1.TitlePanel.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.navigationPane1.TitlePanel.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPane1.TitlePanel.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPane1.TitlePanel.Dock = System.Windows.Forms.DockStyle.Top; this.navigationPane1.TitlePanel.Font = new System.Drawing.Font("΢ź", 11.5F, System.Drawing.FontStyle.Bold); @@ -671,7 +673,7 @@ namespace AIMS.OperationFront.UI this.navigationPane1.TitlePanel.Size = new System.Drawing.Size(347, 26); this.navigationPane1.TitlePanel.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.navigationPane1.TitlePanel.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(3)))), ((int)(((byte)(56)))), ((int)(((byte)(148))))); - this.navigationPane1.TitlePanel.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.navigationPane1.TitlePanel.Style.Border = DevComponents.DotNetBar.eBorderType.RaisedInner; this.navigationPane1.TitlePanel.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.navigationPane1.TitlePanel.Style.BorderSide = DevComponents.DotNetBar.eBorderSide.Bottom; this.navigationPane1.TitlePanel.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; @@ -683,6 +685,7 @@ namespace AIMS.OperationFront.UI // // navigationPanePanel1 // + this.navigationPanePanel1.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPanePanel1.Controls.Add(this.groupBoxsel); this.navigationPanePanel1.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel1.Dock = System.Windows.Forms.DockStyle.Fill; @@ -729,14 +732,14 @@ namespace AIMS.OperationFront.UI this.dgvApplyOrDoctor.AutoSizeRowsMode = System.Windows.Forms.DataGridViewAutoSizeRowsMode.AllCells; this.dgvApplyOrDoctor.BackgroundColor = System.Drawing.Color.White; this.dgvApplyOrDoctor.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle1.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle1.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvApplyOrDoctor.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; + dataGridViewCellStyle89.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle89.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle89.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle89.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle89.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle89.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle89.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvApplyOrDoctor.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle89; this.dgvApplyOrDoctor.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvApplyOrDoctor.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Column1, @@ -754,28 +757,28 @@ namespace AIMS.OperationFront.UI this.Diagnose, this.OperationType, this.Contagion}); - dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle9.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle9.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvApplyOrDoctor.DefaultCellStyle = dataGridViewCellStyle9; + dataGridViewCellStyle97.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle97.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle97.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle97.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle97.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle97.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle97.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvApplyOrDoctor.DefaultCellStyle = dataGridViewCellStyle97; this.dgvApplyOrDoctor.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvApplyOrDoctor.EnableHeadersVisualStyles = false; - this.dgvApplyOrDoctor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); + this.dgvApplyOrDoctor.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170))))); this.dgvApplyOrDoctor.Location = new System.Drawing.Point(0, 89); this.dgvApplyOrDoctor.Name = "dgvApplyOrDoctor"; this.dgvApplyOrDoctor.ReadOnly = true; - dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle10.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle10.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle10.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvApplyOrDoctor.RowHeadersDefaultCellStyle = dataGridViewCellStyle10; + dataGridViewCellStyle98.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle98.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle98.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle98.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle98.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle98.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle98.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvApplyOrDoctor.RowHeadersDefaultCellStyle = dataGridViewCellStyle98; this.dgvApplyOrDoctor.RowHeadersVisible = false; this.dgvApplyOrDoctor.RowTemplate.Height = 23; this.dgvApplyOrDoctor.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -813,9 +816,9 @@ namespace AIMS.OperationFront.UI // DepartmentId // this.DepartmentId.DataPropertyName = "ApplyDepName"; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.Font = new System.Drawing.Font("΢ź", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.DepartmentId.DefaultCellStyle = dataGridViewCellStyle2; + dataGridViewCellStyle90.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle90.Font = new System.Drawing.Font("΢ź", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.DepartmentId.DefaultCellStyle = dataGridViewCellStyle90; this.DepartmentId.HeaderText = ""; this.DepartmentId.Name = "DepartmentId"; this.DepartmentId.ReadOnly = true; @@ -825,9 +828,9 @@ namespace AIMS.OperationFront.UI // OperationDoctor // this.OperationDoctor.DataPropertyName = "OperationDoctor"; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.Font = new System.Drawing.Font("΢ź", 12F); - this.OperationDoctor.DefaultCellStyle = dataGridViewCellStyle3; + dataGridViewCellStyle91.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle91.Font = new System.Drawing.Font("΢ź", 12F); + this.OperationDoctor.DefaultCellStyle = dataGridViewCellStyle91; this.OperationDoctor.HeaderText = "ҽʦ"; this.OperationDoctor.Name = "OperationDoctor"; this.OperationDoctor.ReadOnly = true; @@ -837,8 +840,8 @@ namespace AIMS.OperationFront.UI // PatientName // this.PatientName.DataPropertyName = "PatInfo"; - dataGridViewCellStyle4.Font = new System.Drawing.Font("΢ź", 11F); - this.PatientName.DefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle92.Font = new System.Drawing.Font("΢ź", 11F); + this.PatientName.DefaultCellStyle = dataGridViewCellStyle92; this.PatientName.HeaderText = ""; this.PatientName.Name = "PatientName"; this.PatientName.ReadOnly = true; @@ -848,8 +851,8 @@ namespace AIMS.OperationFront.UI // InHospitalNo // this.InHospitalNo.DataPropertyName = "MdrecNo"; - dataGridViewCellStyle5.Font = new System.Drawing.Font("΢ź", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.InHospitalNo.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle93.Font = new System.Drawing.Font("΢ź", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.InHospitalNo.DefaultCellStyle = dataGridViewCellStyle93; this.InHospitalNo.HeaderText = "סԺ"; this.InHospitalNo.Name = "InHospitalNo"; this.InHospitalNo.ReadOnly = true; @@ -868,9 +871,9 @@ namespace AIMS.OperationFront.UI // Operation // this.Operation.DataPropertyName = "ApplyOperationInfoName"; - dataGridViewCellStyle6.Font = new System.Drawing.Font("΢ź", 11F); - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.Operation.DefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle94.Font = new System.Drawing.Font("΢ź", 11F); + dataGridViewCellStyle94.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.Operation.DefaultCellStyle = dataGridViewCellStyle94; this.Operation.HeaderText = ""; this.Operation.Name = "Operation"; this.Operation.ReadOnly = true; @@ -880,9 +883,9 @@ namespace AIMS.OperationFront.UI // OrderOperationTime // this.OrderOperationTime.DataPropertyName = "OrderOperationTime"; - dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle7.Font = new System.Drawing.Font("΢ź", 12F); - this.OrderOperationTime.DefaultCellStyle = dataGridViewCellStyle7; + dataGridViewCellStyle95.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle95.Font = new System.Drawing.Font("΢ź", 12F); + this.OrderOperationTime.DefaultCellStyle = dataGridViewCellStyle95; this.OrderOperationTime.HeaderText = "ʱ"; this.OrderOperationTime.Name = "OrderOperationTime"; this.OrderOperationTime.ReadOnly = true; @@ -893,8 +896,8 @@ namespace AIMS.OperationFront.UI // Remark // this.Remark.DataPropertyName = "OperationRemark"; - dataGridViewCellStyle8.Font = new System.Drawing.Font("΢ź", 12F); - this.Remark.DefaultCellStyle = dataGridViewCellStyle8; + dataGridViewCellStyle96.Font = new System.Drawing.Font("΢ź", 12F); + this.Remark.DefaultCellStyle = dataGridViewCellStyle96; this.Remark.HeaderText = "ע"; this.Remark.Name = "Remark"; this.Remark.ReadOnly = true; @@ -1059,6 +1062,7 @@ namespace AIMS.OperationFront.UI // // navigationPanePanel4 // + this.navigationPanePanel4.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPanePanel4.Controls.Add(this.groupBox2); this.navigationPanePanel4.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel4.Dock = System.Windows.Forms.DockStyle.Fill; @@ -1069,7 +1073,6 @@ namespace AIMS.OperationFront.UI this.navigationPanePanel4.Size = new System.Drawing.Size(295, 545); this.navigationPanePanel4.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel4.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.navigationPanePanel4.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.navigationPanePanel4.Style.BackgroundImagePosition = DevComponents.DotNetBar.eBackgroundImagePosition.Tile; this.navigationPanePanel4.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.navigationPanePanel4.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; @@ -1108,14 +1111,14 @@ namespace AIMS.OperationFront.UI this.dgvInstrumentNurse.AllowUserToResizeRows = false; this.dgvInstrumentNurse.BackgroundColor = System.Drawing.Color.White; this.dgvInstrumentNurse.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle11.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle11.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvInstrumentNurse.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; + dataGridViewCellStyle99.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle99.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle99.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle99.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle99.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle99.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle99.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvInstrumentNurse.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle99; this.dgvInstrumentNurse.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvInstrumentNurse.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewCheckBoxColumn3, @@ -1130,28 +1133,28 @@ namespace AIMS.OperationFront.UI this.dataGridViewTextBoxColumn57, this.dataGridViewTextBoxColumn58, this.dataGridViewTextBoxColumn59}); - dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle22.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle22.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle22.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle22.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvInstrumentNurse.DefaultCellStyle = dataGridViewCellStyle22; + dataGridViewCellStyle110.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle110.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle110.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle110.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle110.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle110.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle110.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvInstrumentNurse.DefaultCellStyle = dataGridViewCellStyle110; this.dgvInstrumentNurse.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvInstrumentNurse.EnableHeadersVisualStyles = false; this.dgvInstrumentNurse.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvInstrumentNurse.Location = new System.Drawing.Point(0, 95); this.dgvInstrumentNurse.Name = "dgvInstrumentNurse"; this.dgvInstrumentNurse.ReadOnly = true; - dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle23.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle23.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle23.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle23.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvInstrumentNurse.RowHeadersDefaultCellStyle = dataGridViewCellStyle23; + dataGridViewCellStyle111.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle111.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle111.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle111.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle111.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle111.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle111.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvInstrumentNurse.RowHeadersDefaultCellStyle = dataGridViewCellStyle111; this.dgvInstrumentNurse.RowHeadersVisible = false; this.dgvInstrumentNurse.RowTemplate.Height = 23; this.dgvInstrumentNurse.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -1171,8 +1174,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn49 // this.dataGridViewTextBoxColumn49.DataPropertyName = "Id"; - dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle12; + dataGridViewCellStyle100.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn49.DefaultCellStyle = dataGridViewCellStyle100; this.dataGridViewTextBoxColumn49.HeaderText = ""; this.dataGridViewTextBoxColumn49.Name = "dataGridViewTextBoxColumn49"; this.dataGridViewTextBoxColumn49.ReadOnly = true; @@ -1182,9 +1185,9 @@ namespace AIMS.OperationFront.UI // iName // this.iName.DataPropertyName = "Name"; - dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle13.Font = new System.Drawing.Font("΢ź", 12F); - this.iName.DefaultCellStyle = dataGridViewCellStyle13; + dataGridViewCellStyle101.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle101.Font = new System.Drawing.Font("΢ź", 12F); + this.iName.DefaultCellStyle = dataGridViewCellStyle101; this.iName.HeaderText = ""; this.iName.Name = "iName"; this.iName.ReadOnly = true; @@ -1201,8 +1204,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn52 // this.dataGridViewTextBoxColumn52.DataPropertyName = "RowNumber"; - dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn52.DefaultCellStyle = dataGridViewCellStyle14; + dataGridViewCellStyle102.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn52.DefaultCellStyle = dataGridViewCellStyle102; this.dataGridViewTextBoxColumn52.HeaderText = ""; this.dataGridViewTextBoxColumn52.Name = "dataGridViewTextBoxColumn52"; this.dataGridViewTextBoxColumn52.ReadOnly = true; @@ -1211,8 +1214,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn53 // - dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle15; + dataGridViewCellStyle103.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn53.DefaultCellStyle = dataGridViewCellStyle103; this.dataGridViewTextBoxColumn53.HeaderText = "Mon"; this.dataGridViewTextBoxColumn53.Name = "dataGridViewTextBoxColumn53"; this.dataGridViewTextBoxColumn53.ReadOnly = true; @@ -1220,8 +1223,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn54 // - dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn54.DefaultCellStyle = dataGridViewCellStyle16; + dataGridViewCellStyle104.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn54.DefaultCellStyle = dataGridViewCellStyle104; this.dataGridViewTextBoxColumn54.HeaderText = "Tues"; this.dataGridViewTextBoxColumn54.Name = "dataGridViewTextBoxColumn54"; this.dataGridViewTextBoxColumn54.ReadOnly = true; @@ -1229,8 +1232,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn55 // - dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle17; + dataGridViewCellStyle105.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn55.DefaultCellStyle = dataGridViewCellStyle105; this.dataGridViewTextBoxColumn55.HeaderText = "Wed"; this.dataGridViewTextBoxColumn55.Name = "dataGridViewTextBoxColumn55"; this.dataGridViewTextBoxColumn55.ReadOnly = true; @@ -1238,8 +1241,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn56 // - dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle18; + dataGridViewCellStyle106.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn56.DefaultCellStyle = dataGridViewCellStyle106; this.dataGridViewTextBoxColumn56.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn56.Name = "dataGridViewTextBoxColumn56"; this.dataGridViewTextBoxColumn56.ReadOnly = true; @@ -1247,8 +1250,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn57 // - dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn57.DefaultCellStyle = dataGridViewCellStyle19; + dataGridViewCellStyle107.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn57.DefaultCellStyle = dataGridViewCellStyle107; this.dataGridViewTextBoxColumn57.HeaderText = "Fri"; this.dataGridViewTextBoxColumn57.Name = "dataGridViewTextBoxColumn57"; this.dataGridViewTextBoxColumn57.ReadOnly = true; @@ -1256,8 +1259,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn58 // - dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn58.DefaultCellStyle = dataGridViewCellStyle20; + dataGridViewCellStyle108.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn58.DefaultCellStyle = dataGridViewCellStyle108; this.dataGridViewTextBoxColumn58.HeaderText = "Sat"; this.dataGridViewTextBoxColumn58.Name = "dataGridViewTextBoxColumn58"; this.dataGridViewTextBoxColumn58.ReadOnly = true; @@ -1265,8 +1268,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn59 // - dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle21; + dataGridViewCellStyle109.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn59.DefaultCellStyle = dataGridViewCellStyle109; this.dataGridViewTextBoxColumn59.HeaderText = "Sun"; this.dataGridViewTextBoxColumn59.Name = "dataGridViewTextBoxColumn59"; this.dataGridViewTextBoxColumn59.ReadOnly = true; @@ -1400,6 +1403,7 @@ namespace AIMS.OperationFront.UI // // navigationPanePanel5 // + this.navigationPanePanel5.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPanePanel5.Controls.Add(this.v); this.navigationPanePanel5.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel5.Dock = System.Windows.Forms.DockStyle.Fill; @@ -1410,7 +1414,6 @@ namespace AIMS.OperationFront.UI this.navigationPanePanel5.Size = new System.Drawing.Size(295, 545); this.navigationPanePanel5.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel5.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.navigationPanePanel5.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.navigationPanePanel5.Style.BackgroundImagePosition = DevComponents.DotNetBar.eBackgroundImagePosition.Tile; this.navigationPanePanel5.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; this.navigationPanePanel5.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; @@ -1449,14 +1452,14 @@ namespace AIMS.OperationFront.UI this.dgvTourNurse.AllowUserToResizeRows = false; this.dgvTourNurse.BackgroundColor = System.Drawing.Color.White; this.dgvTourNurse.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle24.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle24.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle24.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle24.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle24.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvTourNurse.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle24; + dataGridViewCellStyle112.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle112.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle112.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle112.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle112.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle112.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle112.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvTourNurse.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle112; this.dgvTourNurse.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvTourNurse.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewCheckBoxColumn4, @@ -1471,28 +1474,28 @@ namespace AIMS.OperationFront.UI this.dataGridViewTextBoxColumn68, this.dataGridViewTextBoxColumn69, this.dataGridViewTextBoxColumn70}); - dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle35.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle35.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle35.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle35.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvTourNurse.DefaultCellStyle = dataGridViewCellStyle35; + dataGridViewCellStyle123.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle123.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle123.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle123.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle123.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle123.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle123.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvTourNurse.DefaultCellStyle = dataGridViewCellStyle123; this.dgvTourNurse.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvTourNurse.EnableHeadersVisualStyles = false; this.dgvTourNurse.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvTourNurse.Location = new System.Drawing.Point(0, 95); this.dgvTourNurse.Name = "dgvTourNurse"; this.dgvTourNurse.ReadOnly = true; - dataGridViewCellStyle36.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle36.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle36.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle36.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle36.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle36.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle36.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvTourNurse.RowHeadersDefaultCellStyle = dataGridViewCellStyle36; + dataGridViewCellStyle124.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle124.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle124.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle124.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle124.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle124.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle124.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvTourNurse.RowHeadersDefaultCellStyle = dataGridViewCellStyle124; this.dgvTourNurse.RowHeadersVisible = false; this.dgvTourNurse.RowTemplate.Height = 23; this.dgvTourNurse.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; @@ -1512,8 +1515,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn60 // this.dataGridViewTextBoxColumn60.DataPropertyName = "Id"; - dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle25; + dataGridViewCellStyle113.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn60.DefaultCellStyle = dataGridViewCellStyle113; this.dataGridViewTextBoxColumn60.HeaderText = ""; this.dataGridViewTextBoxColumn60.Name = "dataGridViewTextBoxColumn60"; this.dataGridViewTextBoxColumn60.ReadOnly = true; @@ -1523,9 +1526,9 @@ namespace AIMS.OperationFront.UI // tName // this.tName.DataPropertyName = "Name"; - dataGridViewCellStyle26.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle26.Font = new System.Drawing.Font("΢ź", 12F); - this.tName.DefaultCellStyle = dataGridViewCellStyle26; + dataGridViewCellStyle114.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle114.Font = new System.Drawing.Font("΢ź", 12F); + this.tName.DefaultCellStyle = dataGridViewCellStyle114; this.tName.HeaderText = ""; this.tName.Name = "tName"; this.tName.ReadOnly = true; @@ -1542,8 +1545,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn63 // this.dataGridViewTextBoxColumn63.DataPropertyName = "RowNumber"; - dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle27; + dataGridViewCellStyle115.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn63.DefaultCellStyle = dataGridViewCellStyle115; this.dataGridViewTextBoxColumn63.HeaderText = ""; this.dataGridViewTextBoxColumn63.Name = "dataGridViewTextBoxColumn63"; this.dataGridViewTextBoxColumn63.ReadOnly = true; @@ -1552,8 +1555,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn64 // - dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle28; + dataGridViewCellStyle116.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn64.DefaultCellStyle = dataGridViewCellStyle116; this.dataGridViewTextBoxColumn64.HeaderText = "Mon"; this.dataGridViewTextBoxColumn64.Name = "dataGridViewTextBoxColumn64"; this.dataGridViewTextBoxColumn64.ReadOnly = true; @@ -1561,8 +1564,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn65 // - dataGridViewCellStyle29.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn65.DefaultCellStyle = dataGridViewCellStyle29; + dataGridViewCellStyle117.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn65.DefaultCellStyle = dataGridViewCellStyle117; this.dataGridViewTextBoxColumn65.HeaderText = "Tues"; this.dataGridViewTextBoxColumn65.Name = "dataGridViewTextBoxColumn65"; this.dataGridViewTextBoxColumn65.ReadOnly = true; @@ -1570,8 +1573,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn66 // - dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle30; + dataGridViewCellStyle118.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn66.DefaultCellStyle = dataGridViewCellStyle118; this.dataGridViewTextBoxColumn66.HeaderText = "Wed"; this.dataGridViewTextBoxColumn66.Name = "dataGridViewTextBoxColumn66"; this.dataGridViewTextBoxColumn66.ReadOnly = true; @@ -1579,8 +1582,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn67 // - dataGridViewCellStyle31.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn67.DefaultCellStyle = dataGridViewCellStyle31; + dataGridViewCellStyle119.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn67.DefaultCellStyle = dataGridViewCellStyle119; this.dataGridViewTextBoxColumn67.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn67.Name = "dataGridViewTextBoxColumn67"; this.dataGridViewTextBoxColumn67.ReadOnly = true; @@ -1588,8 +1591,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn68 // - dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle32; + dataGridViewCellStyle120.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn68.DefaultCellStyle = dataGridViewCellStyle120; this.dataGridViewTextBoxColumn68.HeaderText = "Fri"; this.dataGridViewTextBoxColumn68.Name = "dataGridViewTextBoxColumn68"; this.dataGridViewTextBoxColumn68.ReadOnly = true; @@ -1597,8 +1600,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn69 // - dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn69.DefaultCellStyle = dataGridViewCellStyle33; + dataGridViewCellStyle121.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn69.DefaultCellStyle = dataGridViewCellStyle121; this.dataGridViewTextBoxColumn69.HeaderText = "Sat"; this.dataGridViewTextBoxColumn69.Name = "dataGridViewTextBoxColumn69"; this.dataGridViewTextBoxColumn69.ReadOnly = true; @@ -1606,8 +1609,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn70 // - dataGridViewCellStyle34.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn70.DefaultCellStyle = dataGridViewCellStyle34; + dataGridViewCellStyle122.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn70.DefaultCellStyle = dataGridViewCellStyle122; this.dataGridViewTextBoxColumn70.HeaderText = "Sun"; this.dataGridViewTextBoxColumn70.Name = "dataGridViewTextBoxColumn70"; this.dataGridViewTextBoxColumn70.ReadOnly = true; @@ -1741,6 +1744,7 @@ namespace AIMS.OperationFront.UI // // navigationPanePanel2 // + this.navigationPanePanel2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.Office2013; this.navigationPanePanel2.Controls.Add(this.groupBox1); this.navigationPanePanel2.DisabledBackColor = System.Drawing.Color.Empty; this.navigationPanePanel2.Dock = System.Windows.Forms.DockStyle.Fill; @@ -1748,10 +1752,9 @@ namespace AIMS.OperationFront.UI this.navigationPanePanel2.Margin = new System.Windows.Forms.Padding(0); this.navigationPanePanel2.Name = "navigationPanePanel2"; this.navigationPanePanel2.ParentItem = this.buttonItemAnas; - this.navigationPanePanel2.Size = new System.Drawing.Size(295, 735); + this.navigationPanePanel2.Size = new System.Drawing.Size(295, 545); this.navigationPanePanel2.Style.Alignment = System.Drawing.StringAlignment.Center; this.navigationPanePanel2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground; - this.navigationPanePanel2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2; this.navigationPanePanel2.Style.BackgroundImagePosition = DevComponents.DotNetBar.eBackgroundImagePosition.Tile; this.navigationPanePanel2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; this.navigationPanePanel2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.ItemText; @@ -1775,7 +1778,7 @@ namespace AIMS.OperationFront.UI this.groupBox1.Margin = new System.Windows.Forms.Padding(0); this.groupBox1.Name = "groupBox1"; this.groupBox1.Padding = new System.Windows.Forms.Padding(0); - this.groupBox1.Size = new System.Drawing.Size(295, 735); + this.groupBox1.Size = new System.Drawing.Size(295, 545); this.groupBox1.TabIndex = 460; this.groupBox1.TabStop = false; this.groupBox1.Text = "ҽʦ"; @@ -1788,14 +1791,14 @@ namespace AIMS.OperationFront.UI this.dgvWorkers.AllowUserToResizeRows = false; this.dgvWorkers.BackgroundColor = System.Drawing.Color.White; this.dgvWorkers.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle37.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle37.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle37.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle37.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle37.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle37.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvWorkers.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle37; + dataGridViewCellStyle125.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle125.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle125.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle125.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle125.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle125.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle125.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvWorkers.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle125; this.dgvWorkers.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvWorkers.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.Check, @@ -1810,32 +1813,32 @@ namespace AIMS.OperationFront.UI this.Fri, this.Sat, this.Sun}); - dataGridViewCellStyle48.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle48.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle48.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle48.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle48.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle48.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle48.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvWorkers.DefaultCellStyle = dataGridViewCellStyle48; + dataGridViewCellStyle136.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle136.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle136.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle136.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle136.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle136.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle136.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvWorkers.DefaultCellStyle = dataGridViewCellStyle136; this.dgvWorkers.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvWorkers.EnableHeadersVisualStyles = false; this.dgvWorkers.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); this.dgvWorkers.Location = new System.Drawing.Point(0, 92); this.dgvWorkers.Name = "dgvWorkers"; this.dgvWorkers.ReadOnly = true; - dataGridViewCellStyle49.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle49.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle49.Font = new System.Drawing.Font("΢ź", 10F); - dataGridViewCellStyle49.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle49.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle49.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle49.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvWorkers.RowHeadersDefaultCellStyle = dataGridViewCellStyle49; + dataGridViewCellStyle137.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle137.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle137.Font = new System.Drawing.Font("΢ź", 10F); + dataGridViewCellStyle137.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle137.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle137.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle137.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvWorkers.RowHeadersDefaultCellStyle = dataGridViewCellStyle137; this.dgvWorkers.RowHeadersVisible = false; this.dgvWorkers.RowTemplate.Height = 23; this.dgvWorkers.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvWorkers.Size = new System.Drawing.Size(295, 643); + this.dgvWorkers.Size = new System.Drawing.Size(295, 453); this.dgvWorkers.TabIndex = 3; this.dgvWorkers.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvWorkers_CellDoubleClick); // @@ -1851,8 +1854,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn2 // this.dataGridViewTextBoxColumn2.DataPropertyName = "Id"; - dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle38; + dataGridViewCellStyle126.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn2.DefaultCellStyle = dataGridViewCellStyle126; this.dataGridViewTextBoxColumn2.HeaderText = ""; this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; this.dataGridViewTextBoxColumn2.ReadOnly = true; @@ -1862,9 +1865,9 @@ namespace AIMS.OperationFront.UI // oName // this.oName.DataPropertyName = "Name"; - dataGridViewCellStyle39.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle39.Font = new System.Drawing.Font("΢ź", 12F); - this.oName.DefaultCellStyle = dataGridViewCellStyle39; + dataGridViewCellStyle127.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle127.Font = new System.Drawing.Font("΢ź", 12F); + this.oName.DefaultCellStyle = dataGridViewCellStyle127; this.oName.HeaderText = ""; this.oName.Name = "oName"; this.oName.ReadOnly = true; @@ -1881,8 +1884,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn1 // this.dataGridViewTextBoxColumn1.DataPropertyName = "RowNumber"; - dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle40; + dataGridViewCellStyle128.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle128; this.dataGridViewTextBoxColumn1.HeaderText = ""; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.ReadOnly = true; @@ -1891,8 +1894,8 @@ namespace AIMS.OperationFront.UI // // Mon // - dataGridViewCellStyle41.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Mon.DefaultCellStyle = dataGridViewCellStyle41; + dataGridViewCellStyle129.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Mon.DefaultCellStyle = dataGridViewCellStyle129; this.Mon.HeaderText = "Mon"; this.Mon.Name = "Mon"; this.Mon.ReadOnly = true; @@ -1900,8 +1903,8 @@ namespace AIMS.OperationFront.UI // // Tues // - dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Tues.DefaultCellStyle = dataGridViewCellStyle42; + dataGridViewCellStyle130.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Tues.DefaultCellStyle = dataGridViewCellStyle130; this.Tues.HeaderText = "Tues"; this.Tues.Name = "Tues"; this.Tues.ReadOnly = true; @@ -1909,8 +1912,8 @@ namespace AIMS.OperationFront.UI // // Wed // - dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Wed.DefaultCellStyle = dataGridViewCellStyle43; + dataGridViewCellStyle131.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Wed.DefaultCellStyle = dataGridViewCellStyle131; this.Wed.HeaderText = "Wed"; this.Wed.Name = "Wed"; this.Wed.ReadOnly = true; @@ -1918,8 +1921,8 @@ namespace AIMS.OperationFront.UI // // Thurs // - dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Thurs.DefaultCellStyle = dataGridViewCellStyle44; + dataGridViewCellStyle132.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Thurs.DefaultCellStyle = dataGridViewCellStyle132; this.Thurs.HeaderText = "Thurs"; this.Thurs.Name = "Thurs"; this.Thurs.ReadOnly = true; @@ -1927,8 +1930,8 @@ namespace AIMS.OperationFront.UI // // Fri // - dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Fri.DefaultCellStyle = dataGridViewCellStyle45; + dataGridViewCellStyle133.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Fri.DefaultCellStyle = dataGridViewCellStyle133; this.Fri.HeaderText = "Fri"; this.Fri.Name = "Fri"; this.Fri.ReadOnly = true; @@ -1936,8 +1939,8 @@ namespace AIMS.OperationFront.UI // // Sat // - dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Sat.DefaultCellStyle = dataGridViewCellStyle46; + dataGridViewCellStyle134.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Sat.DefaultCellStyle = dataGridViewCellStyle134; this.Sat.HeaderText = "Sat"; this.Sat.Name = "Sat"; this.Sat.ReadOnly = true; @@ -1945,8 +1948,8 @@ namespace AIMS.OperationFront.UI // // Sun // - dataGridViewCellStyle47.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.Sun.DefaultCellStyle = dataGridViewCellStyle47; + dataGridViewCellStyle135.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.Sun.DefaultCellStyle = dataGridViewCellStyle135; this.Sun.HeaderText = "Sun"; this.Sun.Name = "Sun"; this.Sun.ReadOnly = true; @@ -2200,8 +2203,8 @@ namespace AIMS.OperationFront.UI this.dgvDetail.ContextMenuStrip = this.ctsThisRoom; this.dgvDetail.DefaultVisualStyles.CellStyles.Default.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True; this.dgvDetail.DefaultVisualStyles.GridPanelStyle.AllowWrap = DevComponents.DotNetBar.SuperGrid.Style.Tbool.True; - background1.Color1 = System.Drawing.SystemColors.Control; - this.dgvDetail.DefaultVisualStyles.GridPanelStyle.Background = background1; + background3.Color1 = System.Drawing.SystemColors.Control; + this.dgvDetail.DefaultVisualStyles.GridPanelStyle.Background = background3; this.dgvDetail.FilterExprColors.SysFunction = System.Drawing.Color.DarkRed; this.dgvDetail.ForeColor = System.Drawing.Color.Black; this.dgvDetail.Location = new System.Drawing.Point(32, 45); @@ -2226,8 +2229,8 @@ namespace AIMS.OperationFront.UI this.dgvDetail.PrimaryGrid.Columns.Add(this.colRemarks); this.dgvDetail.PrimaryGrid.Columns.Add(this.colDel); this.dgvDetail.PrimaryGrid.Columns.Add(this.gridColumn2); - background2.Color1 = System.Drawing.Color.Transparent; - this.dgvDetail.PrimaryGrid.DefaultVisualStyles.CellStyles.Default.Background = background2; + background4.Color1 = System.Drawing.Color.Transparent; + this.dgvDetail.PrimaryGrid.DefaultVisualStyles.CellStyles.Default.Background = background4; this.dgvDetail.PrimaryGrid.ImmediateResize = true; this.dgvDetail.PrimaryGrid.MultiSelect = false; this.dgvDetail.PrimaryGrid.RowHeaderWidth = 30; @@ -3004,8 +3007,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn4 // this.dataGridViewTextBoxColumn4.DataPropertyName = "Name"; - dataGridViewCellStyle50.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle50; + dataGridViewCellStyle138.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle138; this.dataGridViewTextBoxColumn4.HeaderText = ""; this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; this.dataGridViewTextBoxColumn4.ReadOnly = true; @@ -3015,8 +3018,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn5 // this.dataGridViewTextBoxColumn5.DataPropertyName = "deptName"; - dataGridViewCellStyle51.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle51; + dataGridViewCellStyle139.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle139; this.dataGridViewTextBoxColumn5.HeaderText = ""; this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; this.dataGridViewTextBoxColumn5.ReadOnly = true; @@ -3025,8 +3028,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn6 // - dataGridViewCellStyle52.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle52; + dataGridViewCellStyle140.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle140; this.dataGridViewTextBoxColumn6.HeaderText = "Mon"; this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; this.dataGridViewTextBoxColumn6.ReadOnly = true; @@ -3035,8 +3038,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn7 // this.dataGridViewTextBoxColumn7.DataPropertyName = "RowNumber"; - dataGridViewCellStyle53.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle53; + dataGridViewCellStyle141.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn7.DefaultCellStyle = dataGridViewCellStyle141; this.dataGridViewTextBoxColumn7.HeaderText = ""; this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; this.dataGridViewTextBoxColumn7.ReadOnly = true; @@ -3045,8 +3048,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn8 // - dataGridViewCellStyle54.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle54; + dataGridViewCellStyle142.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn8.DefaultCellStyle = dataGridViewCellStyle142; this.dataGridViewTextBoxColumn8.HeaderText = "Tues"; this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; this.dataGridViewTextBoxColumn8.ReadOnly = true; @@ -3054,8 +3057,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn9 // - dataGridViewCellStyle55.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle55; + dataGridViewCellStyle143.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle143; this.dataGridViewTextBoxColumn9.HeaderText = "Wed"; this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; this.dataGridViewTextBoxColumn9.ReadOnly = true; @@ -3063,8 +3066,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn10 // - dataGridViewCellStyle56.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle56; + dataGridViewCellStyle144.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn10.DefaultCellStyle = dataGridViewCellStyle144; this.dataGridViewTextBoxColumn10.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; this.dataGridViewTextBoxColumn10.ReadOnly = true; @@ -3072,8 +3075,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn11 // - dataGridViewCellStyle57.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle57; + dataGridViewCellStyle145.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn11.DefaultCellStyle = dataGridViewCellStyle145; this.dataGridViewTextBoxColumn11.HeaderText = "Fri"; this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; this.dataGridViewTextBoxColumn11.ReadOnly = true; @@ -3082,8 +3085,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn12 // this.dataGridViewTextBoxColumn12.DataPropertyName = "Id"; - dataGridViewCellStyle58.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle58; + dataGridViewCellStyle146.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn12.DefaultCellStyle = dataGridViewCellStyle146; this.dataGridViewTextBoxColumn12.HeaderText = "Sat"; this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; this.dataGridViewTextBoxColumn12.ReadOnly = true; @@ -3093,8 +3096,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn13 // this.dataGridViewTextBoxColumn13.DataPropertyName = "Name"; - dataGridViewCellStyle59.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle59; + dataGridViewCellStyle147.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn13.DefaultCellStyle = dataGridViewCellStyle147; this.dataGridViewTextBoxColumn13.HeaderText = "Sun"; this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; this.dataGridViewTextBoxColumn13.ReadOnly = true; @@ -3104,8 +3107,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn14 // this.dataGridViewTextBoxColumn14.DataPropertyName = "Id"; - dataGridViewCellStyle60.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle60; + dataGridViewCellStyle148.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle148; this.dataGridViewTextBoxColumn14.HeaderText = ""; this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; this.dataGridViewTextBoxColumn14.ReadOnly = true; @@ -3115,8 +3118,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn15 // this.dataGridViewTextBoxColumn15.DataPropertyName = "Name"; - dataGridViewCellStyle61.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle61; + dataGridViewCellStyle149.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn15.DefaultCellStyle = dataGridViewCellStyle149; this.dataGridViewTextBoxColumn15.HeaderText = ""; this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; this.dataGridViewTextBoxColumn15.ReadOnly = true; @@ -3126,8 +3129,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn16 // this.dataGridViewTextBoxColumn16.DataPropertyName = "RowNumber"; - dataGridViewCellStyle62.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle62; + dataGridViewCellStyle150.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn16.DefaultCellStyle = dataGridViewCellStyle150; this.dataGridViewTextBoxColumn16.HeaderText = ""; this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; this.dataGridViewTextBoxColumn16.ReadOnly = true; @@ -3137,8 +3140,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn17 // this.dataGridViewTextBoxColumn17.DataPropertyName = "deptName"; - dataGridViewCellStyle63.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle63; + dataGridViewCellStyle151.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle151; this.dataGridViewTextBoxColumn17.HeaderText = ""; this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; this.dataGridViewTextBoxColumn17.ReadOnly = true; @@ -3147,8 +3150,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn18 // - dataGridViewCellStyle64.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle64; + dataGridViewCellStyle152.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn18.DefaultCellStyle = dataGridViewCellStyle152; this.dataGridViewTextBoxColumn18.HeaderText = "Mon"; this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; this.dataGridViewTextBoxColumn18.ReadOnly = true; @@ -3156,8 +3159,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn19 // - dataGridViewCellStyle65.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle65; + dataGridViewCellStyle153.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn19.DefaultCellStyle = dataGridViewCellStyle153; this.dataGridViewTextBoxColumn19.HeaderText = "Tues"; this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; this.dataGridViewTextBoxColumn19.ReadOnly = true; @@ -3165,8 +3168,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn20 // - dataGridViewCellStyle66.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle66; + dataGridViewCellStyle154.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn20.DefaultCellStyle = dataGridViewCellStyle154; this.dataGridViewTextBoxColumn20.HeaderText = "Wed"; this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; this.dataGridViewTextBoxColumn20.ReadOnly = true; @@ -3175,8 +3178,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn21 // this.dataGridViewTextBoxColumn21.DataPropertyName = "Id"; - dataGridViewCellStyle67.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle67; + dataGridViewCellStyle155.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle155; this.dataGridViewTextBoxColumn21.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; this.dataGridViewTextBoxColumn21.ReadOnly = true; @@ -3186,8 +3189,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn22 // this.dataGridViewTextBoxColumn22.DataPropertyName = "Name"; - dataGridViewCellStyle68.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle68; + dataGridViewCellStyle156.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn22.DefaultCellStyle = dataGridViewCellStyle156; this.dataGridViewTextBoxColumn22.HeaderText = "Fri"; this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; this.dataGridViewTextBoxColumn22.ReadOnly = true; @@ -3196,8 +3199,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn23 // this.dataGridViewTextBoxColumn23.DataPropertyName = "Id"; - dataGridViewCellStyle69.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle69; + dataGridViewCellStyle157.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn23.DefaultCellStyle = dataGridViewCellStyle157; this.dataGridViewTextBoxColumn23.HeaderText = "Sat"; this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; this.dataGridViewTextBoxColumn23.ReadOnly = true; @@ -3207,8 +3210,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn24 // this.dataGridViewTextBoxColumn24.DataPropertyName = "Name"; - dataGridViewCellStyle70.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle70; + dataGridViewCellStyle158.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn24.DefaultCellStyle = dataGridViewCellStyle158; this.dataGridViewTextBoxColumn24.HeaderText = "Sun"; this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; this.dataGridViewTextBoxColumn24.ReadOnly = true; @@ -3218,8 +3221,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn25 // this.dataGridViewTextBoxColumn25.DataPropertyName = "deptName"; - dataGridViewCellStyle71.Font = new System.Drawing.Font("΢ź", 12F); - this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle71; + dataGridViewCellStyle159.Font = new System.Drawing.Font("΢ź", 12F); + this.dataGridViewTextBoxColumn25.DefaultCellStyle = dataGridViewCellStyle159; this.dataGridViewTextBoxColumn25.HeaderText = ""; this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25"; this.dataGridViewTextBoxColumn25.ReadOnly = true; @@ -3229,8 +3232,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn26 // this.dataGridViewTextBoxColumn26.DataPropertyName = "RowNumber"; - dataGridViewCellStyle72.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle72; + dataGridViewCellStyle160.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + this.dataGridViewTextBoxColumn26.DefaultCellStyle = dataGridViewCellStyle160; this.dataGridViewTextBoxColumn26.HeaderText = ""; this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26"; this.dataGridViewTextBoxColumn26.ReadOnly = true; @@ -3239,8 +3242,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn27 // - dataGridViewCellStyle73.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle73; + dataGridViewCellStyle161.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn27.DefaultCellStyle = dataGridViewCellStyle161; this.dataGridViewTextBoxColumn27.HeaderText = "Mon"; this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27"; this.dataGridViewTextBoxColumn27.ReadOnly = true; @@ -3248,8 +3251,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn28 // - dataGridViewCellStyle74.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle74; + dataGridViewCellStyle162.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn28.DefaultCellStyle = dataGridViewCellStyle162; this.dataGridViewTextBoxColumn28.HeaderText = "Tues"; this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28"; this.dataGridViewTextBoxColumn28.ReadOnly = true; @@ -3257,8 +3260,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn29 // - dataGridViewCellStyle75.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn29.DefaultCellStyle = dataGridViewCellStyle75; + dataGridViewCellStyle163.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn29.DefaultCellStyle = dataGridViewCellStyle163; this.dataGridViewTextBoxColumn29.HeaderText = "Wed"; this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29"; this.dataGridViewTextBoxColumn29.ReadOnly = true; @@ -3266,8 +3269,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn30 // - dataGridViewCellStyle76.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn30.DefaultCellStyle = dataGridViewCellStyle76; + dataGridViewCellStyle164.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn30.DefaultCellStyle = dataGridViewCellStyle164; this.dataGridViewTextBoxColumn30.HeaderText = "Thurs"; this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30"; this.dataGridViewTextBoxColumn30.ReadOnly = true; @@ -3275,8 +3278,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn31 // - dataGridViewCellStyle77.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle77; + dataGridViewCellStyle165.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn31.DefaultCellStyle = dataGridViewCellStyle165; this.dataGridViewTextBoxColumn31.HeaderText = "Fri"; this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31"; this.dataGridViewTextBoxColumn31.ReadOnly = true; @@ -3284,8 +3287,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn32 // - dataGridViewCellStyle78.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle78; + dataGridViewCellStyle166.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn32.DefaultCellStyle = dataGridViewCellStyle166; this.dataGridViewTextBoxColumn32.HeaderText = "Sat"; this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32"; this.dataGridViewTextBoxColumn32.ReadOnly = true; @@ -3294,8 +3297,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn33 // this.dataGridViewTextBoxColumn33.DataPropertyName = "Id"; - dataGridViewCellStyle79.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn33.DefaultCellStyle = dataGridViewCellStyle79; + dataGridViewCellStyle167.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn33.DefaultCellStyle = dataGridViewCellStyle167; this.dataGridViewTextBoxColumn33.HeaderText = "Sun"; this.dataGridViewTextBoxColumn33.Name = "dataGridViewTextBoxColumn33"; this.dataGridViewTextBoxColumn33.ReadOnly = true; @@ -3305,9 +3308,9 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn34 // this.dataGridViewTextBoxColumn34.DataPropertyName = "Name"; - dataGridViewCellStyle80.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle80.Font = new System.Drawing.Font("΢ź", 12F); - this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle80; + dataGridViewCellStyle168.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle168.Font = new System.Drawing.Font("΢ź", 12F); + this.dataGridViewTextBoxColumn34.DefaultCellStyle = dataGridViewCellStyle168; this.dataGridViewTextBoxColumn34.HeaderText = ""; this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34"; this.dataGridViewTextBoxColumn34.ReadOnly = true; @@ -3326,8 +3329,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn36 // this.dataGridViewTextBoxColumn36.DataPropertyName = "RowNumber"; - dataGridViewCellStyle81.Font = new System.Drawing.Font("΢ź", 14F); - this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle81; + dataGridViewCellStyle169.Font = new System.Drawing.Font("΢ź", 14F); + this.dataGridViewTextBoxColumn36.DefaultCellStyle = dataGridViewCellStyle169; this.dataGridViewTextBoxColumn36.HeaderText = ""; this.dataGridViewTextBoxColumn36.Name = "dataGridViewTextBoxColumn36"; this.dataGridViewTextBoxColumn36.ReadOnly = true; @@ -3338,8 +3341,8 @@ namespace AIMS.OperationFront.UI // dataGridViewTextBoxColumn37 // this.dataGridViewTextBoxColumn37.DataPropertyName = "OperationPriorityId "; - dataGridViewCellStyle82.Font = new System.Drawing.Font("΢ź", 14F); - this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle82; + dataGridViewCellStyle170.Font = new System.Drawing.Font("΢ź", 14F); + this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle170; this.dataGridViewTextBoxColumn37.HeaderText = "ҽʦ"; this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37"; this.dataGridViewTextBoxColumn37.ReadOnly = true; @@ -3348,8 +3351,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn38 // - dataGridViewCellStyle83.Font = new System.Drawing.Font("΢ź", 14F); - this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle83; + dataGridViewCellStyle171.Font = new System.Drawing.Font("΢ź", 14F); + this.dataGridViewTextBoxColumn38.DefaultCellStyle = dataGridViewCellStyle171; this.dataGridViewTextBoxColumn38.HeaderText = "ʱ"; this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38"; this.dataGridViewTextBoxColumn38.ReadOnly = true; @@ -3358,8 +3361,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn39 // - dataGridViewCellStyle84.Font = new System.Drawing.Font("΢ź", 11F); - this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle84; + dataGridViewCellStyle172.Font = new System.Drawing.Font("΢ź", 11F); + this.dataGridViewTextBoxColumn39.DefaultCellStyle = dataGridViewCellStyle172; this.dataGridViewTextBoxColumn39.HeaderText = ""; this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39"; this.dataGridViewTextBoxColumn39.ReadOnly = true; @@ -3368,8 +3371,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn40 // - dataGridViewCellStyle85.Font = new System.Drawing.Font("΢ź", 11F); - this.dataGridViewTextBoxColumn40.DefaultCellStyle = dataGridViewCellStyle85; + dataGridViewCellStyle173.Font = new System.Drawing.Font("΢ź", 11F); + this.dataGridViewTextBoxColumn40.DefaultCellStyle = dataGridViewCellStyle173; this.dataGridViewTextBoxColumn40.HeaderText = ""; this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40"; this.dataGridViewTextBoxColumn40.ReadOnly = true; @@ -3378,8 +3381,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn41 // - dataGridViewCellStyle86.Font = new System.Drawing.Font("΢ź", 12F); - this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle86; + dataGridViewCellStyle174.Font = new System.Drawing.Font("΢ź", 12F); + this.dataGridViewTextBoxColumn41.DefaultCellStyle = dataGridViewCellStyle174; this.dataGridViewTextBoxColumn41.HeaderText = ""; this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41"; this.dataGridViewTextBoxColumn41.ReadOnly = true; @@ -3389,8 +3392,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn42 // - dataGridViewCellStyle87.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle87; + dataGridViewCellStyle175.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn42.DefaultCellStyle = dataGridViewCellStyle175; this.dataGridViewTextBoxColumn42.HeaderText = "ע"; this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42"; this.dataGridViewTextBoxColumn42.ReadOnly = true; @@ -3400,8 +3403,8 @@ namespace AIMS.OperationFront.UI // // dataGridViewTextBoxColumn43 // - dataGridViewCellStyle88.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle88; + dataGridViewCellStyle176.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + this.dataGridViewTextBoxColumn43.DefaultCellStyle = dataGridViewCellStyle176; this.dataGridViewTextBoxColumn43.HeaderText = "סԺ"; this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43"; this.dataGridViewTextBoxColumn43.ReadOnly = true; diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.resx b/AIMS/OperationFront/frmOperationSchedulePlan.resx index 99f0c0e..b7a3d62 100644 --- a/AIMS/OperationFront/frmOperationSchedulePlan.resx +++ b/AIMS/OperationFront/frmOperationSchedulePlan.resx @@ -251,7 +251,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD+ - CAAAAk1TRnQBSQFMAgEBAgEAAcwBEwHMARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + CAAAAk1TRnQBSQFMAgEBAgEAAdQBEwHUARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA @@ -301,6 +301,9 @@ 360, 17 + + 144, 17 + True diff --git a/AIMS/PublicUI/frmCreateTemplate.Designer.cs b/AIMS/PublicUI/frmCreateTemplate.Designer.cs index 58e80a9..feefb9a 100644 --- a/AIMS/PublicUI/frmCreateTemplate.Designer.cs +++ b/AIMS/PublicUI/frmCreateTemplate.Designer.cs @@ -28,19 +28,152 @@ /// private void InitializeComponent() { + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); this.panel1 = new System.Windows.Forms.Panel(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.tsbSava = new System.Windows.Forms.ToolStripButton(); this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); this.tsbExit = new System.Windows.Forms.ToolStripButton(); this.panel2 = new System.Windows.Forms.Panel(); + this.panel5 = new System.Windows.Forms.Panel(); + this.cboSmtz = new System.Windows.Forms.CheckBox(); + this.cboOutput = new System.Windows.Forms.CheckBox(); + this.cboEvent = new System.Windows.Forms.CheckBox(); + this.cboDrug = new System.Windows.Forms.CheckBox(); + this.panel4 = new System.Windows.Forms.Panel(); this.radioButton2 = new System.Windows.Forms.RadioButton(); this.radioButton1 = new System.Windows.Forms.RadioButton(); + this.txtOperatorName = new System.Windows.Forms.TextBox(); + this.label2 = new System.Windows.Forms.Label(); this.txtName = new System.Windows.Forms.TextBox(); this.label1 = new System.Windows.Forms.Label(); + this.panel3 = new System.Windows.Forms.Panel(); + this.tabDrugs = new DevComponents.DotNetBar.SuperTabControl(); + this.superTabControlPanel5 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvDrugsSQ = new DevComponents.DotNetBar.Controls.DataGridViewX(); + this.dataGridViewImageColumn1 = new System.Windows.Forms.DataGridViewImageColumn(); + this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn8 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn9 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn10 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn11 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewComboBoxColumn12 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewComboBoxColumn13 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewDateTimeInputColumn3 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewDateTimeInputColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.dataGridViewComboBoxColumn14 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.AddTemp = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.P2 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvEvents = new DevComponents.DotNetBar.Controls.DataGridViewX(); + this.TypeName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.EventName = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.BeginTime = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.Continue = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.EndTime = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.Value = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.Remark = new AIMS.PublicUI.UI.DataGridViewComboEditTipBoxColumn(); + this.AddTemp2 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.dgvChargsRecord = new DevComponents.DotNetBar.Controls.DataGridViewX(); + this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.P3 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvOutput = new DevComponents.DotNetBar.Controls.DataGridViewX(); + this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.OutputName = new AIMS.PublicUI.UI.DataGridViewComboEditTipBoxColumn(); + this.Dose = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.DoseUnit = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.BeginTime2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.Continue2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.EndTime2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.Remark2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.AddTemp3 = new System.Windows.Forms.DataGridViewCheckBoxColumn(); + this.P4 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel6 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.panelsmtz = new System.Windows.Forms.Panel(); + this.P5 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboEditTipBoxColumn1 = new AIMS.PublicUI.UI.DataGridViewComboEditTipBoxColumn(); + this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn1 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn2 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn3 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn4 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewComboBoxColumn5 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewComboBoxColumn6 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn7 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewImageColumn5 = new System.Windows.Forms.DataGridViewImageColumn(); + this.dataGridViewTextBoxColumn37 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn38 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn39 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboEditBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn17 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn18 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn19 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn20 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewComboBoxColumn21 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewComboBoxColumn22 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewDateTimeInputColumn1 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.dataGridViewTextBoxColumn43 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewDateTimeInputColumn2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.panel1.SuspendLayout(); this.toolStrip1.SuspendLayout(); this.panel2.SuspendLayout(); + this.panel5.SuspendLayout(); + this.panel4.SuspendLayout(); + this.panel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).BeginInit(); + this.tabDrugs.SuspendLayout(); + this.superTabControlPanel5.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).BeginInit(); + this.superTabControlPanel4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvEvents)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvChargsRecord)).BeginInit(); + this.superTabControlPanel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvOutput)).BeginInit(); + this.superTabControlPanel6.SuspendLayout(); this.SuspendLayout(); // // panel1 @@ -49,7 +182,7 @@ this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(367, 46); + this.panel1.Size = new System.Drawing.Size(1137, 46); this.panel1.TabIndex = 0; // // toolStrip1 @@ -64,7 +197,7 @@ this.tsbExit}); this.toolStrip1.Location = new System.Drawing.Point(0, 0); this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(367, 46); + this.toolStrip1.Size = new System.Drawing.Size(1137, 46); this.toolStrip1.TabIndex = 9; this.toolStrip1.Text = "toolStrip1"; // @@ -98,42 +231,123 @@ // panel2 // this.panel2.BackColor = System.Drawing.Color.AliceBlue; - this.panel2.Controls.Add(this.radioButton2); - this.panel2.Controls.Add(this.radioButton1); + this.panel2.Controls.Add(this.panel5); + this.panel2.Controls.Add(this.panel4); + this.panel2.Controls.Add(this.txtOperatorName); + this.panel2.Controls.Add(this.label2); this.panel2.Controls.Add(this.txtName); this.panel2.Controls.Add(this.label1); - this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel2.Dock = System.Windows.Forms.DockStyle.Top; this.panel2.Font = new System.Drawing.Font("宋体", 10.5F); this.panel2.Location = new System.Drawing.Point(0, 46); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(367, 98); + this.panel2.Size = new System.Drawing.Size(1137, 44); this.panel2.TabIndex = 1; // + // panel5 + // + this.panel5.Controls.Add(this.cboSmtz); + this.panel5.Controls.Add(this.cboOutput); + this.panel5.Controls.Add(this.cboEvent); + this.panel5.Controls.Add(this.cboDrug); + this.panel5.Location = new System.Drawing.Point(615, 11); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(300, 27); + this.panel5.TabIndex = 3; + // + // cboSmtz + // + this.cboSmtz.AutoSize = true; + this.cboSmtz.Location = new System.Drawing.Point(199, 5); + this.cboSmtz.Name = "cboSmtz"; + this.cboSmtz.Size = new System.Drawing.Size(82, 18); + this.cboSmtz.TabIndex = 0; + this.cboSmtz.Text = "生命体征"; + this.cboSmtz.UseVisualStyleBackColor = true; + // + // cboOutput + // + this.cboOutput.AutoSize = true; + this.cboOutput.Location = new System.Drawing.Point(137, 5); + this.cboOutput.Name = "cboOutput"; + this.cboOutput.Size = new System.Drawing.Size(54, 18); + this.cboOutput.TabIndex = 0; + this.cboOutput.Text = "出量"; + this.cboOutput.UseVisualStyleBackColor = true; + this.cboOutput.CheckedChanged += new System.EventHandler(this.cboOutput_CheckedChanged); + // + // cboEvent + // + this.cboEvent.AutoSize = true; + this.cboEvent.Location = new System.Drawing.Point(75, 5); + this.cboEvent.Name = "cboEvent"; + this.cboEvent.Size = new System.Drawing.Size(54, 18); + this.cboEvent.TabIndex = 0; + this.cboEvent.Text = "事件"; + this.cboEvent.UseVisualStyleBackColor = true; + this.cboEvent.CheckedChanged += new System.EventHandler(this.cboEvent_CheckedChanged); + // + // cboDrug + // + this.cboDrug.AutoSize = true; + this.cboDrug.Location = new System.Drawing.Point(13, 5); + this.cboDrug.Name = "cboDrug"; + this.cboDrug.Size = new System.Drawing.Size(54, 18); + this.cboDrug.TabIndex = 0; + this.cboDrug.Text = "药品"; + this.cboDrug.UseVisualStyleBackColor = true; + this.cboDrug.CheckedChanged += new System.EventHandler(this.cboDrug_CheckedChanged); + // + // panel4 + // + this.panel4.Controls.Add(this.radioButton2); + this.panel4.Controls.Add(this.radioButton1); + this.panel4.Location = new System.Drawing.Point(476, 11); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(133, 27); + this.panel4.TabIndex = 3; + // // radioButton2 // this.radioButton2.AutoSize = true; - this.radioButton2.Location = new System.Drawing.Point(175, 17); + this.radioButton2.Location = new System.Drawing.Point(63, 5); this.radioButton2.Name = "radioButton2"; - this.radioButton2.Size = new System.Drawing.Size(81, 18); + this.radioButton2.Size = new System.Drawing.Size(53, 18); this.radioButton2.TabIndex = 2; - this.radioButton2.Text = "私有模板"; + this.radioButton2.Text = "私有"; this.radioButton2.UseVisualStyleBackColor = true; // // radioButton1 // this.radioButton1.AutoSize = true; this.radioButton1.Checked = true; - this.radioButton1.Location = new System.Drawing.Point(60, 17); + this.radioButton1.Location = new System.Drawing.Point(4, 5); this.radioButton1.Name = "radioButton1"; - this.radioButton1.Size = new System.Drawing.Size(81, 18); + this.radioButton1.Size = new System.Drawing.Size(53, 18); this.radioButton1.TabIndex = 2; this.radioButton1.TabStop = true; - this.radioButton1.Text = "公有模板"; + this.radioButton1.Text = "公有"; this.radioButton1.UseVisualStyleBackColor = true; // + // txtOperatorName + // + this.txtOperatorName.Location = new System.Drawing.Point(356, 11); + this.txtOperatorName.Name = "txtOperatorName"; + this.txtOperatorName.Size = new System.Drawing.Size(103, 23); + this.txtOperatorName.TabIndex = 1; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(294, 16); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(49, 14); + this.label2.TabIndex = 0; + this.label2.Text = "创建人"; + // // txtName // - this.txtName.Location = new System.Drawing.Point(97, 41); + this.txtName.Location = new System.Drawing.Point(81, 9); this.txtName.Name = "txtName"; this.txtName.Size = new System.Drawing.Size(198, 23); this.txtName.TabIndex = 1; @@ -141,28 +355,1247 @@ // label1 // this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(27, 49); + this.label1.Location = new System.Drawing.Point(11, 14); this.label1.Name = "label1"; this.label1.Size = new System.Drawing.Size(63, 14); this.label1.TabIndex = 0; this.label1.Text = "模板名称"; // + // panel3 + // + this.panel3.BackColor = System.Drawing.Color.AliceBlue; + this.panel3.Controls.Add(this.tabDrugs); + this.panel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel3.Location = new System.Drawing.Point(0, 90); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1137, 453); + this.panel3.TabIndex = 2; + // + // tabDrugs + // + this.tabDrugs.BackColor = System.Drawing.Color.White; + // + // + // + // + // + // + this.tabDrugs.ControlBox.CloseBox.Name = ""; + // + // + // + this.tabDrugs.ControlBox.MenuBox.Name = ""; + this.tabDrugs.ControlBox.Name = ""; + this.tabDrugs.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.tabDrugs.ControlBox.MenuBox, + this.tabDrugs.ControlBox.CloseBox}); + this.tabDrugs.Controls.Add(this.superTabControlPanel6); + this.tabDrugs.Controls.Add(this.superTabControlPanel5); + this.tabDrugs.Controls.Add(this.superTabControlPanel4); + this.tabDrugs.Controls.Add(this.superTabControlPanel3); + this.tabDrugs.Controls.Add(this.superTabControlPanel1); + this.tabDrugs.Controls.Add(this.superTabControlPanel2); + this.tabDrugs.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabDrugs.ForeColor = System.Drawing.Color.Black; + this.tabDrugs.Location = new System.Drawing.Point(0, 0); + this.tabDrugs.Name = "tabDrugs"; + this.tabDrugs.ReorderTabsEnabled = true; + this.tabDrugs.SelectedTabFont = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold); + this.tabDrugs.SelectedTabIndex = 0; + this.tabDrugs.Size = new System.Drawing.Size(1137, 453); + this.tabDrugs.TabFont = new System.Drawing.Font("微软雅黑", 10.5F); + this.tabDrugs.TabIndex = 465; + this.tabDrugs.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { + this.P2, + this.P3, + this.P4, + this.P5}); + this.tabDrugs.TabStyle = DevComponents.DotNetBar.eSuperTabStyle.Office2010BackstageBlue; + // + // superTabControlPanel5 + // + this.superTabControlPanel5.Controls.Add(this.dgvDrugsSQ); + this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel5.Location = new System.Drawing.Point(0, 31); + this.superTabControlPanel5.Name = "superTabControlPanel5"; + this.superTabControlPanel5.Size = new System.Drawing.Size(1137, 422); + this.superTabControlPanel5.TabIndex = 0; + this.superTabControlPanel5.TabItem = this.P2; + this.superTabControlPanel5.Visible = false; + // + // dgvDrugsSQ + // + this.dgvDrugsSQ.AllowUserToAddRows = false; + this.dgvDrugsSQ.AllowUserToResizeColumns = false; + this.dgvDrugsSQ.AllowUserToResizeRows = false; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream; + this.dgvDrugsSQ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; + this.dgvDrugsSQ.BackgroundColor = System.Drawing.Color.White; + this.dgvDrugsSQ.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsSQ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; + this.dgvDrugsSQ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvDrugsSQ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewImageColumn1, + this.dataGridViewTextBoxColumn14, + this.dataGridViewTextBoxColumn15, + this.dataGridViewTextBoxColumn16, + this.dataGridViewTextBoxColumn17, + this.dataGridViewComboBoxColumn8, + this.dataGridViewTextBoxColumn18, + this.dataGridViewComboBoxColumn9, + this.dataGridViewTextBoxColumn19, + this.dataGridViewComboBoxColumn10, + this.dataGridViewTextBoxColumn20, + this.dataGridViewComboBoxColumn11, + this.dataGridViewComboBoxColumn12, + this.dataGridViewComboBoxColumn13, + this.dataGridViewDateTimeInputColumn3, + this.dataGridViewTextBoxColumn21, + this.dataGridViewDateTimeInputColumn4, + this.dataGridViewComboBoxColumn14, + this.AddTemp}); + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvDrugsSQ.DefaultCellStyle = dataGridViewCellStyle4; + this.dgvDrugsSQ.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvDrugsSQ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvDrugsSQ.EnableHeadersVisualStyles = false; + this.dgvDrugsSQ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); + this.dgvDrugsSQ.Location = new System.Drawing.Point(0, 0); + this.dgvDrugsSQ.Margin = new System.Windows.Forms.Padding(0); + this.dgvDrugsSQ.MultiSelect = false; + this.dgvDrugsSQ.Name = "dgvDrugsSQ"; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsSQ.RowHeadersDefaultCellStyle = dataGridViewCellStyle5; + this.dgvDrugsSQ.RowHeadersVisible = false; + this.dgvDrugsSQ.RowTemplate.Height = 25; + this.dgvDrugsSQ.ShowCellErrors = false; + this.dgvDrugsSQ.ShowCellToolTips = false; + this.dgvDrugsSQ.Size = new System.Drawing.Size(1137, 422); + this.dgvDrugsSQ.TabIndex = 17; + this.dgvDrugsSQ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugsSQ_DataError); + // + // dataGridViewImageColumn1 + // + this.dataGridViewImageColumn1.HeaderText = " "; + this.dataGridViewImageColumn1.Image = global::AIMS.Properties.Resources.SYSCRL; + this.dataGridViewImageColumn1.Name = "dataGridViewImageColumn1"; + this.dataGridViewImageColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewImageColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; + this.dataGridViewImageColumn1.Visible = false; + this.dataGridViewImageColumn1.Width = 30; + // + // dataGridViewTextBoxColumn14 + // + dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn14.DefaultCellStyle = dataGridViewCellStyle3; + this.dataGridViewTextBoxColumn14.HeaderText = "组"; + this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; + this.dataGridViewTextBoxColumn14.Width = 30; + // + // dataGridViewTextBoxColumn15 + // + this.dataGridViewTextBoxColumn15.HeaderText = "类型"; + this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; + this.dataGridViewTextBoxColumn15.Width = 60; + // + // dataGridViewTextBoxColumn16 + // + this.dataGridViewTextBoxColumn16.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.dataGridViewTextBoxColumn16.HeaderText = "名称"; + this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; + this.dataGridViewTextBoxColumn16.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // dataGridViewTextBoxColumn17 + // + this.dataGridViewTextBoxColumn17.HeaderText = "备注"; + this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; + this.dataGridViewTextBoxColumn17.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // dataGridViewComboBoxColumn8 + // + this.dataGridViewComboBoxColumn8.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn8.HeaderText = "途径"; + this.dataGridViewComboBoxColumn8.Name = "dataGridViewComboBoxColumn8"; + this.dataGridViewComboBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn8.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn8.Width = 85; + // + // dataGridViewTextBoxColumn18 + // + this.dataGridViewTextBoxColumn18.HeaderText = "浓度"; + this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; + this.dataGridViewTextBoxColumn18.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn18.Width = 45; + // + // dataGridViewComboBoxColumn9 + // + this.dataGridViewComboBoxColumn9.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn9.HeaderText = "浓度单位"; + this.dataGridViewComboBoxColumn9.Name = "dataGridViewComboBoxColumn9"; + this.dataGridViewComboBoxColumn9.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn9.Width = 75; + // + // dataGridViewTextBoxColumn19 + // + this.dataGridViewTextBoxColumn19.HeaderText = "速度"; + this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; + this.dataGridViewTextBoxColumn19.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn19.Width = 45; + // + // dataGridViewComboBoxColumn10 + // + this.dataGridViewComboBoxColumn10.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn10.HeaderText = "速度单位"; + this.dataGridViewComboBoxColumn10.Name = "dataGridViewComboBoxColumn10"; + this.dataGridViewComboBoxColumn10.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn10.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn10.Width = 85; + // + // dataGridViewTextBoxColumn20 + // + this.dataGridViewTextBoxColumn20.HeaderText = "用量"; + this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; + this.dataGridViewTextBoxColumn20.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn20.Width = 60; + // + // dataGridViewComboBoxColumn11 + // + this.dataGridViewComboBoxColumn11.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn11.HeaderText = "单位"; + this.dataGridViewComboBoxColumn11.Name = "dataGridViewComboBoxColumn11"; + this.dataGridViewComboBoxColumn11.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn11.Width = 60; + // + // dataGridViewComboBoxColumn12 + // + this.dataGridViewComboBoxColumn12.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn12.HeaderText = "血型"; + this.dataGridViewComboBoxColumn12.Name = "dataGridViewComboBoxColumn12"; + this.dataGridViewComboBoxColumn12.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn12.Visible = false; + this.dataGridViewComboBoxColumn12.Width = 45; + // + // dataGridViewComboBoxColumn13 + // + this.dataGridViewComboBoxColumn13.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn13.HeaderText = "加药方式"; + this.dataGridViewComboBoxColumn13.Name = "dataGridViewComboBoxColumn13"; + this.dataGridViewComboBoxColumn13.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn13.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn13.Visible = false; + this.dataGridViewComboBoxColumn13.Width = 80; + // + // dataGridViewDateTimeInputColumn3 + // + this.dataGridViewDateTimeInputColumn3.AutoAdvance = true; + // + // + // + this.dataGridViewDateTimeInputColumn3.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.dataGridViewDateTimeInputColumn3.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.dataGridViewDateTimeInputColumn3.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn3.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText; + this.dataGridViewDateTimeInputColumn3.ButtonDropDown.Visible = true; + this.dataGridViewDateTimeInputColumn3.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.dataGridViewDateTimeInputColumn3.HeaderText = "开始时间"; + this.dataGridViewDateTimeInputColumn3.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center; + // + // + // + // + // + // + this.dataGridViewDateTimeInputColumn3.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn3.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.dataGridViewDateTimeInputColumn3.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn3.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.dataGridViewDateTimeInputColumn3.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.dataGridViewDateTimeInputColumn3.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn3.MonthCalendar.Visible = false; + this.dataGridViewDateTimeInputColumn3.Name = "dataGridViewDateTimeInputColumn3"; + this.dataGridViewDateTimeInputColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewDateTimeInputColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewDateTimeInputColumn3.Width = 80; + // + // dataGridViewTextBoxColumn21 + // + this.dataGridViewTextBoxColumn21.HeaderText = "持续"; + this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; + this.dataGridViewTextBoxColumn21.Width = 45; + // + // dataGridViewDateTimeInputColumn4 + // + this.dataGridViewDateTimeInputColumn4.AutoAdvance = true; + // + // + // + this.dataGridViewDateTimeInputColumn4.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.dataGridViewDateTimeInputColumn4.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.dataGridViewDateTimeInputColumn4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn4.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText; + this.dataGridViewDateTimeInputColumn4.ButtonDropDown.Visible = true; + this.dataGridViewDateTimeInputColumn4.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.dataGridViewDateTimeInputColumn4.HeaderText = "结束时间"; + this.dataGridViewDateTimeInputColumn4.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left; + // + // + // + // + // + // + this.dataGridViewDateTimeInputColumn4.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn4.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.dataGridViewDateTimeInputColumn4.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn4.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.dataGridViewDateTimeInputColumn4.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.dataGridViewDateTimeInputColumn4.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn4.MonthCalendar.Visible = false; + this.dataGridViewDateTimeInputColumn4.Name = "dataGridViewDateTimeInputColumn4"; + this.dataGridViewDateTimeInputColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewDateTimeInputColumn4.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewDateTimeInputColumn4.Width = 80; + // + // dataGridViewComboBoxColumn14 + // + this.dataGridViewComboBoxColumn14.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn14.HeaderText = "通路"; + this.dataGridViewComboBoxColumn14.Items.AddRange(new object[] { + "", + "1", + "2", + "3", + "4"}); + this.dataGridViewComboBoxColumn14.Name = "dataGridViewComboBoxColumn14"; + this.dataGridViewComboBoxColumn14.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewComboBoxColumn14.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn14.Visible = false; + this.dataGridViewComboBoxColumn14.Width = 50; + // + // AddTemp + // + this.AddTemp.HeaderText = "是否保存"; + this.AddTemp.Name = "AddTemp"; + // + // P2 + // + this.P2.AttachedControl = this.superTabControlPanel5; + this.P2.GlobalItem = false; + this.P2.Name = "P2"; + this.P2.Text = "药品列表"; + // + // superTabControlPanel4 + // + this.superTabControlPanel4.Controls.Add(this.dgvEvents); + this.superTabControlPanel4.Controls.Add(this.dgvChargsRecord); + this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel4.Location = new System.Drawing.Point(0, 31); + this.superTabControlPanel4.Name = "superTabControlPanel4"; + this.superTabControlPanel4.Size = new System.Drawing.Size(1137, 422); + this.superTabControlPanel4.TabIndex = 1; + this.superTabControlPanel4.TabItem = this.P3; + // + // dgvEvents + // + this.dgvEvents.AllowUserToAddRows = false; + this.dgvEvents.AllowUserToResizeColumns = false; + this.dgvEvents.AllowUserToResizeRows = false; + dataGridViewCellStyle6.BackColor = System.Drawing.Color.MintCream; + this.dgvEvents.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; + this.dgvEvents.BackgroundColor = System.Drawing.Color.White; + this.dgvEvents.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvEvents.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; + this.dgvEvents.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvEvents.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.TypeName, + this.EventName, + this.BeginTime, + this.Continue, + this.EndTime, + this.Value, + this.Remark, + this.AddTemp2}); + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvEvents.DefaultCellStyle = dataGridViewCellStyle8; + this.dgvEvents.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvEvents.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvEvents.EnableHeadersVisualStyles = false; + this.dgvEvents.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); + this.dgvEvents.Location = new System.Drawing.Point(0, 0); + this.dgvEvents.Name = "dgvEvents"; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvEvents.RowHeadersDefaultCellStyle = dataGridViewCellStyle9; + this.dgvEvents.RowHeadersVisible = false; + this.dgvEvents.RowTemplate.Height = 23; + this.dgvEvents.ShowCellErrors = false; + this.dgvEvents.Size = new System.Drawing.Size(1137, 422); + this.dgvEvents.TabIndex = 18; + this.dgvEvents.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvEvents_CellClick); + // + // TypeName + // + this.TypeName.HeaderText = "类型"; + this.TypeName.Name = "TypeName"; + this.TypeName.Visible = false; + this.TypeName.Width = 60; + // + // EventName + // + this.EventName.HeaderText = "事件名称"; + this.EventName.Name = "EventName"; + this.EventName.Width = 290; + // + // BeginTime + // + this.BeginTime.AutoAdvance = true; + // + // + // + this.BeginTime.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.BeginTime.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.BeginTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.BeginTime.BackgroundStyle.TextColor = System.Drawing.Color.Black; + this.BeginTime.ButtonDropDown.Visible = true; + this.BeginTime.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.BeginTime.HeaderText = "开始时间"; + this.BeginTime.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left; + // + // + // + // + // + // + this.BeginTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.BeginTime.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.BeginTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.BeginTime.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.BeginTime.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.BeginTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.BeginTime.MonthCalendar.Visible = false; + this.BeginTime.Name = "BeginTime"; + this.BeginTime.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.BeginTime.Width = 90; + // + // Continue + // + this.Continue.HeaderText = "持续"; + this.Continue.Name = "Continue"; + this.Continue.Width = 60; + // + // EndTime + // + this.EndTime.AutoAdvance = true; + // + // + // + this.EndTime.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.EndTime.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.EndTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.EndTime.BackgroundStyle.TextColor = System.Drawing.Color.Black; + this.EndTime.ButtonDropDown.Visible = true; + this.EndTime.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.EndTime.HeaderText = "结束时间"; + this.EndTime.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left; + // + // + // + // + // + // + this.EndTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.EndTime.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.EndTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.EndTime.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.EndTime.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.EndTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.EndTime.MonthCalendar.Visible = false; + this.EndTime.Name = "EndTime"; + this.EndTime.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.EndTime.Width = 90; + // + // Value + // + this.Value.HeaderText = "值"; + this.Value.Name = "Value"; + this.Value.Width = 65; + // + // Remark + // + this.Remark.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox; + this.Remark.HeaderText = "备注"; + this.Remark.Name = "Remark"; + this.Remark.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.Remark.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.Remark.Width = 235; + // + // AddTemp2 + // + this.AddTemp2.HeaderText = "是否保存"; + this.AddTemp2.Name = "AddTemp2"; + // + // dgvChargsRecord + // + this.dgvChargsRecord.AllowUserToAddRows = false; + this.dgvChargsRecord.AllowUserToResizeColumns = false; + this.dgvChargsRecord.AllowUserToResizeRows = false; + dataGridViewCellStyle10.BackColor = System.Drawing.Color.MintCream; + this.dgvChargsRecord.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle10; + this.dgvChargsRecord.BackgroundColor = System.Drawing.Color.White; + this.dgvChargsRecord.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvChargsRecord.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11; + this.dgvChargsRecord.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvChargsRecord.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn4}); + dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle13.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvChargsRecord.DefaultCellStyle = dataGridViewCellStyle13; + this.dgvChargsRecord.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvChargsRecord.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvChargsRecord.EnableHeadersVisualStyles = false; + this.dgvChargsRecord.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); + this.dgvChargsRecord.Location = new System.Drawing.Point(0, 0); + this.dgvChargsRecord.Margin = new System.Windows.Forms.Padding(0); + this.dgvChargsRecord.MultiSelect = false; + this.dgvChargsRecord.Name = "dgvChargsRecord"; + dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvChargsRecord.RowHeadersDefaultCellStyle = dataGridViewCellStyle14; + this.dgvChargsRecord.RowHeadersVisible = false; + this.dgvChargsRecord.RowTemplate.Height = 25; + this.dgvChargsRecord.ShowCellErrors = false; + this.dgvChargsRecord.ShowCellToolTips = false; + this.dgvChargsRecord.Size = new System.Drawing.Size(1137, 422); + this.dgvChargsRecord.TabIndex = 17; + // + // dataGridViewTextBoxColumn4 + // + dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle12; + this.dataGridViewTextBoxColumn4.HeaderText = "ID"; + this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; + this.dataGridViewTextBoxColumn4.Visible = false; + this.dataGridViewTextBoxColumn4.Width = 30; + // + // P3 + // + this.P3.AttachedControl = this.superTabControlPanel4; + this.P3.GlobalItem = false; + this.P3.Name = "P3"; + this.P3.Text = "事件列表"; + // + // superTabControlPanel3 + // + this.superTabControlPanel3.Controls.Add(this.dgvOutput); + this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel3.Location = new System.Drawing.Point(0, 31); + this.superTabControlPanel3.Name = "superTabControlPanel3"; + this.superTabControlPanel3.Size = new System.Drawing.Size(1137, 422); + this.superTabControlPanel3.TabIndex = 0; + this.superTabControlPanel3.TabItem = this.P4; + // + // dgvOutput + // + this.dgvOutput.AllowUserToAddRows = false; + dataGridViewCellStyle15.BackColor = System.Drawing.Color.MintCream; + this.dgvOutput.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle15; + this.dgvOutput.BackgroundColor = System.Drawing.Color.White; + this.dgvOutput.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvOutput.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16; + this.dgvOutput.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvOutput.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewTextBoxColumn22, + this.OutputName, + this.Dose, + this.DoseUnit, + this.BeginTime2, + this.Continue2, + this.EndTime2, + this.Remark2, + this.AddTemp3}); + dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle17.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle17.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvOutput.DefaultCellStyle = dataGridViewCellStyle17; + this.dgvOutput.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvOutput.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvOutput.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); + this.dgvOutput.Location = new System.Drawing.Point(0, 0); + this.dgvOutput.Name = "dgvOutput"; + this.dgvOutput.RowHeadersVisible = false; + this.dgvOutput.RowTemplate.Height = 23; + this.dgvOutput.ShowCellErrors = false; + this.dgvOutput.ShowCellToolTips = false; + this.dgvOutput.Size = new System.Drawing.Size(1137, 422); + this.dgvOutput.TabIndex = 4; + this.dgvOutput.CellClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvOutput_CellClick); + this.dgvOutput.RowsAdded += new System.Windows.Forms.DataGridViewRowsAddedEventHandler(this.dgvOutput_RowsAdded); + // + // dataGridViewTextBoxColumn22 + // + this.dataGridViewTextBoxColumn22.HeaderText = "类型"; + this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; + this.dataGridViewTextBoxColumn22.Visible = false; + this.dataGridViewTextBoxColumn22.Width = 60; + // + // OutputName + // + this.OutputName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.OutputName.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox; + this.OutputName.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.OutputName.HeaderText = "出量名称"; + this.OutputName.Name = "OutputName"; + this.OutputName.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.OutputName.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // Dose + // + this.Dose.HeaderText = "计量"; + this.Dose.Name = "Dose"; + // + // DoseUnit + // + this.DoseUnit.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.DoseUnit.HeaderText = "计量单位"; + this.DoseUnit.Name = "DoseUnit"; + this.DoseUnit.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.DoseUnit.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // BeginTime2 + // + this.BeginTime2.AutoAdvance = true; + // + // + // + this.BeginTime2.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.BeginTime2.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.BeginTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.BeginTime2.BackgroundStyle.TextColor = System.Drawing.Color.Black; + this.BeginTime2.ButtonDropDown.Visible = true; + this.BeginTime2.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.BeginTime2.HeaderText = "开始时间"; + this.BeginTime2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left; + // + // + // + // + // + // + this.BeginTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.BeginTime2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.BeginTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.BeginTime2.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.BeginTime2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.BeginTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.BeginTime2.MonthCalendar.Visible = false; + this.BeginTime2.Name = "BeginTime2"; + this.BeginTime2.Resizable = System.Windows.Forms.DataGridViewTriState.False; + // + // Continue2 + // + this.Continue2.HeaderText = "持续"; + this.Continue2.Name = "Continue2"; + this.Continue2.Width = 60; + // + // EndTime2 + // + this.EndTime2.AutoAdvance = true; + // + // + // + this.EndTime2.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.EndTime2.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.EndTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.EndTime2.BackgroundStyle.TextColor = System.Drawing.Color.Black; + this.EndTime2.ButtonDropDown.Visible = true; + this.EndTime2.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.EndTime2.HeaderText = "结束时间"; + this.EndTime2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left; + // + // + // + // + // + // + this.EndTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.EndTime2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.EndTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.EndTime2.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.EndTime2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.EndTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.EndTime2.MonthCalendar.Visible = false; + this.EndTime2.Name = "EndTime2"; + this.EndTime2.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // Remark2 + // + this.Remark2.HeaderText = "备注"; + this.Remark2.Name = "Remark2"; + this.Remark2.Width = 400; + // + // AddTemp3 + // + this.AddTemp3.HeaderText = "是否保存"; + this.AddTemp3.Name = "AddTemp3"; + this.AddTemp3.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.AddTemp3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + // + // P4 + // + this.P4.AttachedControl = this.superTabControlPanel3; + this.P4.GlobalItem = false; + this.P4.Name = "P4"; + this.P4.Text = "出量"; + // + // superTabControlPanel6 + // + this.superTabControlPanel6.Controls.Add(this.panelsmtz); + this.superTabControlPanel6.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel6.Location = new System.Drawing.Point(0, 31); + this.superTabControlPanel6.Name = "superTabControlPanel6"; + this.superTabControlPanel6.Size = new System.Drawing.Size(1137, 422); + this.superTabControlPanel6.TabIndex = 0; + this.superTabControlPanel6.TabItem = this.P5; + // + // panelsmtz + // + this.panelsmtz.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelsmtz.Location = new System.Drawing.Point(0, 0); + this.panelsmtz.Name = "panelsmtz"; + this.panelsmtz.Size = new System.Drawing.Size(1137, 422); + this.panelsmtz.TabIndex = 5; + // + // P5 + // + this.P5.AttachedControl = this.superTabControlPanel6; + this.P5.GlobalItem = false; + this.P5.Name = "P5"; + this.P5.Text = "生命体征"; + this.P5.Visible = false; + // + // superTabControlPanel1 + // + this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel1.Location = new System.Drawing.Point(0, 0); + this.superTabControlPanel1.Name = "superTabControlPanel1"; + this.superTabControlPanel1.Size = new System.Drawing.Size(1137, 453); + this.superTabControlPanel1.TabIndex = 0; + // + // superTabControlPanel2 + // + this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel2.Location = new System.Drawing.Point(0, 0); + this.superTabControlPanel2.Name = "superTabControlPanel2"; + this.superTabControlPanel2.Size = new System.Drawing.Size(1137, 453); + this.superTabControlPanel2.TabIndex = 0; + // + // dataGridViewTextBoxColumn1 + // + this.dataGridViewTextBoxColumn1.HeaderText = "类型"; + this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; + this.dataGridViewTextBoxColumn1.Visible = false; + this.dataGridViewTextBoxColumn1.Width = 60; + // + // dataGridViewTextBoxColumn2 + // + this.dataGridViewTextBoxColumn2.HeaderText = "事件名称"; + this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; + this.dataGridViewTextBoxColumn2.Width = 290; + // + // dataGridViewTextBoxColumn3 + // + this.dataGridViewTextBoxColumn3.HeaderText = "持续"; + this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; + this.dataGridViewTextBoxColumn3.Width = 60; + // + // dataGridViewComboEditTipBoxColumn1 + // + this.dataGridViewComboEditTipBoxColumn1.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.ComboBox; + this.dataGridViewComboEditTipBoxColumn1.HeaderText = "备注"; + this.dataGridViewComboEditTipBoxColumn1.Name = "dataGridViewComboEditTipBoxColumn1"; + this.dataGridViewComboEditTipBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboEditTipBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboEditTipBoxColumn1.Width = 235; + // + // dataGridViewTextBoxColumn5 + // + dataGridViewCellStyle18.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn5.DefaultCellStyle = dataGridViewCellStyle18; + this.dataGridViewTextBoxColumn5.HeaderText = "ID"; + this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; + this.dataGridViewTextBoxColumn5.Visible = false; + this.dataGridViewTextBoxColumn5.Width = 30; + // + // dataGridViewTextBoxColumn6 + // + dataGridViewCellStyle19.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn6.DefaultCellStyle = dataGridViewCellStyle19; + this.dataGridViewTextBoxColumn6.HeaderText = "组"; + this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; + this.dataGridViewTextBoxColumn6.Width = 30; + // + // dataGridViewTextBoxColumn7 + // + this.dataGridViewTextBoxColumn7.HeaderText = "类型"; + this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; + this.dataGridViewTextBoxColumn7.Visible = false; + this.dataGridViewTextBoxColumn7.Width = 60; + // + // dataGridViewTextBoxColumn8 + // + this.dataGridViewTextBoxColumn8.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.dataGridViewTextBoxColumn8.HeaderText = "名称"; + this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; + this.dataGridViewTextBoxColumn8.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // dataGridViewTextBoxColumn9 + // + this.dataGridViewTextBoxColumn9.HeaderText = "备注"; + this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; + this.dataGridViewTextBoxColumn9.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // dataGridViewComboBoxColumn1 + // + this.dataGridViewComboBoxColumn1.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn1.HeaderText = "途径"; + this.dataGridViewComboBoxColumn1.Name = "dataGridViewComboBoxColumn1"; + this.dataGridViewComboBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn1.Width = 85; + // + // dataGridViewTextBoxColumn10 + // + this.dataGridViewTextBoxColumn10.HeaderText = "浓度"; + this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; + this.dataGridViewTextBoxColumn10.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn10.Width = 45; + // + // dataGridViewComboBoxColumn2 + // + this.dataGridViewComboBoxColumn2.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn2.HeaderText = "浓度单位"; + this.dataGridViewComboBoxColumn2.Name = "dataGridViewComboBoxColumn2"; + this.dataGridViewComboBoxColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn2.Width = 75; + // + // dataGridViewTextBoxColumn11 + // + this.dataGridViewTextBoxColumn11.HeaderText = "速度"; + this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; + this.dataGridViewTextBoxColumn11.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn11.Width = 45; + // + // dataGridViewComboBoxColumn3 + // + this.dataGridViewComboBoxColumn3.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn3.HeaderText = "速度单位"; + this.dataGridViewComboBoxColumn3.Name = "dataGridViewComboBoxColumn3"; + this.dataGridViewComboBoxColumn3.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn3.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn3.Width = 85; + // + // dataGridViewTextBoxColumn12 + // + this.dataGridViewTextBoxColumn12.HeaderText = "用量"; + this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; + this.dataGridViewTextBoxColumn12.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn12.Width = 60; + // + // dataGridViewComboBoxColumn4 + // + this.dataGridViewComboBoxColumn4.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn4.HeaderText = "单位"; + this.dataGridViewComboBoxColumn4.Name = "dataGridViewComboBoxColumn4"; + this.dataGridViewComboBoxColumn4.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn4.Width = 60; + // + // dataGridViewComboBoxColumn5 + // + this.dataGridViewComboBoxColumn5.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn5.HeaderText = "血型"; + this.dataGridViewComboBoxColumn5.Name = "dataGridViewComboBoxColumn5"; + this.dataGridViewComboBoxColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn5.Visible = false; + this.dataGridViewComboBoxColumn5.Width = 45; + // + // dataGridViewComboBoxColumn6 + // + this.dataGridViewComboBoxColumn6.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn6.HeaderText = "加药方式"; + this.dataGridViewComboBoxColumn6.Name = "dataGridViewComboBoxColumn6"; + this.dataGridViewComboBoxColumn6.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn6.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn6.Visible = false; + this.dataGridViewComboBoxColumn6.Width = 80; + // + // dataGridViewTextBoxColumn13 + // + this.dataGridViewTextBoxColumn13.HeaderText = "持续"; + this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; + this.dataGridViewTextBoxColumn13.Width = 45; + // + // dataGridViewComboBoxColumn7 + // + this.dataGridViewComboBoxColumn7.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn7.HeaderText = "通路"; + this.dataGridViewComboBoxColumn7.Items.AddRange(new object[] { + "", + "1", + "2", + "3", + "4"}); + this.dataGridViewComboBoxColumn7.Name = "dataGridViewComboBoxColumn7"; + this.dataGridViewComboBoxColumn7.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewComboBoxColumn7.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn7.Visible = false; + this.dataGridViewComboBoxColumn7.Width = 50; + // + // dataGridViewImageColumn5 + // + this.dataGridViewImageColumn5.HeaderText = " "; + this.dataGridViewImageColumn5.Image = global::AIMS.Properties.Resources.SYSCRL; + this.dataGridViewImageColumn5.Name = "dataGridViewImageColumn5"; + this.dataGridViewImageColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewImageColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; + this.dataGridViewImageColumn5.Visible = false; + this.dataGridViewImageColumn5.Width = 30; + // + // dataGridViewTextBoxColumn37 + // + dataGridViewCellStyle20.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle20; + this.dataGridViewTextBoxColumn37.HeaderText = "组"; + this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37"; + this.dataGridViewTextBoxColumn37.Width = 30; + // + // dataGridViewTextBoxColumn38 + // + this.dataGridViewTextBoxColumn38.HeaderText = "类型"; + this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38"; + this.dataGridViewTextBoxColumn38.Visible = false; + this.dataGridViewTextBoxColumn38.Width = 60; + // + // dataGridViewTextBoxColumn39 + // + this.dataGridViewTextBoxColumn39.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.dataGridViewTextBoxColumn39.HeaderText = "名称"; + this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39"; + this.dataGridViewTextBoxColumn39.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // dataGridViewComboEditBoxColumn1 + // + this.dataGridViewComboEditBoxColumn1.HeaderText = "备注"; + this.dataGridViewComboEditBoxColumn1.Name = "dataGridViewComboEditBoxColumn1"; + this.dataGridViewComboEditBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // dataGridViewComboBoxColumn17 + // + this.dataGridViewComboBoxColumn17.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn17.HeaderText = "途径"; + this.dataGridViewComboBoxColumn17.Name = "dataGridViewComboBoxColumn17"; + this.dataGridViewComboBoxColumn17.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn17.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn17.Width = 85; + // + // dataGridViewTextBoxColumn40 + // + this.dataGridViewTextBoxColumn40.HeaderText = "浓度"; + this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40"; + this.dataGridViewTextBoxColumn40.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn40.Width = 45; + // + // dataGridViewComboBoxColumn18 + // + this.dataGridViewComboBoxColumn18.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn18.HeaderText = "浓度单位"; + this.dataGridViewComboBoxColumn18.Name = "dataGridViewComboBoxColumn18"; + this.dataGridViewComboBoxColumn18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn18.Width = 75; + // + // dataGridViewTextBoxColumn41 + // + this.dataGridViewTextBoxColumn41.HeaderText = "速度"; + this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41"; + this.dataGridViewTextBoxColumn41.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn41.Width = 45; + // + // dataGridViewComboBoxColumn19 + // + this.dataGridViewComboBoxColumn19.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn19.HeaderText = "速度单位"; + this.dataGridViewComboBoxColumn19.Name = "dataGridViewComboBoxColumn19"; + this.dataGridViewComboBoxColumn19.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn19.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn19.Width = 85; + // + // dataGridViewTextBoxColumn42 + // + this.dataGridViewTextBoxColumn42.HeaderText = "用量"; + this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42"; + this.dataGridViewTextBoxColumn42.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn42.Width = 60; + // + // dataGridViewComboBoxColumn20 + // + this.dataGridViewComboBoxColumn20.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn20.HeaderText = "单位"; + this.dataGridViewComboBoxColumn20.Name = "dataGridViewComboBoxColumn20"; + this.dataGridViewComboBoxColumn20.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn20.Width = 60; + // + // dataGridViewComboBoxColumn21 + // + this.dataGridViewComboBoxColumn21.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn21.HeaderText = "血型"; + this.dataGridViewComboBoxColumn21.Name = "dataGridViewComboBoxColumn21"; + this.dataGridViewComboBoxColumn21.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn21.Visible = false; + this.dataGridViewComboBoxColumn21.Width = 45; + // + // dataGridViewComboBoxColumn22 + // + this.dataGridViewComboBoxColumn22.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn22.HeaderText = "加药方式"; + this.dataGridViewComboBoxColumn22.Name = "dataGridViewComboBoxColumn22"; + this.dataGridViewComboBoxColumn22.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn22.Visible = false; + this.dataGridViewComboBoxColumn22.Width = 80; + // + // dataGridViewDateTimeInputColumn1 + // + this.dataGridViewDateTimeInputColumn1.AutoAdvance = true; + // + // + // + this.dataGridViewDateTimeInputColumn1.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.dataGridViewDateTimeInputColumn1.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.dataGridViewDateTimeInputColumn1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn1.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText; + this.dataGridViewDateTimeInputColumn1.ButtonDropDown.Visible = true; + this.dataGridViewDateTimeInputColumn1.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.dataGridViewDateTimeInputColumn1.HeaderText = "开始时间"; + this.dataGridViewDateTimeInputColumn1.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center; + // + // + // + // + // + // + this.dataGridViewDateTimeInputColumn1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.dataGridViewDateTimeInputColumn1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn1.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.dataGridViewDateTimeInputColumn1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.dataGridViewDateTimeInputColumn1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn1.MonthCalendar.Visible = false; + this.dataGridViewDateTimeInputColumn1.Name = "dataGridViewDateTimeInputColumn1"; + this.dataGridViewDateTimeInputColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewDateTimeInputColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewDateTimeInputColumn1.Width = 80; + // + // dataGridViewTextBoxColumn43 + // + this.dataGridViewTextBoxColumn43.HeaderText = "持续"; + this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43"; + this.dataGridViewTextBoxColumn43.Width = 45; + // + // dataGridViewDateTimeInputColumn2 + // + this.dataGridViewDateTimeInputColumn2.AutoAdvance = true; + // + // + // + this.dataGridViewDateTimeInputColumn2.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.dataGridViewDateTimeInputColumn2.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.dataGridViewDateTimeInputColumn2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn2.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText; + this.dataGridViewDateTimeInputColumn2.ButtonDropDown.Visible = true; + this.dataGridViewDateTimeInputColumn2.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.dataGridViewDateTimeInputColumn2.HeaderText = "结束时间"; + this.dataGridViewDateTimeInputColumn2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left; + // + // + // + // + // + // + this.dataGridViewDateTimeInputColumn2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.dataGridViewDateTimeInputColumn2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn2.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.dataGridViewDateTimeInputColumn2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.dataGridViewDateTimeInputColumn2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn2.MonthCalendar.Visible = false; + this.dataGridViewDateTimeInputColumn2.Name = "dataGridViewDateTimeInputColumn2"; + this.dataGridViewDateTimeInputColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewDateTimeInputColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewDateTimeInputColumn2.Width = 80; + // + // dataGridViewTextBoxColumn44 + // + this.dataGridViewTextBoxColumn44.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewTextBoxColumn44.HeaderText = "通路"; + this.dataGridViewTextBoxColumn44.Items.AddRange(new object[] { + "", + "1", + "2", + "3", + "4"}); + this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44"; + this.dataGridViewTextBoxColumn44.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn44.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewTextBoxColumn44.Visible = false; + this.dataGridViewTextBoxColumn44.Width = 50; + // // frmCreateTemplate // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(367, 144); + this.ClientSize = new System.Drawing.Size(1137, 543); this.ControlBox = false; + this.Controls.Add(this.panel3); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "frmCreateTemplate"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Load += new System.EventHandler(this.frmCreateTemplate_Load); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); this.toolStrip1.ResumeLayout(false); this.toolStrip1.PerformLayout(); this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); + this.panel5.ResumeLayout(false); + this.panel5.PerformLayout(); + this.panel4.ResumeLayout(false); + this.panel4.PerformLayout(); + this.panel3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.tabDrugs)).EndInit(); + this.tabDrugs.ResumeLayout(false); + this.superTabControlPanel5.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).EndInit(); + this.superTabControlPanel4.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvEvents)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dgvChargsRecord)).EndInit(); + this.superTabControlPanel3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvOutput)).EndInit(); + this.superTabControlPanel6.ResumeLayout(false); this.ResumeLayout(false); } @@ -179,5 +1612,105 @@ private System.Windows.Forms.Label label1; private System.Windows.Forms.RadioButton radioButton2; private System.Windows.Forms.RadioButton radioButton1; + private System.Windows.Forms.Panel panel3; + public DevComponents.DotNetBar.SuperTabControl tabDrugs; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel5; + private DevComponents.DotNetBar.SuperTabItem P2; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel4; + private DevComponents.DotNetBar.Controls.DataGridViewX dgvChargsRecord; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; + private DevComponents.DotNetBar.SuperTabItem P3; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2; + private DevComponents.DotNetBar.Controls.DataGridViewX dgvEvents; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; + private DataGridViewComboEditTipBoxColumn dataGridViewComboEditTipBoxColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn3; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn4; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn5; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn6; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn7; + private System.Windows.Forms.TextBox txtOperatorName; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn5; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn37; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn38; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn39; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewComboEditBoxColumn1; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn17; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn40; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn18; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn41; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn19; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn42; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn20; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn21; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn22; + private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn43; + private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn2; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewTextBoxColumn44; + private DevComponents.DotNetBar.Controls.DataGridViewX dgvDrugsSQ; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel3; + private DevComponents.DotNetBar.SuperTabItem P4; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel6; + private DevComponents.DotNetBar.SuperTabItem P5; + private DevComponents.DotNetBar.Controls.DataGridViewX dgvOutput; + private System.Windows.Forms.Panel panelsmtz; + private System.Windows.Forms.Panel panel5; + private System.Windows.Forms.CheckBox cboSmtz; + private System.Windows.Forms.CheckBox cboOutput; + private System.Windows.Forms.CheckBox cboEvent; + private System.Windows.Forms.CheckBox cboDrug; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.DataGridViewTextBoxColumn TypeName; + private System.Windows.Forms.DataGridViewTextBoxColumn EventName; + private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn BeginTime; + private System.Windows.Forms.DataGridViewTextBoxColumn Continue; + private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn EndTime; + private System.Windows.Forms.DataGridViewTextBoxColumn Value; + private DataGridViewComboEditTipBoxColumn Remark; + private System.Windows.Forms.DataGridViewCheckBoxColumn AddTemp2; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22; + private DataGridViewComboEditTipBoxColumn OutputName; + private System.Windows.Forms.DataGridViewTextBoxColumn Dose; + private System.Windows.Forms.DataGridViewComboBoxColumn DoseUnit; + private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn BeginTime2; + private System.Windows.Forms.DataGridViewTextBoxColumn Continue2; + private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn EndTime2; + private System.Windows.Forms.DataGridViewTextBoxColumn Remark2; + private System.Windows.Forms.DataGridViewCheckBoxColumn AddTemp3; + private System.Windows.Forms.DataGridViewImageColumn dataGridViewImageColumn1; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn8; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn9; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn10; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn11; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn12; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn13; + private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn3; + private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21; + private DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn dataGridViewDateTimeInputColumn4; + private System.Windows.Forms.DataGridViewComboBoxColumn dataGridViewComboBoxColumn14; + private System.Windows.Forms.DataGridViewCheckBoxColumn AddTemp; } } \ No newline at end of file diff --git a/AIMS/PublicUI/frmCreateTemplate.cs b/AIMS/PublicUI/frmCreateTemplate.cs index 9f0a1bf..6b9016f 100644 --- a/AIMS/PublicUI/frmCreateTemplate.cs +++ b/AIMS/PublicUI/frmCreateTemplate.cs @@ -1,57 +1,1358 @@ using AIMSBLL; using AIMSExtension; +using AIMSModel; +using AxNsoOfficeLib; +using DCSoftDotfuscate; +using DevComponents.DotNetBar.Controls; +using DrawGraph; using System; using System.Collections.Generic; -using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; -using System.Text; +using System.Reflection; using System.Windows.Forms; namespace AIMS.PublicUI.UI { public partial class frmCreateTemplate : Form { + public OperationRecord _record; + public string TemplateName; + public string OperatorName; + public bool IsPublic; public DateTime InRoomTime; public int PatientId = 0; public int TypeId = 0; //1 手术模板 2 手术复苏模板 + public bool IsAdd; + public DataRow[] PhysioParamdr; public frmCreateTemplate() { InitializeComponent(); } + private void frmCreateTemplate_Load(object sender, EventArgs e) + { + if (IsAdd == true) + { + txtOperatorName.Text = PublicMethod.OperatorName; + txtName.Text = ""; + List SelectOperationData = BFactOperationInfo.GetFactOperationInfoIdList(PatientId); + foreach (int RowId in SelectOperationData) + { + txtName.Text += BOperation.SelectSingle(RowId).Name + " ,"; + } + if (txtName.Text != "") txtName.Text = txtName.Text.Substring(0, txtName.Text.LastIndexOf(" ,")); + + if (_record.FactDrugList.Count > 0) + { + cboDrug.Checked = true; + Initial(); + SetDGVEvent(dgvDrugsSQ); + _record.FactDrugList.Sort(new FactDrugComparer()); + FullDrugsData(_record.FactDrugList); + } + + if (_record.FactEventsList.Count > 0) + { + cboEvent.Checked = true; + FullDGV(_record.FactEventsList); + } + if (_record.FactOutputLiquidsList.Count > 0) + { + cboOutput.Checked = true; + BindOutPut(_record.FactOutputLiquidsList); + } + LoadPhysioData(); + } + else + { + txtOperatorName.Text = OperatorName; + txtName.Text = TemplateName; + if (IsPublic == true) + { + radioButton1.Checked = true; + } + else + { + radioButton2.Checked = true; + } + InputData(); + } + } + + #region 加载药品列表 + + private void FullDrugsData(List list) + { + if (list != null) + { + //添加入量 + if (list.Count > 0) + { + dgvDrugsSQ.Rows.Clear(); + foreach (FactDrug item in list) + { + if (item.ParentId > 0) continue; + SetDGV(item); + foreach (FactDrug sItem in list) + { + if (sItem.ParentId == item.Id) + { + SetDGV(sItem); + } + } + } + } + else + { + dgvDrugsSQ.Rows.Clear(); + } + for (int i = 0; i < dgvDrugsSQ.Columns.Count; i++) + { + dgvDrugsSQ.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable; + } + } + } + private void SetDGV(FactDrug item) + { + int index = dgvDrugsSQ.Rows.Add(); + dgvDrugsSQ.Rows[index].Tag = item.Id; + if (item.ParentId == 0) + { + dgvDrugsSQ.Rows[index].Cells[1].Value = "主"; + //dgvDrugsSQ.Rows[index].Cells[0].Value = imageList1.Images[0]; + //zhuid = dgvDrugsSQ.Rows[index].Index; + dgvDrugsSQ.Rows[index].Cells[1].Tag = item.ParentId; + } + else + { + dgvDrugsSQ.Rows[index].Cells[1].Value = " ..."; + //if (zhuid != 0) dgvDrugsSQ.Rows[index].Cells[1].Tag = zhuid; + //dgvDrugsSQ.Rows[index].Cells[0].Value = imageList1.Images[1]; + dgvDrugsSQ.Rows[index].Cells[1].Tag = item.ParentId; + } + dgvDrugsSQ.Rows[index].Cells[2].Tag = item.DrugId;//药品编号 + dgvDrugsSQ.Rows[index].Cells[2].Value = item.GiveDrugType;//药品编号 + dgvDrugsSQ.Rows[index].Cells[3].Value = item.DrugName;//药品名称 + dgvDrugsSQ.Rows[index].Cells[3].Tag = item.DrugId;//药品名称编号 + dgvDrugsSQ.Rows[index].Cells[5].Value = item.DrugChannel;//途径 + dgvDrugsSQ.Rows[index].Cells[4].Value = item.Remark;//备注 + if (item.Dosage != 0) + dgvDrugsSQ.Rows[index].Cells[10].Value = (double)item.Dosage;//剂量 + dgvDrugsSQ.Rows[index].Cells[11].Value = item.DosageUnit;//剂量单位 + if (item.BloodType != null && item.BloodType != "") + dgvDrugsSQ.Rows[index].Cells[12].Value = item.BloodType;//血型 + if (item.Density != 0) + dgvDrugsSQ.Rows[index].Cells[6].Value = (double)item.Density;//浓度 + if (item.DensityUnit != null && item.DensityUnit != "") + dgvDrugsSQ.Rows[index].Cells[7].Value = item.DensityUnit;//浓度单位 + if (item.Velocity != 0) + dgvDrugsSQ.Rows[index].Cells[8].Value = (double)item.Velocity;//速度 + if (item.VelocityUnit != null && item.VelocityUnit != "") + dgvDrugsSQ.Rows[index].Cells[9].Value = item.VelocityUnit;//速度单位 + if (Convert.ToDateTime(item.DrugBeginTime).ToString().Length > 0) + { + dgvDrugsSQ.Rows[index].Cells[14].Value = Convert.ToDateTime(item.DrugBeginTime);//开始时间 + } + if (item.IsContinue > 0) + { + dgvDrugsSQ.Rows[index].Cells[15].Value = "-->";//持续 + } + if (item.DrugEndTime.ToString("yyyy-MM-dd HH:mm") != item.DrugBeginTime.ToString("yyyy-MM-dd HH:mm")) + { + dgvDrugsSQ.Rows[index].Cells[16].Value = Convert.ToDateTime(item.DrugEndTime);//结束时间 + } + dgvDrugsSQ.Rows[index].Cells[17].Value = item.Access; + dgvDrugsSQ.Rows[index].Cells[18].Value = cboDrug.Checked; + } + + /// + /// 用药途径集合 + /// + public List _channelList; + /// + /// 剂量单位集合 + /// + public List _dUnitList; + /// + /// 速度单位集合 + /// + public List _VelocityUnit; + /// + /// 浓度单位集合 + /// + public List _DensityUnit; + /// + /// 加药方式集合 + /// + public List _drugEffectList; + /// + ///血型集合 + /// + public List _bloodTypeList; + private void Initial() + { + _channelList = BBasicDictionary.GetBasicDictionaryByName("用药途径").SubItem; + _channelList.Insert(0, new BasicDictionary() { Id = -1, Name = "" }); + _drugEffectList = BBasicDictionary.GetBasicDictionaryByName("加药方式").SubItem; + _drugEffectList.Insert(0, new BasicDictionary() { Id = -1, Name = "" }); + _dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem; + _dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" }); + _bloodTypeList = BBasicDictionary.GetBasicDictionaryByName("血型").SubItem; + _bloodTypeList.Insert(0, new BasicDictionary() { Id = -1, Name = "" }); + _VelocityUnit = BBasicDictionary.GetBasicDictionaryByName("速度单位").SubItem; + _VelocityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" }); + _DensityUnit = BBasicDictionary.GetBasicDictionaryByName("浓度单位").SubItem; + _DensityUnit.Insert(0, new BasicDictionary() { Id = -1, Name = "" }); + } + + private void SetDGVEvent(DataGridView dgv) + { + dgv.CellClick -= new DataGridViewCellEventHandler(dgvDrugs_CellClick); + dgv.CellEndEdit -= Dgv_CellEndEdit; + dgv.RowsAdded -= new DataGridViewRowsAddedEventHandler(dgvDrugs_RowsAdded); + dgv.CellClick += new DataGridViewCellEventHandler(dgvDrugs_CellClick); + dgv.CellEndEdit += Dgv_CellEndEdit; + dgv.RowsAdded += new DataGridViewRowsAddedEventHandler(dgvDrugs_RowsAdded); + + } + + private void Dgv_CellEndEdit(object sender, DataGridViewCellEventArgs e) + { + if (e.ColumnIndex == 6) + { + dgvDrugsSQ.CurrentCell.Tag = dgvDrugsSQ.CurrentCell.EditedFormattedValue.ToString(); + } + } + + + private void dgvDrugs_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e) + { + DataGridViewComboBoxCell channelCell; + DataGridViewComboBoxCell dUnitCell; + DataGridViewComboBoxCell drugEffectCell; + DataGridViewComboBoxCell BloodTypeCell; + DataGridViewComboBoxCell DensityUnit; + DataGridViewComboBoxCell VelocityUnit; + if (e == null) + { + channelCell = dgvDrugsSQ.Rows[0].Cells[5] as DataGridViewComboBoxCell;//途径 + DensityUnit = dgvDrugsSQ.Rows[0].Cells[7] as DataGridViewComboBoxCell;//浓度单位 + dUnitCell = dgvDrugsSQ.Rows[0].Cells[11] as DataGridViewComboBoxCell;//剂量单位 + drugEffectCell = dgvDrugsSQ.Rows[0].Cells[13] as DataGridViewComboBoxCell;//速度 + BloodTypeCell = dgvDrugsSQ.Rows[0].Cells[12] as DataGridViewComboBoxCell;//血型 + VelocityUnit = dgvDrugsSQ.Rows[0].Cells[9] as DataGridViewComboBoxCell;//速度单位 + //dgvDrugsSQ.Rows[0].Cells[0].Value = imageList1.Images[0]; + } + else + { + channelCell = dgvDrugsSQ.Rows[e.RowIndex].Cells[5] as DataGridViewComboBoxCell;//途径 + DensityUnit = dgvDrugsSQ.Rows[e.RowIndex].Cells[7] as DataGridViewComboBoxCell;//浓度单位 + dUnitCell = dgvDrugsSQ.Rows[e.RowIndex].Cells[11] as DataGridViewComboBoxCell;//剂量单位 + drugEffectCell = dgvDrugsSQ.Rows[e.RowIndex].Cells[13] as DataGridViewComboBoxCell;//速度 + BloodTypeCell = dgvDrugsSQ.Rows[e.RowIndex].Cells[12] as DataGridViewComboBoxCell;//血型 + VelocityUnit = dgvDrugsSQ.Rows[e.RowIndex].Cells[9] as DataGridViewComboBoxCell;//速度单位 + //dgvDrugsSQ.Rows[e.RowIndex].Cells[0].Value = imageList1.Images[0]; + } + + channelCell.DataSource = _channelList; + channelCell.DisplayMember = "Name"; + channelCell.ValueMember = "Name"; + + dUnitCell.DataSource = _dUnitList; + dUnitCell.DisplayMember = "Name"; + dUnitCell.ValueMember = "Name"; + + drugEffectCell.DataSource = _drugEffectList; + drugEffectCell.DisplayMember = "Name"; + drugEffectCell.ValueMember = "Id"; + + DensityUnit.DataSource = _DensityUnit; + DensityUnit.DisplayMember = "Name"; + DensityUnit.ValueMember = "Id"; + + BloodTypeCell.DataSource = _bloodTypeList; + BloodTypeCell.DisplayMember = "Name"; + BloodTypeCell.ValueMember = "Id"; + + VelocityUnit.DataSource = _VelocityUnit; + VelocityUnit.DisplayMember = "Name"; + VelocityUnit.ValueMember = "Id"; + } + + private void dgvDrugs_CellClick(object sender, DataGridViewCellEventArgs e) + { + //点击开始时间时显示时间 + if (dgvDrugsSQ.CurrentCell != null) + { + dgvDrugsSQ.BeginEdit(true); + //点击Sign列时显示持续事件标记 + if (dgvDrugsSQ.CurrentCell.ColumnIndex == 15) + { + if (dgvDrugsSQ.CurrentCell.EditedFormattedValue.ToString() == "" && dgvDrugsSQ.CurrentRow.Cells[14].EditedFormattedValue.ToString() != "") + { + dgvDrugsSQ.CurrentCell.Value = "-->"; + //SendKeys.Send("{Tab}"); + txtName.Focus(); + } + else + { + dgvDrugsSQ.CurrentCell.Value = ""; + dgvDrugsSQ.CurrentRow.Cells[16].Value = null;//结束时间 + txtName.Focus(); + } + } + //点击结束时间时判断是否持续事件,并显示时间 + if (dgvDrugsSQ.CurrentCell.ColumnIndex == 16) + { + if (dgvDrugsSQ.CurrentRow.Cells[15].EditedFormattedValue.ToString() != "" && dgvDrugsSQ.CurrentCell.EditedFormattedValue.ToString() == "")//持续 + { + dgvDrugsSQ.CurrentCell.Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm");//默认当前时间‘ + TimeSpan tsp = DateTime.Now - _record.InRoomTime.Value; + if (tsp.TotalHours > 12) + { + DateTime begindate = new DateTime(_record.InRoomTime.Value.Year, _record.InRoomTime.Value.Month, _record.InRoomTime.Value.Day, DateTime.Now.Hour, DateTime.Now.Minute, 0); + if (begindate > _record.InRoomTime.Value) + { + begindate = DateTime.Now; + } + dgvDrugsSQ.CurrentCell.Value = begindate; + } + txtName.Focus(); + } + } + } + } + + private void dgvDrugsSQ_DataError(object sender, DataGridViewDataErrorEventArgs e) + { + if (e.Exception.Message == "DataGridViewComboBoxCell 值无效。") + { + try + { + object value = dgvDrugsSQ.Rows[e.RowIndex].Cells[e.ColumnIndex].Value; + if (!((DataGridViewComboBoxCell)dgvDrugsSQ.Rows[e.RowIndex].Cells[e.ColumnIndex]).Items.Contains(value)) + { + ((DataGridViewComboBoxCell)dgvDrugsSQ.Rows[e.RowIndex].Cells[e.ColumnIndex]).Items.Add(value); + e.ThrowException = false; + } + } + catch (Exception) + { + e.ThrowException = false; + } + + } + } + + #endregion + + #region 加载事件 + private void FullDGV(List list) + { + dgvEvents.AutoGenerateColumns = false; + dgvEvents.Rows.Clear(); + foreach (FactEvents item in list) + { + if (item.EventName == "入室") continue; + int index = this.dgvEvents.Rows.Add(); + this.dgvEvents.Rows[index].Tag = item.Id; + this.dgvEvents.Rows[index].Cells["TypeName"].Value = "事件"; + DataGridViewComboEditTipBoxCell col = (DataGridViewComboEditTipBoxCell)dgvEvents.Rows[index].Cells[6]; + col.Items.Add(""); + if (item.EventRemark != null && item.EventRemark != "") + { + string remark = item.EventRemark.ToString(); + string[] s = remark.Split('|'); + for (int i = 0; i < s.Length; i++) + { + if (s[i] != "") + col.Items.Add(s[i]); + } + } + + if (item.Remark != null && item.Remark.Trim() != "" && !col.Items.Contains(item.Remark)) + { + col.Items.Add(item.Remark); + } + this.dgvEvents.Rows[index].Cells["Remark"].Value = item.Remark; + this.dgvEvents.Rows[index].Cells["EventName"].Value = item.EventName; + this.dgvEvents.Rows[index].Cells["EventName"].Tag = item.EventId; + if (item.EventId < 10) + { + this.dgvEvents.Rows[index].Cells["EventName"].ReadOnly = true; + } + if (Convert.ToDateTime(item.EventBeginTime).ToString().Length > 0) + { + this.dgvEvents.Rows[index].Cells["BeginTime"].Value = item.EventBeginTime; + } + if (item.IsContinue > 0) + { + this.dgvEvents.Rows[index].Cells["Continue"].Value = "-->"; + } + if (Convert.ToDateTime(item.EventEndTime).ToString().Length > 0) + { + if (item.EventEndTime != item.EventBeginTime) + { + this.dgvEvents.Rows[index].Cells["EndTime"].Value = item.EventEndTime; + } + } + this.dgvEvents.Rows[index].Cells["AddTemp2"].Value = cboEvent.Checked; + } + for (int i = 0; i < dgvEvents.Columns.Count; i++) + { + dgvEvents.Columns[i].SortMode = DataGridViewColumnSortMode.NotSortable; + } + } + + private void dgvEvents_CellClick(object sender, DataGridViewCellEventArgs e) + { + //点击开始时间时显示时间 + if (dgvEvents.CurrentCell.ColumnIndex == 2 && dgvEvents.CurrentCell.EditedFormattedValue.ToString() == "") + { + dgvEvents.CurrentCell.Value = DateTime.Now; + SendKeys.Send("{Tab}"); + } + //点击Sign列时显示持续事件标记 + if (dgvEvents.CurrentCell.ColumnIndex == 3) + { + if (dgvEvents.CurrentCell.EditedFormattedValue.ToString() == "" && dgvEvents.CurrentRow.Cells["BeginTime"].EditedFormattedValue.ToString() != "") + { + dgvEvents.CurrentCell.Value = "-->"; + txtName.Focus(); + } + else + { + dgvEvents.CurrentCell.Value = ""; + dgvEvents.CurrentRow.Cells["EndTime"].Value = ""; + txtName.Focus(); + } + } + //点击结束时间时判断是否持续事件,并显示时间 + if (dgvEvents.CurrentCell.ColumnIndex == 4) + { + if (dgvEvents.CurrentRow.Cells[3].EditedFormattedValue.ToString() != "" && dgvEvents.CurrentCell.EditedFormattedValue.ToString() == "") + { + dgvEvents.CurrentRow.Cells["EndTime"].Value = DateTime.Now; + txtName.Focus(); + } + } + } + + private static void GetEvent(DataGridViewRow dr, FactEvents _event) + { + try + { + if (dr.Cells["EventName"].Tag == null) + { + string name = dr.Cells["EventName"].EditedFormattedValue.ToString(); + Events events = BEvents.SelectSingle(" Name='" + name + "'", null); + if (events == null) + { + events = new Events(); + events.Name = name; + events.HelpCode = PublicMethod.GetFirstLetter(name); + events.UseRate = 1; + events.IsValid = 1; + events.OperatorNo = PublicMethod.OperatorNo; + events.OperatorName = PublicMethod.OperatorName; + events.OperateDate = DateTime.Now; + events.Id = BEvents.Insert(events); + } + _event.EventId = events.Id; + _event.EventName = events.Name; + } + else + { + _event.EventId = Convert.ToInt32(dr.Cells["EventName"].Tag); + _event.EventName = BEvents.SelectSingle(_event.EventId).Name; + } + } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); + } + } + + #endregion + + #region 加载生命体征 + public System.Windows.Forms.Panel paneltop; + public System.Windows.Forms.Panel paneltop2; + private void LoadPhysioData() + { + System.Data.DataTable dtPhysioData = BOperationRecord.getByOpeIDIsPhysioData(_record.Id.Value); + if (dtPhysioData.Rows.Count > 0) cboSmtz.Checked = true; + } + private void LoadPhysioData2(System.Data.DataTable dtPhysioData) + { + panelsmtz.Controls.Clear(); + int rows = 2; + int Width = panelsmtz.Width - (panelsmtz.Width / (240 / 5) * 3); + //循环加载麻醉体征控件 + for (int x = _record.PhysioAnesConfigList.Count - 1; x >= 0; x--) + { + PhysioDataConfig ade = _record.PhysioAnesConfigList[x]; + if (ade.IsDefalultShow == false) continue; + List list = new List(); + for (int i = 0; i < dtPhysioData.Rows.Count; i++) + { + if (dtPhysioData.Rows[i]["Name"].ToString().Equals(ade.Name.ToString())) + { + PhysioData pdTemp = PhysioDataConfig.newPhysioData(ade, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString()); + list.Add(pdTemp); + } + } + System.Windows.Forms.Panel panel = new System.Windows.Forms.Panel(); + panel.Tag = ade; + panel.BackColor = Color.White; + panel.Dock = System.Windows.Forms.DockStyle.Top; + panel.Size = new System.Drawing.Size(Width, 30); + for (int i = (240 / ade.YAisx) - 1; i >= 0; i--) + { + DateTime SpanTime = _record.InRoomTime.Value.AddMinutes(i * ade.YAisx); + PhysioData pdNew = null; + foreach (var item in list) + { + if (item.RecordTime == SpanTime) + { + pdNew = item; + pdNew.config = ade; + break; + } + } + if (pdNew == null) + { + pdNew = PhysioDataConfig.newPhysioData(ade, _record.Id.Value, SpanTime, -1); + } + if (ade.ImgPath != null && ade.ImgPath != "") + { + System.Windows.Forms.ComboBox textNum = new System.Windows.Forms.ComboBox(); + textNum.Items.AddRange(ade.ImgPath.Split('|')); + textNum.Name = pdNew.config.Id + "" + SpanTime.ToString("HHmm"); + textNum.Tag = pdNew; + if (pdNew.ValueString != "-1") + textNum.Text = pdNew.ValueString.ToString(); + textNum.Width = Width / (240 / ade.YAisx); + textNum.Dock = System.Windows.Forms.DockStyle.Left; + textNum.DropDownStyle = ComboBoxStyle.DropDownList; + textNum.Font = new System.Drawing.Font("微软雅黑", 7f); + panel.Controls.Add(textNum); + } + else + { + System.Windows.Forms.TextBox textNum = new System.Windows.Forms.TextBox(); + textNum.Name = pdNew.config.Id + "" + SpanTime.ToString("HHmm"); + textNum.Tag = pdNew; + if (pdNew.ValueString != "-1") + textNum.Text = pdNew.ValueString.ToString(); + textNum.Width = Width / (240 / ade.YAisx); + textNum.Dock = System.Windows.Forms.DockStyle.Left; + textNum.Font = new System.Drawing.Font("微软雅黑", 7f); + panel.Controls.Add(textNum); + } + } + System.Windows.Forms.Label textName = new System.Windows.Forms.Label(); + textName.Name = "txt" + ade.Name; + textName.Text = ade.Name; + textName.Font = new System.Drawing.Font("微软雅黑", 8f); + textName.Width = panelsmtz.Width / (240 / 5) * 3; + textName.Dock = System.Windows.Forms.DockStyle.Left; + panel.Controls.Add(textName); + panelsmtz.Controls.Add(panel); + + rows++; + } + //循环加载数值生命体征 + for (int x = _record.PhysioConfigList.Count - 1; x >= 0; x--) + { + PhysioDataConfig ade = _record.PhysioConfigList[x]; + if (ade.IsDefalultShow == false) continue; + List list = new List(); + for (int i = 0; i < dtPhysioData.Rows.Count; i++) + { + if (dtPhysioData.Rows[i]["Name"].ToString().Equals(ade.Name.ToString())) + { + PhysioData pdTemp = PhysioDataConfig.newPhysioData(ade, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString()); + list.Add(pdTemp); + } + } + System.Windows.Forms.Panel panel = new System.Windows.Forms.Panel(); + panel.Tag = ade; + panel.BackColor = Color.White; + panel.Dock = System.Windows.Forms.DockStyle.Top; + panel.Size = new System.Drawing.Size(Width, 30); + for (int i = (240 / 5) - 1; i >= 0; i--) + { + DateTime SpanTime = _record.InRoomTime.Value.AddMinutes(i * 5); + System.Windows.Forms.TextBox textNum = new System.Windows.Forms.TextBox(); + PhysioData pdNew = null; + foreach (var item in list) + { + if (item.RecordTime == SpanTime) + { + pdNew = item; + pdNew.config = ade; + textNum.Text = pdNew.ValueString.ToString(); + break; + } + } + if (pdNew == null) + { + pdNew = PhysioDataConfig.newPhysioData(ade, _record.Id.Value, SpanTime, -1); + } + + textNum.Name = pdNew.config.Id + "" + SpanTime.ToString("HHmm"); + textNum.Tag = pdNew; + textNum.Width = Width / (240 / 5); + textNum.Font = new System.Drawing.Font("微软雅黑", 7f); + textNum.Dock = System.Windows.Forms.DockStyle.Left; + panel.Controls.Add(textNum); + } + System.Windows.Forms.Label textName = new System.Windows.Forms.Label(); + textName.Name = "txt" + ade.Name; + textName.Text = ade.Name; + textName.Font = new System.Drawing.Font("微软雅黑", 8f); + textName.Width = panelsmtz.Width / (240 / 5) * 3; + textName.Dock = System.Windows.Forms.DockStyle.Left; + panel.Controls.Add(textName); + panelsmtz.Controls.Add(panel); + + rows++; + } + paneltop = new System.Windows.Forms.Panel(); + paneltop.Dock = System.Windows.Forms.DockStyle.Top; + paneltop.Location = new System.Drawing.Point(20, 0); + paneltop.Size = new System.Drawing.Size(792, 35); + for (int i = (240 / 5) - 1; i >= 0; i--) + { + System.Windows.Forms.Label textNum = new System.Windows.Forms.Label(); + textNum.Name = "txt" + _record.InRoomTime.Value.AddMinutes(i * 5).ToString("yyyyMMddHHmm"); + textNum.Text = _record.InRoomTime.Value.AddMinutes(i * 5).ToString("HH mm"); + textNum.Font = new System.Drawing.Font("微软雅黑", 7f); + textNum.Width = Width / (240 / 5); + textNum.Dock = System.Windows.Forms.DockStyle.Left; + textNum.TextAlign = ContentAlignment.MiddleCenter; + paneltop.Controls.Add(textNum); + } + System.Windows.Forms.Label textTipName2 = new System.Windows.Forms.Label(); + textTipName2.Text = "时间 "; + textTipName2.Font = new System.Drawing.Font("微软雅黑", 9f, FontStyle.Bold); + textTipName2.Width = panelsmtz.Width / (240 / 5) * 3 / 2; + textTipName2.Dock = System.Windows.Forms.DockStyle.Left; + textTipName2.TextAlign = ContentAlignment.MiddleRight; + paneltop.Controls.Add(textTipName2); + System.Windows.Forms.Label textTipName = new System.Windows.Forms.Label(); + textTipName.Text = " 名称"; + textTipName.Font = new System.Drawing.Font("微软雅黑", 9f, FontStyle.Bold); + textTipName.Width = panelsmtz.Width / (240 / 5) * 3 / 2; + textTipName.Dock = System.Windows.Forms.DockStyle.Left; + textTipName.TextAlign = ContentAlignment.MiddleLeft; + paneltop.Controls.Add(textTipName); + panelsmtz.Controls.Add(paneltop); + } + #endregion + + #region 加载出量 + public List _outputList; + private void BindOutPut(List FactOutputLiquidsList) + { + _dUnitList = BBasicDictionary.GetBasicDictionaryByName("给药单位").SubItem; + _dUnitList.Insert(0, new BasicDictionary() { Id = -1, Name = "" }); + _outputList = BOutputLiquids.Select(" IsValid=1", null); + _outputList.Insert(0, new OutputLiquids() { Id = -1, Name = "" }); + if (FactOutputLiquidsList.Count > 0) + { + FullDGVOut(FactOutputLiquidsList); + } + } + + private void FullDGVOut(List list) + { + //添加出量 + if (list.Count > 0) + { + foreach (FactOutputLiquids item in list) + { + int index = this.dgvOutput.Rows.Add(); + this.dgvOutput.Rows[index].Tag = item.Id; + this.dgvOutput.Rows[index].Cells["Remark2"].Value = item.Remark; + this.dgvOutput.Rows[index].Cells["OutputName"].Value = item.OutputLiquidsName; + this.dgvOutput.Rows[index].Cells["OutputName"].Tag = item.OutputLiquidsId; + this.dgvOutput.Rows[index].Cells["Dose"].Value = (double)item.Dosage; + this.dgvOutput.Rows[index].Cells["DoseUnit"].Value = item.DosageUnit; + if (Convert.ToDateTime(item.BeginTime).ToString().Length > 0) + { + this.dgvOutput.Rows[index].Cells["BeginTime2"].Value = item.BeginTime; + } + if (item.IsContinue > 0) + { + this.dgvOutput.Rows[index].Cells["Continue2"].Value = "-->"; + } + if (Convert.ToDateTime(item.EndTime).ToString().Length > 0) + { + if (item.EndTime != item.BeginTime) + { + this.dgvOutput.Rows[index].Cells["EndTime2"].Value = item.EndTime; + } + } + this.dgvOutput.Rows[index].Cells["AddTemp3"].Value = cboOutput.Checked; + } + + } + } + + private void dgvOutput_CellClick(object sender, DataGridViewCellEventArgs e) + { + if (dgvOutput.CurrentCell != null) + { + //点击开始时间时显示时间 + if (dgvOutput.CurrentCell.ColumnIndex == 4 && dgvOutput.CurrentCell.EditedFormattedValue.ToString() == "") + { + dgvOutput.CurrentCell.Value = DateTime.Now; + SendKeys.Send("{Tab}"); + } + //点击Sign列时显示持续事件标记 + if (dgvOutput.CurrentCell.ColumnIndex == 5) + { + if (dgvOutput.CurrentCell.EditedFormattedValue.ToString() == "" && dgvOutput.CurrentRow.Cells["BeginTime"].EditedFormattedValue.ToString() != "") + { + dgvOutput.CurrentCell.Value = "-->"; + txtName.Focus(); + SendKeys.Send("{Tab}"); + } + else + { + dgvOutput.CurrentCell.Value = ""; + dgvOutput.CurrentRow.Cells["EndTime"].Value = ""; + txtName.Focus(); + } + } + //点击结束时间时判断是否持续事件,并显示时间 + if (dgvOutput.CurrentCell.ColumnIndex == 6) + { + if (dgvOutput.CurrentRow.Cells[5].EditedFormattedValue.ToString() != "" && dgvOutput.CurrentCell.EditedFormattedValue.ToString() == "") + { + dgvOutput.CurrentCell.Value = DateTime.Now; + txtName.Focus(); + } + } + } + } + + private void dgvOutput_RowsAdded(object sender, DataGridViewRowsAddedEventArgs e) + { + + DataGridViewComboEditTipBoxCell nameCell; + DataGridViewComboBoxCell unitCell; + if (e == null) + { + nameCell = dgvOutput.Rows[dgvOutput.Rows.Count - 1].Cells["OutputName"] as DataGridViewComboEditTipBoxCell; + unitCell = dgvOutput.Rows[dgvOutput.Rows.Count - 1].Cells["DoseUnit"] as DataGridViewComboBoxCell; + } + else + { + nameCell = dgvOutput.Rows[e.RowIndex].Cells["OutputName"] as DataGridViewComboEditTipBoxCell; + unitCell = dgvOutput.Rows[e.RowIndex].Cells["DoseUnit"] as DataGridViewComboBoxCell; + } + + foreach (var item in _outputList) + { + nameCell.Items.Add(item.Name); + } + + unitCell.DataSource = _dUnitList; + unitCell.DisplayMember = "Name"; + unitCell.ValueMember = "Name"; + } + #endregion + + #region 加载模板 + public void InputData() + { + DataTable dt = BOperationTemplate.GetDataTable2(TemplateName, TypeId); + List drugsRS = new List(); + DataRow[] drugdr = dt.Select("ItemKindName='药品' and Spare5='0' "); + foreach (DataRow dr in drugdr) + { + int DrugId = int.Parse(dr["ItemId"].ToString()); + FactDrug FactDrugObj = new FactDrug(); + FactDrugObj.PatientId = PatientId; + FactDrugObj.DrugId = DrugId; + FactDrugObj.DrugBeginTime = DateTime.Parse(dr["BeginTime"].ToString()); + FactDrugObj.DrugEndTime = DateTime.Parse(dr["EndTime"].ToString()); + + if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) + { + FactDrugObj.IsContinue = 0; + } + else + { + FactDrugObj.IsContinue = 1; + } + FactDrugObj.DrugTypeId = TypeId; + if (dr["Value"].ToString() != "") + { + FactDrugObj.Dosage = decimal.Parse(dr["Value"].ToString()); + } + FactDrugObj.DosageUnit = dr["DosageUnit"].ToString(); + if (dr["Spare1"].ToString() != "" && dr["Spare1"].ToString() != "0" && dr["Spare1"].ToString() != "0.00") + { + FactDrugObj.Density = decimal.Parse(dr["Spare1"].ToString()); + FactDrugObj.DensityUnit = dr["Spare2"].ToString(); + } + if (dr["Spare3"].ToString() != "" && dr["Spare3"].ToString() != "0" && dr["Spare3"].ToString() != "0.00") + { + FactDrugObj.Velocity = decimal.Parse(dr["Spare3"].ToString()); + FactDrugObj.VelocityUnit = dr["Spare4"].ToString(); + } + + FactDrugObj.DrugChannel = dr["DrugChannel"].ToString(); + FactDrugObj.GiveDrugType = dr["GiveDrugType"].ToString(); + FactDrugObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactDrugObj.OperatorName = OperatorName; + FactDrugObj.OperateDate = DateTime.Now; + FactDrugObj.ParentId = 0;// int.Parse(dr["Spare5"].ToString()); + FactDrugObj.DrugName = dr["Spare6"].ToString(); + FactDrugObj.Access = dr["Spare7"].ToString(); + FactDrugObj.Id = int.Parse(dr["Spare8"].ToString()); + drugsRS.Add(FactDrugObj); + DataRow[] drugchild = dt.Select("ItemKindName='药品' and Spare5='" + FactDrugObj.Id + "' "); + foreach (DataRow child in drugchild) + { + int DrugId2 = int.Parse(child["ItemId"].ToString()); + FactDrug FactDrugObjChild = new FactDrug(); + FactDrugObjChild.PatientId = PatientId; + FactDrugObjChild.ParentId = FactDrugObj.Id; + FactDrugObjChild.DrugId = DrugId2; + FactDrugObjChild.DrugBeginTime = DateTime.Parse(dr["BeginTime"].ToString()); + FactDrugObjChild.DrugEndTime = DateTime.Parse(dr["EndTime"].ToString()); + + if (child["BeginTime"].ToString() == child["EndTime"].ToString()) + { + FactDrugObjChild.IsContinue = 0; + } + else + { + FactDrugObjChild.IsContinue = 1; + } + FactDrugObjChild.DrugTypeId = TypeId; + if (child["Value"].ToString() != "") + { + FactDrugObjChild.Dosage = decimal.Parse(child["Value"].ToString()); + } + FactDrugObjChild.DosageUnit = child["DosageUnit"].ToString(); + if (child["Spare1"].ToString() != "" && child["Spare1"].ToString() != "0" && child["Spare1"].ToString() != "0.00") + { + FactDrugObjChild.Density = decimal.Parse(child["Spare1"].ToString()); + FactDrugObjChild.DensityUnit = child["Spare2"].ToString(); + } + if (child["Spare3"].ToString() != "" && child["Spare3"].ToString() != "0" && child["Spare3"].ToString() != "0.00") + { + FactDrugObjChild.Velocity = decimal.Parse(child["Spare3"].ToString()); + FactDrugObjChild.VelocityUnit = child["Spare4"].ToString(); + } + + FactDrugObjChild.DrugChannel = child["DrugChannel"].ToString(); + FactDrugObjChild.GiveDrugType = child["GiveDrugType"].ToString(); + FactDrugObjChild.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactDrugObjChild.OperatorName = OperatorName; + FactDrugObjChild.OperateDate = DateTime.Now; + FactDrugObjChild.DrugName = child["Spare6"].ToString(); + FactDrugObjChild.Access = child["Spare7"].ToString(); + FactDrugObjChild.Id = int.Parse(child["Spare8"].ToString()); + drugsRS.Add(FactDrugObjChild); + + + } + + } + + List factEvents = new List(); + DataRow[] Eventdr = dt.Select("ItemKindName='事件'"); + foreach (DataRow dr in Eventdr) + { + int EventId = int.Parse(dr["ItemId"].ToString()); + FactEvents FactEventObj = new FactEvents(); + FactEventObj.PatientId = PatientId; + FactEventObj.EventId = EventId; + FactEventObj.EventName = dr["Spare6"].ToString(); + FactEventObj.EventBeginTime = DateTime.Parse(dr["BeginTime"].ToString()); + FactEventObj.EventEndTime = DateTime.Parse(dr["EndTime"].ToString()); + + if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) + { + FactEventObj.IsContinue = 0; + } + else + { + FactEventObj.IsContinue = 1; + } + FactEventObj.EventTypeId = TypeId; + if (dr["Spare8"].ToString() != "") + FactEventObj.Id = int.Parse(dr["Spare8"].ToString()); + + FactEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactEventObj.OperatorName = OperatorName; + FactEventObj.OperateDate = DateTime.Now; + factEvents.Add(FactEventObj); + } + + List factOutputLiquids = new List(); + DataRow[] OutputLiquidsdr = dt.Select("ItemKindName='出量'"); + foreach (DataRow dr in OutputLiquidsdr) + { + int OutputLiquidsId = int.Parse(dr["ItemId"].ToString()); + FactOutputLiquids FactOutputLiquidsObj = new FactOutputLiquids(); + FactOutputLiquidsObj.PatientId = PatientId; + FactOutputLiquidsObj.OutputLiquidsId = OutputLiquidsId; + FactOutputLiquidsObj.OutputLiquidsName = dr["Spare6"].ToString(); + + FactOutputLiquidsObj.BeginTime = DateTime.Parse(dr["BeginTime"].ToString()); + FactOutputLiquidsObj.EndTime = DateTime.Parse(dr["EndTime"].ToString()); + if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) + { + FactOutputLiquidsObj.IsContinue = 0; + } + else + { + FactOutputLiquidsObj.IsContinue = 1; + } + FactOutputLiquidsObj.OutputLiquidsTypeId = TypeId; + if (dr["Value"].ToString() != "") + { + FactOutputLiquidsObj.Dosage = decimal.Parse(dr["Value"].ToString()); + } + FactOutputLiquidsObj.DosageUnit = dr["DosageUnit"].ToString(); + if (dr["Spare8"].ToString() != "") + FactOutputLiquidsObj.Id = int.Parse(dr["Spare8"].ToString()); + + FactOutputLiquidsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactOutputLiquidsObj.OperatorName = OperatorName; + FactOutputLiquidsObj.OperateDate = DateTime.Now; + factOutputLiquids.Add(FactOutputLiquidsObj); + } + + if (drugsRS.Count > 0) + { + cboDrug.Checked = true; + SetDGVEvent(dgvDrugsSQ); + drugsRS.Sort(new FactDrugComparer()); + FullDrugsData(drugsRS); + } + + if (factEvents.Count > 0) + { + cboEvent.Checked = true; + FullDGV(factEvents); + } + if (factOutputLiquids.Count > 0) + { + cboOutput.Checked = true; + BindOutPut(factOutputLiquids); + } + + + PhysioParamdr = dt.Select("ItemKindName='生命体征'"); + if (PhysioParamdr != null && PhysioParamdr.Length > 0) + { + cboSmtz.Checked = true; + } + //foreach (DataRow dr in PhysioParamdr) + //{ + // int PhysioParamId = int.Parse(dr["ItemId"].ToString()); + // TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + // OperationDoing.AnasRecordBill.Model.PhysioData PhysioDataObj = new OperationDoing.AnasRecordBill.Model.PhysioData(); + // PhysioDataObj.PatientId = PatientId; + // PhysioDataObj.PhysioDataType = TypeId; + // PhysioDataObj.RecordTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); + // PhysioDataObj.PhysioParamID = PhysioParamId; + // if (dr["Value"].ToString() != "") + // { + // PhysioDataObj.Value = double.Parse(dr["Value"].ToString()); + // } + // else + // { + // PhysioDataObj.Value = 0; + // } + //} + } + #endregion + + #region 保存模板 private void tsbSava_Click(object sender, EventArgs e) { + txtName.Select(); if (txtName.Text.Trim() == "") { MessageBox.Show("模板名称不能为空!"); return; } - if(BOperationTemplate.Exists(txtName.Text.Trim(),TypeId)) - { - MessageBox.Show("名称不能重复!"); - return; - } try { - int IsPublic = radioButton1.Checked == true ? 1 : 0; - BOperationTemplate.Add(InRoomTime,txtName.Text.Trim(), PatientId, TypeId,IsPublic); - MessageBox.Show("保存成功!"); - Close(); + if (IsAdd == true) + { + if (BOperationTemplate.Exists(txtName.Text.Trim(), TypeId)) + { + MessageBox.Show("名称不能重复!"); + return; + } + TemplateName = txtName.Text.Trim(); + OperatorName = txtOperatorName.Text.Trim(); + int IsPublic = radioButton1.Checked == true ? 1 : 0; + List OperationTemplates = GetOperationTemplates(InRoomTime, txtName.Text.Trim(), PatientId, TypeId, IsPublic); + BOperationTemplate.Adds(OperationTemplates); + MessageBox.Show("保存成功!"); + Close(); + } + else + { + TemplateName = txtName.Text.Trim(); + OperatorName = txtOperatorName.Text.Trim(); + int IsPublic = radioButton1.Checked == true ? 1 : 0; + List OperationTemplates = GetOperationTemplates(InRoomTime, txtName.Text.Trim(), PatientId, TypeId, IsPublic); + if (OperationTemplates.Count > 0) + { + BOperationTemplate.Delete(TemplateName, TypeId); + BOperationTemplate.Adds(OperationTemplates); + MessageBox.Show("保存成功!"); + Close(); + } + } } catch (Exception ex) { PublicMethod.WriteLog(ex); MessageBox.Show("保存失败!"); } - + + } + int second = 0; + public List GetOperationTemplates(DateTime InRoomTime, string TemplateName, int PatientId, int TypeId, int IsPublic) + { + List OperationTemplates = new List(); + List drugsRS = new List(); + foreach (DataGridViewRow dr in dgvDrugsSQ.Rows) + { + if (dr.Cells[3].Value == null || dr.Cells[3].Value.ToString() == "")//药品名称 + continue; + if (Convert.ToBoolean(dr.Cells[18].Value) == false) + continue; + //实例化FactDrug对象 + FactDrug drugsR = new FactDrug(); + drugsR.PatientId = _record.PatientId.Value; + drugsR.DrugId = Convert.ToInt32(dr.Cells[3].Tag);//药品名称 + if (drugsR.DrugId == 0)//药品名称 + continue; + drugsR.ParentId = int.Parse(dr.Cells[1].Tag.ToString()); + + drugsR.GiveDrugType = dr.Cells[2].EditedFormattedValue.ToString();//药品名称 + drugsR.DrugName = dr.Cells[3].EditedFormattedValue.ToString();//药品名称 + + drugsR.DrugChannel = dr.Cells[5].EditedFormattedValue.ToString();//途径 + if (dr.Cells[10].EditedFormattedValue.ToString() != "")//剂量 + { + drugsR.Dosage = Convert.ToDecimal(dr.Cells[10].EditedFormattedValue.ToString());//剂量 + } + drugsR.DosageUnit = dr.Cells[11].EditedFormattedValue.ToString();//剂量单位 + + if (dr.Cells[6].EditedFormattedValue.ToString() != "") + { + drugsR.Density = Convert.ToDecimal(dr.Cells[6].EditedFormattedValue.ToString());//浓度 + } + else + { + drugsR.Density = 0; + } + drugsR.DensityUnit = dr.Cells[7].EditedFormattedValue.ToString();//浓度单位 + if (dr.Cells[8].EditedFormattedValue.ToString() != "") + { + drugsR.Velocity = Convert.ToDecimal(dr.Cells[8].EditedFormattedValue.ToString());//速度 + } + else + { + drugsR.Velocity = 0; + } + drugsR.VelocityUnit = dr.Cells[9].EditedFormattedValue.ToString();//速度单位 + drugsR.BloodType = dr.Cells[12].EditedFormattedValue.ToString();//血型 + if (dr.Cells[4].EditedFormattedValue.ToString() != "")//备注 + drugsR.Remark = dr.Cells[4].EditedFormattedValue.ToString(); + else + drugsR.Remark = ""; + + if (dr.Cells[14].EditedFormattedValue.ToString() != "")//开始时间 + { + drugsR.DrugBeginTime = Convert.ToDateTime(dr.Cells[14].Value.ToString()); + if (!drugsR.DrugName.Contains("氧气")) + { + second++; + drugsR.DrugBeginTime = drugsR.DrugBeginTime.AddSeconds(second); + if (second > 5) second = 1; + } + } + drugsR.IsContinue = dr.Cells[15].EditedFormattedValue.ToString() != "" ? 1 : 0;//持续 + if (drugsR.IsContinue == 1) + { + DateTime endTime = drugsR.DrugBeginTime; + if (dr.Cells[16].EditedFormattedValue.ToString() != "") endTime = Convert.ToDateTime(dr.Cells[16].Value.ToString()); + drugsR.DrugEndTime = endTime;//结束时间 + } + else + { + drugsR.DrugEndTime = drugsR.DrugBeginTime; + } + drugsR.OperatorNo = PublicMethod.OperatorNo; + drugsR.OperatorName = OperatorName; + drugsR.OperateDate = DateTime.Now; + drugsR.DrugTypeId = TypeId; + if (dr.Cells[17].Value != null) + drugsR.Access = dr.Cells[17].Value.ToString(); + else + drugsR.Access = ""; + + drugsR.Id = Convert.ToInt32(dr.Tag); + drugsRS.Add(drugsR); + } + //药品 + for (int i = 0; i < drugsRS.Count; i++) + { + OperationTemplate OperationTemplateDrugObj = new OperationTemplate(); + FactDrug drugsR = drugsRS[i]; + OperationTemplateDrugObj.TemplateName = TemplateName; + OperationTemplateDrugObj.TypeId = TypeId; + OperationTemplateDrugObj.ItemKindName = "药品"; + OperationTemplateDrugObj.InRoomTime = InRoomTime; + OperationTemplateDrugObj.ItemId = drugsR.DrugId; + OperationTemplateDrugObj.Value = drugsR.Dosage; + OperationTemplateDrugObj.BeginTime = drugsR.DrugBeginTime; + OperationTemplateDrugObj.EndTime = drugsR.DrugEndTime; + OperationTemplateDrugObj.DosageUnit = drugsR.DosageUnit; + OperationTemplateDrugObj.DrugChannel = drugsR.DrugChannel; + OperationTemplateDrugObj.GiveDrugType = drugsR.GiveDrugType; + OperationTemplateDrugObj.Spare1 = drugsR.Density.ToString(); + OperationTemplateDrugObj.Spare2 = drugsR.DensityUnit; + OperationTemplateDrugObj.Spare3 = drugsR.Velocity.ToString(); + OperationTemplateDrugObj.Spare4 = drugsR.VelocityUnit; + OperationTemplateDrugObj.Spare5 = drugsR.ParentId.ToString(); + OperationTemplateDrugObj.Spare6 = drugsR.DrugName; + OperationTemplateDrugObj.Spare7 = drugsR.Access; + OperationTemplateDrugObj.Spare8 = drugsR.Id.ToString(); + OperationTemplateDrugObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + OperationTemplateDrugObj.OperatorName = OperatorName; + OperationTemplateDrugObj.OperateDate = DateTime.Now; + OperationTemplateDrugObj.IsPublic = IsPublic; + OperationTemplates.Add(OperationTemplateDrugObj); + } + //事件 + List factEvents = new List(); + foreach (DataGridViewRow dr in dgvEvents.Rows) + { + if (dr.Cells["EventName"].Value == null || dr.Cells["EventName"].Value.ToString().Trim() == "") continue; + if (Convert.ToBoolean(dr.Cells["AddTemp2"].Value) == false) + continue; + //实例化FactEvents对象 + FactEvents _event = new FactEvents(); + _event.EventTypeId = TypeId; + _event.PatientId = _record.PatientId; + GetEvent(dr, _event); + if (_event.EventName == null) continue; + if (dr.Cells["BeginTime"].EditedFormattedValue.ToString() != "") + { + string begindate = Convert.ToDateTime(dr.Cells["BeginTime"].Value.ToString()).ToString("yyyy-MM-dd HH:mm:00"); + _event.EventBeginTime = Convert.ToDateTime(begindate);//开始时间 + if (dr.Cells["EventName"].Value.ToString() != "入室") + { + second++; + _event.EventBeginTime = _event.EventBeginTime.Value.AddSeconds(second); + if (second > 5) second = 0; + } + } + _event.EventEndTime = dr.Cells["EndTime"].EditedFormattedValue.ToString() != "" ? Convert.ToDateTime(dr.Cells["EndTime"].Value.ToString()) : _event.EventBeginTime; + + if (dr.Cells["Remark"].EditedFormattedValue.ToString() != "") + { + _event.Remark = dr.Cells["Remark"].EditedFormattedValue.ToString(); + } + else + { + _event.Remark = ""; + } + _event.IsContinue = dr.Cells["Continue"].EditedFormattedValue.ToString() != "" ? 1 : 0; + _event.Id = Convert.ToInt32(dr.Tag); + factEvents.Add(_event); + } + for (int i = 0; i < factEvents.Count; i++) + { + OperationTemplate OperationTemplateEventObj = new OperationTemplate(); + FactEvents factEventsObj = factEvents[i]; + OperationTemplateEventObj.TemplateName = TemplateName; + OperationTemplateEventObj.TypeId = TypeId; + OperationTemplateEventObj.ItemKindName = "事件"; + OperationTemplateEventObj.InRoomTime = InRoomTime; + OperationTemplateEventObj.ItemId = factEventsObj.EventId; + OperationTemplateEventObj.Value = 0; + OperationTemplateEventObj.BeginTime = factEventsObj.EventBeginTime; + OperationTemplateEventObj.EndTime = factEventsObj.EventEndTime; + OperationTemplateEventObj.Spare6 = factEventsObj.EventName; + OperationTemplateEventObj.Spare8 = factEventsObj.Id.ToString(); + OperationTemplateEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + OperationTemplateEventObj.OperatorName = OperatorName; + OperationTemplateEventObj.OperateDate = DateTime.Now; + OperationTemplateEventObj.IsPublic = IsPublic; + OperationTemplates.Add(OperationTemplateEventObj); + } + //出量 + List factOutputLiquids = new List(); + foreach (DataGridViewRow dr in dgvOutput.Rows) + { + if (dr.Cells["OutputName"].EditedFormattedValue.ToString() == "" || dr.Cells["Dose"].EditedFormattedValue.ToString() == "") + { + continue; + } + if (Convert.ToBoolean(dr.Cells["AddTemp3"].Value) == false) + continue; + string OutputName = dr.Cells["OutputName"].EditedFormattedValue.ToString().Trim(); + int outId = 0; + OutputLiquids OutputLiquidsRef = null; + OutputLiquidsRef = BOutputLiquids.SelectSingle(" Name='" + OutputName + "'", null, RecursiveType.None, 0); + if (OutputLiquidsRef == null) + { + OutputLiquidsRef = new OutputLiquids(); + OutputLiquidsRef.Name = OutputName; + OutputLiquidsRef.HelpCode = PublicMethod.GetFirstLetter(OutputName); + OutputLiquidsRef.IsValid = 1; + OutputLiquidsRef.OperatorNo = PublicMethod.OperatorNo; + OutputLiquidsRef.OperateDate = DateTime.Now; + OutputLiquidsRef.Id = BOutputLiquids.Insert(OutputLiquidsRef); + } + outId = OutputLiquidsRef.Id.Value; + //实例化OutputLiquids对象 + FactOutputLiquids liquids = new FactOutputLiquids(); + liquids.OutputLiquidsName = OutputName; + liquids.PatientId = _record.PatientId.Value; + liquids.OutputLiquidsId = outId; + liquids.OutputLiquidsTypeId = TypeId; + liquids.Dosage = Convert.ToDecimal(dr.Cells["Dose"].Value); + liquids.DosageUnit = dr.Cells["DoseUnit"].EditedFormattedValue.ToString(); + + if (dr.Cells["BeginTime2"].EditedFormattedValue.ToString() != "") + { + liquids.BeginTime = Convert.ToDateTime(dr.Cells["BeginTime2"].Value.ToString()); + } + liquids.EndTime = dr.Cells["EndTime2"].EditedFormattedValue.ToString() != "" ? Convert.ToDateTime(dr.Cells["EndTime2"].Value.ToString()) : liquids.BeginTime; + liquids.IsContinue = dr.Cells["Continue2"].EditedFormattedValue.ToString() != "" ? 1 : 0; + liquids.Remark = dr.Cells["Remark2"].EditedFormattedValue.ToString(); + liquids.OperatorNo = PublicMethod.OperatorNo; + liquids.OperatorName = OperatorName; + liquids.OperateDate = DateTime.Now; + liquids.Id = Convert.ToInt32(dr.Tag); + factOutputLiquids.Add(liquids); + } + for (int i = 0; i < factOutputLiquids.Count; i++) + { + OperationTemplate OperationTemplateOutputLiquidsObj = new OperationTemplate(); + FactOutputLiquids factOutput = factOutputLiquids[i]; + OperationTemplateOutputLiquidsObj.TemplateName = TemplateName; + OperationTemplateOutputLiquidsObj.TypeId = TypeId; + OperationTemplateOutputLiquidsObj.ItemKindName = "出量"; + OperationTemplateOutputLiquidsObj.InRoomTime = InRoomTime; + OperationTemplateOutputLiquidsObj.ItemId = factOutput.OutputLiquidsTypeId; + OperationTemplateOutputLiquidsObj.BeginTime = factOutput.BeginTime; + OperationTemplateOutputLiquidsObj.EndTime = factOutput.EndTime; + OperationTemplateOutputLiquidsObj.Value = factOutput.Dosage; + OperationTemplateOutputLiquidsObj.DosageUnit = factOutput.DosageUnit; + OperationTemplateOutputLiquidsObj.Spare6 = factOutput.OutputLiquidsName; + OperationTemplateOutputLiquidsObj.Spare8 = factOutput.Id.ToString(); + OperationTemplateOutputLiquidsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + OperationTemplateOutputLiquidsObj.OperatorName = OperatorName; + OperationTemplateOutputLiquidsObj.OperateDate = DateTime.Now; + OperationTemplateOutputLiquidsObj.IsPublic = IsPublic; + OperationTemplates.Add(OperationTemplateOutputLiquidsObj); + } + if (cboSmtz.Checked == true && IsAdd == true) + { + System.Data.DataTable dtPhysioData = BOperationRecord.getByOpeIDIsPhysioData(_record.Id.Value); + if (dtPhysioData.Rows.Count > 0) + { + foreach (DataRow item in dtPhysioData.Rows) + { + OperationTemplate OperationTemplateOutputLiquidsObj = new OperationTemplate(); + OperationTemplateOutputLiquidsObj.TemplateName = TemplateName; + OperationTemplateOutputLiquidsObj.TypeId = TypeId; + OperationTemplateOutputLiquidsObj.ItemKindName = "生命体征"; + OperationTemplateOutputLiquidsObj.InRoomTime = InRoomTime; + OperationTemplateOutputLiquidsObj.ItemId = int.Parse(item["PhysioDataConfigId"].ToString()); + OperationTemplateOutputLiquidsObj.BeginTime = DateTime.Parse(item["RecordTime"].ToString()); + OperationTemplateOutputLiquidsObj.EndTime = DateTime.Parse(item["RecordTime"].ToString()); + OperationTemplateOutputLiquidsObj.Value = Decimal.Parse(item["Value"].ToString()); + OperationTemplateOutputLiquidsObj.DosageUnit = ""; + OperationTemplateOutputLiquidsObj.Spare6 = item["Name"].ToString(); + OperationTemplateOutputLiquidsObj.Spare8 = ""; + OperationTemplateOutputLiquidsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + OperationTemplateOutputLiquidsObj.OperatorName = OperatorName; + OperationTemplateOutputLiquidsObj.OperateDate = DateTime.Now; + OperationTemplateOutputLiquidsObj.IsPublic = IsPublic; + OperationTemplates.Add(OperationTemplateOutputLiquidsObj); + } + } + } + if (cboSmtz.Checked == true && IsAdd == false) + { + if (PhysioParamdr != null && PhysioParamdr.Length > 0) + { + foreach (DataRow dr in PhysioParamdr) + { + OperationTemplate OperationTemplateOutputLiquidsObj = new OperationTemplate(); + OperationTemplateOutputLiquidsObj.TemplateName = TemplateName; + OperationTemplateOutputLiquidsObj.TypeId = TypeId; + OperationTemplateOutputLiquidsObj.ItemKindName = "生命体征"; + OperationTemplateOutputLiquidsObj.InRoomTime = InRoomTime; + OperationTemplateOutputLiquidsObj.ItemId = int.Parse(dr["ItemId"].ToString()); + OperationTemplateOutputLiquidsObj.BeginTime = DateTime.Parse(dr["BeginTime"].ToString()); + OperationTemplateOutputLiquidsObj.EndTime = DateTime.Parse(dr["EndTime"].ToString()); + OperationTemplateOutputLiquidsObj.Value = Decimal.Parse(dr["Value"].ToString()); + OperationTemplateOutputLiquidsObj.DosageUnit = ""; + OperationTemplateOutputLiquidsObj.Spare6 = dr["Spare6"].ToString(); + OperationTemplateOutputLiquidsObj.Spare8 = ""; + OperationTemplateOutputLiquidsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + OperationTemplateOutputLiquidsObj.OperatorName = OperatorName; + OperationTemplateOutputLiquidsObj.OperateDate = DateTime.Now; + OperationTemplateOutputLiquidsObj.IsPublic = IsPublic; + OperationTemplates.Add(OperationTemplateOutputLiquidsObj); + } + + } + } + return OperationTemplates; } private void tsbExit_Click(object sender, EventArgs e) { Close(); } + private void cboDrug_CheckedChanged(object sender, EventArgs e) + { + foreach (DataGridViewRow item in dgvDrugsSQ.Rows) + { + item.Cells[18].Value = cboDrug.Checked; + } + } - + private void cboEvent_CheckedChanged(object sender, EventArgs e) + { + foreach (DataGridViewRow item in dgvEvents.Rows) + { + item.Cells["AddTemp2"].Value = cboEvent.Checked; + } + } + + private void cboOutput_CheckedChanged(object sender, EventArgs e) + { + foreach (DataGridViewRow item in dgvOutput.Rows) + { + item.Cells["AddTemp3"].Value = cboOutput.Checked; + } + } + #endregion } } diff --git a/AIMS/PublicUI/frmCreateTemplate.resx b/AIMS/PublicUI/frmCreateTemplate.resx index 5da7a24..e6304ea 100644 --- a/AIMS/PublicUI/frmCreateTemplate.resx +++ b/AIMS/PublicUI/frmCreateTemplate.resx @@ -120,4 +120,37 @@ 17, 17 + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + + + True + \ No newline at end of file diff --git a/AIMS/PublicUI/frmTemplate.Designer.cs b/AIMS/PublicUI/frmTemplate.Designer.cs index c4cc858..edd102c 100644 --- a/AIMS/PublicUI/frmTemplate.Designer.cs +++ b/AIMS/PublicUI/frmTemplate.Designer.cs @@ -42,9 +42,11 @@ this.TemplateNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.OperatorName = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.InputColumn = new System.Windows.Forms.DataGridViewButtonColumn(); + this.EditColumn = new System.Windows.Forms.DataGridViewButtonColumn(); this.DeleteColumn = new System.Windows.Forms.DataGridViewButtonColumn(); - this.IsPublic = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.IsPublic = new System.Windows.Forms.DataGridViewCheckBoxColumn(); this.OperatorNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.InRoomTime2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); this.panel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgv)).BeginInit(); this.panel1.SuspendLayout(); @@ -74,9 +76,11 @@ this.TemplateNameColumn, this.OperatorName, this.InputColumn, + this.EditColumn, this.DeleteColumn, this.IsPublic, - this.OperatorNo}); + this.OperatorNo, + this.InRoomTime2}); this.dgv.Dock = System.Windows.Forms.DockStyle.Fill; this.dgv.Location = new System.Drawing.Point(0, 0); this.dgv.Name = "dgv"; @@ -181,26 +185,40 @@ // // InputColumn // + this.InputColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.InputColumn.HeaderText = ""; this.InputColumn.Name = "InputColumn"; this.InputColumn.Text = "导入"; this.InputColumn.UseColumnTextForButtonValue = true; - this.InputColumn.Width = 80; + this.InputColumn.Width = 60; + // + // EditColumn + // + this.EditColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; + this.EditColumn.HeaderText = ""; + this.EditColumn.Name = "EditColumn"; + this.EditColumn.ReadOnly = true; + this.EditColumn.Text = "编辑"; + this.EditColumn.UseColumnTextForButtonValue = true; + this.EditColumn.Width = 60; // // DeleteColumn // + this.DeleteColumn.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; this.DeleteColumn.HeaderText = ""; this.DeleteColumn.Name = "DeleteColumn"; this.DeleteColumn.ReadOnly = true; this.DeleteColumn.Text = "删除"; this.DeleteColumn.UseColumnTextForButtonValue = true; - this.DeleteColumn.Width = 80; + this.DeleteColumn.Width = 60; // // IsPublic // this.IsPublic.DataPropertyName = "IsPublic"; this.IsPublic.HeaderText = "公有"; this.IsPublic.Name = "IsPublic"; + this.IsPublic.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.IsPublic.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; this.IsPublic.Visible = false; // // OperatorNo @@ -210,6 +228,13 @@ this.OperatorNo.Name = "OperatorNo"; this.OperatorNo.Visible = false; // + // InRoomTime2 + // + this.InRoomTime2.DataPropertyName = "InRoomTime"; + this.InRoomTime2.HeaderText = "InRoomTime"; + this.InRoomTime2.Name = "InRoomTime2"; + this.InRoomTime2.Visible = false; + // // frmTemplate // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -247,8 +272,10 @@ private System.Windows.Forms.DataGridViewTextBoxColumn TemplateNameColumn; private System.Windows.Forms.DataGridViewTextBoxColumn OperatorName; private System.Windows.Forms.DataGridViewButtonColumn InputColumn; + private System.Windows.Forms.DataGridViewButtonColumn EditColumn; private System.Windows.Forms.DataGridViewButtonColumn DeleteColumn; - private System.Windows.Forms.DataGridViewTextBoxColumn IsPublic; + private System.Windows.Forms.DataGridViewCheckBoxColumn IsPublic; private System.Windows.Forms.DataGridViewTextBoxColumn OperatorNo; + private System.Windows.Forms.DataGridViewTextBoxColumn InRoomTime2; } } \ No newline at end of file diff --git a/AIMS/PublicUI/frmTemplate.cs b/AIMS/PublicUI/frmTemplate.cs index 40e7e0d..0c2810d 100644 --- a/AIMS/PublicUI/frmTemplate.cs +++ b/AIMS/PublicUI/frmTemplate.cs @@ -1,5 +1,6 @@ using AIMSBLL; using AIMSExtension; +using DrawGraph; using System; using System.Collections.Generic; using System.ComponentModel; @@ -13,6 +14,7 @@ namespace AIMS.PublicUI.UI { public partial class frmTemplate : Form { + public OperationRecord _record; public DateTime InRoomTime; public int PatientId = 0; public int TypeId = 0; @@ -32,9 +34,11 @@ namespace AIMS.PublicUI.UI private void tsbCreateTemplate_Click(object sender, EventArgs e) { frmCreateTemplate frmCreateTemplateObj = new frmCreateTemplate(); + frmCreateTemplateObj._record = _record; frmCreateTemplateObj.InRoomTime = InRoomTime; frmCreateTemplateObj.PatientId = PatientId; frmCreateTemplateObj.TypeId = TypeId; + frmCreateTemplateObj.IsAdd = true; frmCreateTemplateObj.FormClosed += new FormClosedEventHandler(frmCreateTemplateObj_FormClosed); frmCreateTemplateObj.ShowDialog(); } @@ -60,11 +64,25 @@ namespace AIMS.PublicUI.UI if (MessageBox.Show("确认要导入[" + dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString() + "]模板吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes) { //BOperationTemplate.ClearData(PatientId, TypeId); - BOperationTemplate.InputData(dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString(), PatientId, InRoomTime, TypeId); - Close(); + BOperationTemplate.InputData(dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString(), PatientId, InRoomTime, TypeId,_record); + this.DialogResult = System.Windows.Forms.DialogResult.OK; } } - if (this.dgv.Columns[e.ColumnIndex].Name == "DeleteColumn") + else if (this.dgv.Columns[e.ColumnIndex].Name == "EditColumn") + { + frmCreateTemplate frmCreateTemplateObj = new frmCreateTemplate(); + frmCreateTemplateObj.TemplateName = dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString(); + frmCreateTemplateObj.OperatorName = dgv.CurrentRow.Cells["OperatorName"].Value.ToString(); + frmCreateTemplateObj.IsPublic = dgv.CurrentRow.Cells["IsPublic"].Value.ToString() == "1" ? true : false; + frmCreateTemplateObj.InRoomTime = DateTime.Parse(dgv.CurrentRow.Cells["InRoomTime2"].Value.ToString()); + frmCreateTemplateObj._record = _record; + frmCreateTemplateObj.PatientId = PatientId; + frmCreateTemplateObj.TypeId = TypeId; + frmCreateTemplateObj.IsAdd = false; + frmCreateTemplateObj.FormClosed += new FormClosedEventHandler(frmCreateTemplateObj_FormClosed); + frmCreateTemplateObj.ShowDialog(); + } + else if (this.dgv.Columns[e.ColumnIndex].Name == "DeleteColumn") { bool isDelete = false; if (dgv.CurrentRow.Cells["isPublic"].Value.ToString() == "0" && dgv.CurrentRow.Cells["OperatorNo"].Value.ToString() == AIMSExtension.PublicMethod.OperatorNo || AIMSExtension.PublicMethod.RoleId == 7) @@ -83,13 +101,11 @@ namespace AIMS.PublicUI.UI if (MessageBox.Show("确认要删除[" + dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString() + "]模板吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Information) == DialogResult.Yes) { - BOperationTemplate.Delete(dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString(), TypeId); + BOperationTemplate.Delete(dgv.CurrentRow.Cells["TemplateNameColumn"].Value.ToString(), TypeId); GetTemplateDataTable(); } } } - - } } diff --git a/AIMS/PublicUI/frmTemplate.resx b/AIMS/PublicUI/frmTemplate.resx index 0ae6711..80947e0 100644 --- a/AIMS/PublicUI/frmTemplate.resx +++ b/AIMS/PublicUI/frmTemplate.resx @@ -126,6 +126,9 @@ True + + True + True @@ -135,6 +138,9 @@ True + + True + 17, 17 diff --git a/AIMSEntity/BLL/Extension/BOperationRecord.cs b/AIMSEntity/BLL/Extension/BOperationRecord.cs index e455b04..e440707 100644 --- a/AIMSEntity/BLL/Extension/BOperationRecord.cs +++ b/AIMSEntity/BLL/Extension/BOperationRecord.cs @@ -665,7 +665,7 @@ namespace AIMSBLL } public static DataTable getByOpeIDIsPhysioData(int operationId) { - string sqlStr = "SELECT [PhysioDataConfig].Name , PhysioData.RecordTime, PhysioData.[Value] FROM [dbo].[PhysioDataConfig] INNER JOIN PhysioData ON [PhysioDataConfig].Id = PhysioData.PhysioDataConfigId where PatientId = " + operationId + " order by PhysioDataConfigId,PhysioData.RecordTime ASC"; + string sqlStr = "SELECT [PhysioDataConfig].Name ,PhysioData.PhysioDataConfigId, PhysioData.RecordTime, PhysioData.[Value] FROM [dbo].[PhysioDataConfig] INNER JOIN PhysioData ON [PhysioDataConfig].Id = PhysioData.PhysioDataConfigId where PatientId = " + operationId + " order by PhysioDataConfigId,PhysioData.RecordTime ASC"; return DBHelper.GetDataTable(sqlStr); } diff --git a/AIMSEntity/BLL/Extension/BOperationTemplate.cs b/AIMSEntity/BLL/Extension/BOperationTemplate.cs index 8466b70..f780610 100644 --- a/AIMSEntity/BLL/Extension/BOperationTemplate.cs +++ b/AIMSEntity/BLL/Extension/BOperationTemplate.cs @@ -15,92 +15,10 @@ namespace AIMSBLL { return DOperationTemplate.Exists(TemplateName, TypeId); } - public static void Add(DateTime InRoomTime, string TemplateName, int PatientId, int TypeId, int IsPublic) + public static void Adds(List operationTemplates) { - //药品 - DataTable Drugdt = BFactDrug.GetDataTable(PatientId, TypeId); - for (int i = 0; i < Drugdt.Rows.Count; i++) - { - OperationTemplate OperationTemplateDrugObj = new OperationTemplate(); - int DrugId = int.Parse(Drugdt.Rows[i]["DrugId"].ToString()); - if (BFactDrug.IsValid(DrugId)) - { - OperationTemplateDrugObj.TemplateName = TemplateName; - OperationTemplateDrugObj.TypeId = TypeId; - OperationTemplateDrugObj.ItemKindName = "药品"; - OperationTemplateDrugObj.InRoomTime = InRoomTime; - OperationTemplateDrugObj.ItemId = DrugId; - OperationTemplateDrugObj.Value = decimal.Parse(Drugdt.Rows[i]["Dosage"].ToString()); - OperationTemplateDrugObj.BeginTime = DateTime.Parse(Drugdt.Rows[i]["DrugBeginTime"].ToString()); - OperationTemplateDrugObj.EndTime = DateTime.Parse(Drugdt.Rows[i]["DrugEndTime"].ToString()); - OperationTemplateDrugObj.DosageUnit = Drugdt.Rows[i]["DosageUnit"].ToString(); - OperationTemplateDrugObj.DrugChannel = Drugdt.Rows[i]["DrugChannel"].ToString(); - OperationTemplateDrugObj.GiveDrugType = Drugdt.Rows[i]["GiveDrugType"].ToString(); - OperationTemplateDrugObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; - OperationTemplateDrugObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - OperationTemplateDrugObj.OperateDate = AIMSExtension.PublicMethod.SystemDate(); - OperationTemplateDrugObj.IsPublic = IsPublic; - OperationTemplateDrugObj.Spare1 = Drugdt.Rows[i]["Density"].ToString(); - OperationTemplateDrugObj.Spare2 = Drugdt.Rows[i]["DensityUnit"].ToString(); - OperationTemplateDrugObj.Spare3 = Drugdt.Rows[i]["Velocity"].ToString(); - OperationTemplateDrugObj.Spare4 = Drugdt.Rows[i]["VelocityUnit"].ToString(); - OperationTemplateDrugObj.Spare5 = Drugdt.Rows[i]["ParentId"].ToString(); - OperationTemplateDrugObj.Spare6 = Drugdt.Rows[i]["DrugName"].ToString(); - OperationTemplateDrugObj.Spare7 = Drugdt.Rows[i]["Access"].ToString(); - OperationTemplateDrugObj.Spare8 = Drugdt.Rows[i]["Id"].ToString(); - Add(OperationTemplateDrugObj); - } - - } - //事件 - DataTable Eventdt = BFactEvents.GetDataTable(PatientId, TypeId); - for (int i = 0; i < Eventdt.Rows.Count; i++) - { - OperationTemplate OperationTemplateEventObj = new OperationTemplate(); - int EventId = int.Parse(Eventdt.Rows[i]["EventId"].ToString()); - if (BFactEvents.IsValid(EventId)) - { - OperationTemplateEventObj.TemplateName = TemplateName; - OperationTemplateEventObj.TypeId = TypeId; - OperationTemplateEventObj.ItemKindName = "事件"; - OperationTemplateEventObj.InRoomTime = InRoomTime; - OperationTemplateEventObj.ItemId = EventId; - OperationTemplateEventObj.Value = 0; - OperationTemplateEventObj.BeginTime = DateTime.Parse(Eventdt.Rows[i]["EventBeginTime"].ToString()); - OperationTemplateEventObj.EndTime = DateTime.Parse(Eventdt.Rows[i]["EventEndTime"].ToString()); - OperationTemplateEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; - OperationTemplateEventObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - OperationTemplateEventObj.OperateDate = AIMSExtension.PublicMethod.SystemDate(); - OperationTemplateEventObj.IsPublic = IsPublic; - Add(OperationTemplateEventObj); - } - } - //出量 - DataTable OutputLiquidsdt = BFactOutputLiquids.GetDataTable(PatientId, TypeId); - for (int i = 0; i < OutputLiquidsdt.Rows.Count; i++) - { - OperationTemplate OperationTemplateOutputLiquidsObj = new OperationTemplate(); - int OutputLiquidsId = int.Parse(OutputLiquidsdt.Rows[i]["OutputLiquidsId"].ToString()); - if (BFactOutputLiquids.IsValid(OutputLiquidsId)) - { - OperationTemplateOutputLiquidsObj.TemplateName = TemplateName; - OperationTemplateOutputLiquidsObj.TypeId = TypeId; - OperationTemplateOutputLiquidsObj.ItemKindName = "出量"; - OperationTemplateOutputLiquidsObj.InRoomTime = InRoomTime; - OperationTemplateOutputLiquidsObj.ItemId = OutputLiquidsId; - OperationTemplateOutputLiquidsObj.BeginTime = DateTime.Parse(OutputLiquidsdt.Rows[i]["BeginTime"].ToString()); - OperationTemplateOutputLiquidsObj.EndTime = DateTime.Parse(OutputLiquidsdt.Rows[i]["EndTime"].ToString()); - OperationTemplateOutputLiquidsObj.Value = decimal.Parse(OutputLiquidsdt.Rows[i]["Dosage"].ToString()); - OperationTemplateOutputLiquidsObj.DosageUnit = OutputLiquidsdt.Rows[i]["DosageUnit"].ToString(); - OperationTemplateOutputLiquidsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; - OperationTemplateOutputLiquidsObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - OperationTemplateOutputLiquidsObj.OperateDate = AIMSExtension.PublicMethod.SystemDate(); - OperationTemplateOutputLiquidsObj.IsPublic = IsPublic; - Add(OperationTemplateOutputLiquidsObj); - } - } + DOperationTemplate.Adds(operationTemplates); } - public static void Add(OperationTemplate OperationTemplateObj) { DOperationTemplate.Add(OperationTemplateObj); @@ -121,11 +39,15 @@ namespace AIMSBLL return DOperationTemplate.GetDataTable(TypeId, AIMSExtension.PublicMethod.OperatorNo); } + public static DataTable GetDataTable2(string TemplateName, int TypeId) + { + return DOperationTemplate.GetDataTable(TemplateName, TypeId); + } public static void ClearData(int PatientId, int TypeId) { DOperationTemplate.ClearData(PatientId, TypeId); } - public static void InputData(string TemplateName, int PatientId, DateTime InRoomTime, int TypeId) + public static void InputData(string TemplateName, int PatientId, DateTime InRoomTime, int TypeId, OperationRecord _record) { DateTime NewInRoomTime = AIMSExtension.PublicMethod.SystemDate(); DataTable dt = DOperationTemplate.GetDataTable(TemplateName, TypeId); @@ -133,105 +55,105 @@ namespace AIMSBLL foreach (DataRow dr in drugdr) { int DrugId = int.Parse(dr["ItemId"].ToString()); - if (BFactDrug.IsValid(DrugId)) + //if (BFactDrug.IsValid(DrugId)) + //{ + FactDrug FactDrugObj = new FactDrug(); + FactDrugObj.PatientId = PatientId; + FactDrugObj.DrugId = DrugId; + TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + + FactDrugObj.DrugBeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); + FactDrugObj.DrugEndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds); + + if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) { - FactDrug FactDrugObj = new FactDrug(); - FactDrugObj.PatientId = PatientId; - FactDrugObj.DrugId = DrugId; - TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); - TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + FactDrugObj.IsContinue = 0; + } + else + { + FactDrugObj.IsContinue = 1; + } + FactDrugObj.DrugTypeId = TypeId; + if (dr["Value"].ToString() != "") + { + FactDrugObj.Dosage = decimal.Parse(dr["Value"].ToString()); + } + FactDrugObj.DosageUnit = dr["DosageUnit"].ToString(); + if (dr["Spare1"].ToString() != "" && dr["Spare1"].ToString() != "0" && dr["Spare1"].ToString() != "0.00") + { + FactDrugObj.Density = decimal.Parse(dr["Spare1"].ToString()); + FactDrugObj.DensityUnit = dr["Spare2"].ToString(); + } + if (dr["Spare3"].ToString() != "" && dr["Spare3"].ToString() != "0" && dr["Spare3"].ToString() != "0.00") + { + FactDrugObj.Velocity = decimal.Parse(dr["Spare3"].ToString()); + FactDrugObj.VelocityUnit = dr["Spare4"].ToString(); + } - FactDrugObj.DrugBeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); - FactDrugObj.DrugEndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds); + FactDrugObj.DrugChannel = dr["DrugChannel"].ToString(); + FactDrugObj.GiveDrugType = dr["GiveDrugType"].ToString(); + FactDrugObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactDrugObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; + FactDrugObj.OperateDate = NewInRoomTime; + FactDrugObj.ParentId = 0;// int.Parse(dr["Spare5"].ToString()); + FactDrugObj.DrugName = dr["Spare6"].ToString(); + FactDrugObj.Access = dr["Spare7"].ToString(); + FactDrugObj.Id = BFactDrug.Add(FactDrugObj); + DataRow[] drugchild = dt.Select("ItemKindName='药品' and Spare5='" + dr["Spare8"].ToString() + "' "); + foreach (DataRow child in drugchild) + { + int DrugId2 = int.Parse(child["ItemId"].ToString()); + //if (BFactDrug.IsValid(DrugId2)) + //{ + FactDrug FactDrugObjChild = new FactDrug(); + FactDrugObjChild.PatientId = PatientId; + FactDrugObjChild.DrugId = DrugId2; + TimeSpan BeginTimets2 = DateTime.Parse(child["BeginTime"].ToString()).Subtract(DateTime.Parse(child["InRoomTime"].ToString())); + TimeSpan EndTimets2 = DateTime.Parse(child["EndTime"].ToString()).Subtract(DateTime.Parse(child["InRoomTime"].ToString())); - if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) + FactDrugObjChild.DrugBeginTime = InRoomTime.AddSeconds(BeginTimets2.TotalSeconds); + FactDrugObjChild.DrugEndTime = InRoomTime.AddSeconds(EndTimets2.TotalSeconds); + + if (child["BeginTime"].ToString() == child["EndTime"].ToString()) { - FactDrugObj.IsContinue = 0; + FactDrugObjChild.IsContinue = 0; } else { - FactDrugObj.IsContinue = 1; + FactDrugObjChild.IsContinue = 1; } - FactDrugObj.DrugTypeId = TypeId; - if (dr["Value"].ToString() != "") + FactDrugObjChild.DrugTypeId = TypeId; + if (child["Value"].ToString() != "") { - FactDrugObj.Dosage = decimal.Parse(dr["Value"].ToString()); + FactDrugObjChild.Dosage = decimal.Parse(child["Value"].ToString()); } - FactDrugObj.DosageUnit = dr["DosageUnit"].ToString(); - if (dr["Spare1"].ToString() != "" && dr["Spare1"].ToString() != "0" && dr["Spare1"].ToString() != "0.00") + FactDrugObjChild.DosageUnit = child["DosageUnit"].ToString(); + if (child["Spare1"].ToString() != "" && child["Spare1"].ToString() != "0" && child["Spare1"].ToString() != "0.00") { - FactDrugObj.Density = decimal.Parse(dr["Spare1"].ToString()); - FactDrugObj.DensityUnit = dr["Spare2"].ToString(); + FactDrugObjChild.Density = decimal.Parse(child["Spare1"].ToString()); + FactDrugObjChild.DensityUnit = child["Spare2"].ToString(); } - if (dr["Spare3"].ToString() != "" && dr["Spare3"].ToString() != "0" && dr["Spare3"].ToString() != "0.00") + if (child["Spare3"].ToString() != "" && child["Spare3"].ToString() != "0" && child["Spare3"].ToString() != "0.00") { - FactDrugObj.Velocity = decimal.Parse(dr["Spare3"].ToString()); - FactDrugObj.VelocityUnit = dr["Spare4"].ToString(); + FactDrugObjChild.Velocity = decimal.Parse(child["Spare3"].ToString()); + FactDrugObjChild.VelocityUnit = child["Spare4"].ToString(); } - FactDrugObj.DrugChannel = dr["DrugChannel"].ToString(); - FactDrugObj.GiveDrugType = dr["GiveDrugType"].ToString(); - FactDrugObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; - FactDrugObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - FactDrugObj.OperateDate = NewInRoomTime; - FactDrugObj.ParentId = 0;// int.Parse(dr["Spare5"].ToString()); - FactDrugObj.DrugName = dr["Spare6"].ToString(); - FactDrugObj.Access = dr["Spare7"].ToString(); - FactDrugObj.Id = BFactDrug.Add(FactDrugObj); - DataRow[] drugchild = dt.Select("ItemKindName='药品' and Spare5='"+dr["Spare8"].ToString()+"' "); - foreach (DataRow child in drugchild) - { - int DrugId2 = int.Parse(child["ItemId"].ToString()); - if (BFactDrug.IsValid(DrugId2)) - { - FactDrug FactDrugObjChild = new FactDrug(); - FactDrugObjChild.PatientId = PatientId; - FactDrugObjChild.DrugId = DrugId2; - TimeSpan BeginTimets2 = DateTime.Parse(child["BeginTime"].ToString()).Subtract(DateTime.Parse(child["InRoomTime"].ToString())); - TimeSpan EndTimets2 = DateTime.Parse(child["EndTime"].ToString()).Subtract(DateTime.Parse(child["InRoomTime"].ToString())); + FactDrugObjChild.DrugChannel = child["DrugChannel"].ToString(); + FactDrugObjChild.GiveDrugType = child["GiveDrugType"].ToString(); + FactDrugObjChild.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactDrugObjChild.OperatorName = AIMSExtension.PublicMethod.OperatorName; + FactDrugObjChild.OperateDate = NewInRoomTime; + FactDrugObjChild.ParentId = FactDrugObj.Id; + FactDrugObjChild.DrugName = child["Spare6"].ToString(); + FactDrugObjChild.Access = child["Spare7"].ToString(); + BFactDrug.Add(FactDrugObjChild); - FactDrugObjChild.DrugBeginTime = InRoomTime.AddSeconds(BeginTimets2.TotalSeconds); - FactDrugObjChild.DrugEndTime = InRoomTime.AddSeconds(EndTimets2.TotalSeconds); + //} - if (child["BeginTime"].ToString() == child["EndTime"].ToString()) - { - FactDrugObjChild.IsContinue = 0; - } - else - { - FactDrugObjChild.IsContinue = 1; - } - FactDrugObjChild.DrugTypeId = TypeId; - if (child["Value"].ToString() != "") - { - FactDrugObjChild.Dosage = decimal.Parse(child["Value"].ToString()); - } - FactDrugObjChild.DosageUnit = child["DosageUnit"].ToString(); - if (child["Spare1"].ToString() != "" && child["Spare1"].ToString() != "0" && child["Spare1"].ToString() != "0.00") - { - FactDrugObjChild.Density = decimal.Parse(child["Spare1"].ToString()); - FactDrugObjChild.DensityUnit = child["Spare2"].ToString(); - } - if (child["Spare3"].ToString() != "" && child["Spare3"].ToString() != "0" && child["Spare3"].ToString() != "0.00") - { - FactDrugObjChild.Velocity = decimal.Parse(child["Spare3"].ToString()); - FactDrugObjChild.VelocityUnit = child["Spare4"].ToString(); - } - - FactDrugObjChild.DrugChannel = child["DrugChannel"].ToString(); - FactDrugObjChild.GiveDrugType = child["GiveDrugType"].ToString(); - FactDrugObjChild.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; - FactDrugObjChild.OperatorName = AIMSExtension.PublicMethod.OperatorName; - FactDrugObjChild.OperateDate = NewInRoomTime; - FactDrugObjChild.ParentId = FactDrugObj.Id; - FactDrugObjChild.DrugName = child["Spare6"].ToString(); - FactDrugObjChild.Access = child["Spare7"].ToString(); - BFactDrug.Add(FactDrugObjChild); - - } - - } } + //} } @@ -242,27 +164,27 @@ namespace AIMSBLL if (BFactEvents.IsValid(EventId)) { FactEvents FactEventObj = new FactEvents(); - FactEventObj.PatientId = PatientId; - FactEventObj.EventId = EventId; - TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); - TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + FactEventObj.PatientId = PatientId; + FactEventObj.EventId = EventId; + TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); - FactEventObj.EventBeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); - FactEventObj.EventEndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds); - if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) - { - FactEventObj.IsContinue = 0; - } - else - { - FactEventObj.IsContinue = 1; - } - FactEventObj.EventTypeId = TypeId; + FactEventObj.EventBeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); + FactEventObj.EventEndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds); + if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) + { + FactEventObj.IsContinue = 0; + } + else + { + FactEventObj.IsContinue = 1; + } + FactEventObj.EventTypeId = TypeId; - FactEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; - FactEventObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - FactEventObj.OperateDate = NewInRoomTime; - BFactEvents.Add(FactEventObj); + FactEventObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactEventObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; + FactEventObj.OperateDate = NewInRoomTime; + BFactEvents.Add(FactEventObj); } } @@ -270,59 +192,51 @@ namespace AIMSBLL foreach (DataRow dr in OutputLiquidsdr) { int OutputLiquidsId = int.Parse(dr["ItemId"].ToString()); - if (BFactOutputLiquids.IsValid(OutputLiquidsId)) + //if (BFactOutputLiquids.IsValid(OutputLiquidsId)) + //{ + FactOutputLiquids FactOutputLiquidsObj = new FactOutputLiquids(); + FactOutputLiquidsObj.PatientId = PatientId; + FactOutputLiquidsObj.OutputLiquidsId = OutputLiquidsId; + TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + + FactOutputLiquidsObj.BeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); + FactOutputLiquidsObj.EndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds); + if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) { - FactOutputLiquids FactOutputLiquidsObj = new FactOutputLiquids(); - FactOutputLiquidsObj.PatientId = PatientId; - FactOutputLiquidsObj.OutputLiquidsId = OutputLiquidsId; - TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); - TimeSpan EndTimets = DateTime.Parse(dr["EndTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); - - FactOutputLiquidsObj.BeginTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); - FactOutputLiquidsObj.EndTime = InRoomTime.AddSeconds(EndTimets.TotalSeconds); - if (dr["BeginTime"].ToString() == dr["EndTime"].ToString()) - { - FactOutputLiquidsObj.IsContinue = 0; - } - else - { - FactOutputLiquidsObj.IsContinue = 1; - } - FactOutputLiquidsObj.OutputLiquidsTypeId = TypeId; - if (dr["Value"].ToString() != "") - { - FactOutputLiquidsObj.Dosage = decimal.Parse(dr["Value"].ToString()); - } - FactOutputLiquidsObj.DosageUnit = dr["DosageUnit"].ToString(); - - FactOutputLiquidsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; - FactOutputLiquidsObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; - FactOutputLiquidsObj.OperateDate = NewInRoomTime; - BFactOutputLiquids.Add(FactOutputLiquidsObj); + FactOutputLiquidsObj.IsContinue = 0; } + else + { + FactOutputLiquidsObj.IsContinue = 1; + } + FactOutputLiquidsObj.OutputLiquidsTypeId = TypeId; + if (dr["Value"].ToString() != "") + { + FactOutputLiquidsObj.Dosage = decimal.Parse(dr["Value"].ToString()); + } + FactOutputLiquidsObj.DosageUnit = dr["DosageUnit"].ToString(); + + FactOutputLiquidsObj.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + FactOutputLiquidsObj.OperatorName = AIMSExtension.PublicMethod.OperatorName; + FactOutputLiquidsObj.OperateDate = NewInRoomTime; + BFactOutputLiquids.Add(FactOutputLiquidsObj); + //} } - //DataRow[] PhysioParamdr = dt.Select("ItemKindName='生命体征'"); - //foreach (DataRow dr in PhysioParamdr) - //{ - // int PhysioParamId = int.Parse(dr["ItemId"].ToString()); - // TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); - - // OperationDoing.AnasRecordBill.Model.PhysioData PhysioDataObj = new OperationDoing.AnasRecordBill.Model.PhysioData(); - // PhysioDataObj.PatientId = PatientId; - // PhysioDataObj.PhysioDataType = TypeId; - // PhysioDataObj.RecordTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); - // PhysioDataObj.PhysioParamID = PhysioParamId; - - // if (dr["Value"].ToString() != "") - // { - // PhysioDataObj.Value = double.Parse(dr["Value"].ToString()); - // } - // else - // { - // PhysioDataObj.Value = 0; - // } - - //} + DataRow[] PhysioParamdr = dt.Select("ItemKindName='生命体征'"); + List PhysioDataObjs = new List(); + foreach (DataRow dr in PhysioParamdr) + { + int PhysioParamId = int.Parse(dr["ItemId"].ToString()); + TimeSpan BeginTimets = DateTime.Parse(dr["BeginTime"].ToString()).Subtract(DateTime.Parse(dr["InRoomTime"].ToString())); + PhysioData PhysioDataObj = new PhysioData(); + PhysioDataObj.PatientId = _record.Id.Value; + PhysioDataObj.RecordTime = InRoomTime.AddSeconds(BeginTimets.TotalSeconds); + PhysioDataObj.PhysioDataConfigId = PhysioParamId; + PhysioDataObj.ValueString = dr["Value"].ToString(); + PhysioDataObjs.Add(PhysioDataObj); + } + PhysioDataService.AddPhysioDatas2(PhysioDataObjs); } } } diff --git a/AIMSEntity/DAL/Extension/DFactDrug.cs b/AIMSEntity/DAL/Extension/DFactDrug.cs index fd30939..a05f196 100644 --- a/AIMSEntity/DAL/Extension/DFactDrug.cs +++ b/AIMSEntity/DAL/Extension/DFactDrug.cs @@ -17,7 +17,7 @@ namespace AIMSDAL { StringBuilder strSql = new StringBuilder(); strSql.Append("insert into [FactDrug]("); - strSql.Append("PatientId,DrugTypeId,DrugId,DrugBeginTime,DrugEndTime,Dosage,DosageUnit,DrugChannel,GiveDrugType,IsContinue,Remark,OperatorNo,OperatorName,OperateDate, Density, DensityUnit, Velocity, VelocityUnit,ParentId"); + strSql.Append("PatientId,DrugTypeId,DrugId,DrugBeginTime,DrugEndTime,Dosage,DosageUnit,DrugChannel,GiveDrugType,IsContinue,Remark,OperatorNo,OperatorName,OperateDate, Density, DensityUnit, Velocity, VelocityUnit,ParentId,DrugName,Access"); strSql.Append(")"); strSql.Append(" values ("); strSql.Append("" + FactDrugObj.PatientId + ","); @@ -38,7 +38,9 @@ namespace AIMSDAL strSql.Append("'" + FactDrugObj.DensityUnit + "',"); strSql.Append("'" + FactDrugObj.Velocity + "',"); strSql.Append("'" + FactDrugObj.VelocityUnit + "',"); - strSql.Append("'" + FactDrugObj.ParentId + "'"); + strSql.Append("'" + FactDrugObj.ParentId + "',"); + strSql.Append("'" + FactDrugObj.DrugName + "',"); + strSql.Append("'" + FactDrugObj.Access + "'"); strSql.Append(");select @@identity"); //HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); return Convert.ToInt32(DBHelper.ExecuteScalar(strSql.ToString())); diff --git a/AIMSEntity/DAL/Extension/DOperationTemplate.cs b/AIMSEntity/DAL/Extension/DOperationTemplate.cs index a4ca3e8..54d321e 100644 --- a/AIMSEntity/DAL/Extension/DOperationTemplate.cs +++ b/AIMSEntity/DAL/Extension/DOperationTemplate.cs @@ -7,6 +7,7 @@ using AIMSModel; using AIMSObjectQuery; using System.Reflection; using System.Text; +using AIMSBLL; namespace AIMSDAL { @@ -47,7 +48,7 @@ namespace AIMSDAL strSql.Append("'" + OperationTemplateObj.OperatorNo + "',"); strSql.Append("'" + OperationTemplateObj.OperatorName + "',"); strSql.Append("'" + OperationTemplateObj.OperateDate + "',"); - strSql.Append("'" + OperationTemplateObj.IsPublic + "',"); + strSql.Append("'" + OperationTemplateObj.IsPublic + "',"); strSql.Append("'" + OperationTemplateObj.Spare1 + "',"); strSql.Append("'" + OperationTemplateObj.Spare2 + "',"); strSql.Append("'" + OperationTemplateObj.Spare3 + "',"); @@ -56,11 +57,51 @@ namespace AIMSDAL strSql.Append("'" + OperationTemplateObj.Spare6 + "',"); strSql.Append("'" + OperationTemplateObj.Spare7 + "',"); strSql.Append("'" + OperationTemplateObj.Spare8 + "',"); - strSql.Append("'" + OperationTemplateObj.Spare9 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare9 + "',"); strSql.Append("'" + OperationTemplateObj.Spare10 + "'"); strSql.Append(")"); HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); - } + } + public static void Adds(List operationTemplates) + { + string strSqls = ""; + foreach (var OperationTemplateObj in operationTemplates) + { + StringBuilder strSql = new StringBuilder(); + strSql.Append("insert into [OperationTemplate]("); + strSql.Append("TemplateName,TypeId,ItemKindName,InRoomTime,ItemId,BeginTime,EndTime,Value,DosageUnit,DrugChannel,GiveDrugType,OperatorNo,OperatorName,OperateDate, IsPublic, Spare1, Spare2, Spare3, Spare4, Spare5, Spare6, Spare7, Spare8, Spare9, Spare10"); + strSql.Append(")"); + strSql.Append(" values ("); + strSql.Append("'" + OperationTemplateObj.TemplateName + "',"); + strSql.Append("" + OperationTemplateObj.TypeId + ","); + strSql.Append("'" + OperationTemplateObj.ItemKindName + "',"); + strSql.Append("'" + OperationTemplateObj.InRoomTime + "',"); + strSql.Append("" + OperationTemplateObj.ItemId + ","); + strSql.Append("'" + OperationTemplateObj.BeginTime + "',"); + strSql.Append("'" + OperationTemplateObj.EndTime + "',"); + strSql.Append("'" + OperationTemplateObj.Value + "',"); + strSql.Append("'" + OperationTemplateObj.DosageUnit + "',"); + strSql.Append("'" + OperationTemplateObj.DrugChannel + "',"); + strSql.Append("'" + OperationTemplateObj.GiveDrugType + "',"); + strSql.Append("'" + OperationTemplateObj.OperatorNo + "',"); + strSql.Append("'" + OperationTemplateObj.OperatorName + "',"); + strSql.Append("'" + OperationTemplateObj.OperateDate + "',"); + strSql.Append("'" + OperationTemplateObj.IsPublic + "',"); + strSql.Append("'" + OperationTemplateObj.Spare1 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare2 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare3 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare4 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare5 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare6 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare7 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare8 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare9 + "',"); + strSql.Append("'" + OperationTemplateObj.Spare10 + "'"); + strSql.Append(")"); + strSqls += strSql.ToString(); + } + HelperDB.DbHelperSQL.ExecNonQuery(strSqls.ToString()); + } public static void Delete(string TemplateName, int TypeId) { StringBuilder strSql = new StringBuilder(); @@ -141,7 +182,7 @@ namespace AIMSDAL public static DataTable GetDataTable(int TypeId, string OpNo) { - string strSql = "SELECT DISTINCT TemplateName,OperatorNo,OperatorName,isPublic FROM OperationTemplate ot WHERE TypeId=" + TypeId + " and (isPublic=1 or [OperatorNo]='" + OpNo + "')"; + string strSql = "SELECT DISTINCT TemplateName,OperatorNo,OperatorName,isPublic,InRoomTime FROM OperationTemplate ot WHERE TypeId=" + TypeId + " and (isPublic=1 or [OperatorNo]='" + OpNo + "')"; return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); } diff --git a/AIMSExtension/PublicMethod.cs b/AIMSExtension/PublicMethod.cs index c85ccec..12fcc62 100644 --- a/AIMSExtension/PublicMethod.cs +++ b/AIMSExtension/PublicMethod.cs @@ -41,7 +41,7 @@ namespace AIMSExtension public static DateTime SystemDate() { - return HelperDB.DbHelperSQL.SystemDate(); + return DateTime.Now;// HelperDB.DbHelperSQL.SystemDate(); } public static string GetHospitalName() diff --git a/DrawGraph/AreaManage/DeletePhysios.cs b/DrawGraph/AreaManage/DeletePhysios.cs index ffa7449..0c0ee83 100644 --- a/DrawGraph/AreaManage/DeletePhysios.cs +++ b/DrawGraph/AreaManage/DeletePhysios.cs @@ -13,7 +13,7 @@ namespace DrawGraph public partial class DeletePhysios : Form { public List selparameters; - public List delparameters; + public List delparameters; public bool isDelete = false; public int operationId; @@ -21,6 +21,8 @@ namespace DrawGraph public DateTime endTime; public double startValue; public double endValue; + public double startValue2; + public double endValue2; /// /// Required designer variable. /// @@ -107,7 +109,7 @@ namespace DrawGraph InitializeComponent(); } - public DeletePhysios(int _operationId, DateTime _startTime, DateTime _endTime, double _startValue, double _endValue) + public DeletePhysios(int _operationId, DateTime _startTime, DateTime _endTime, double _startValue, double _endValue, double _startValue2, double _endValue2) { InitializeComponent(); operationId = _operationId; @@ -115,6 +117,8 @@ namespace DrawGraph endTime = _endTime; startValue = _startValue; endValue = _endValue; + startValue2 = _startValue2; + endValue2 = _endValue2; } private void frmDeletePhysio_Load(object sender, EventArgs e) { @@ -175,7 +179,10 @@ namespace DrawGraph // PhysioDataService.DelPhysioData(item); // } //} - PhysioDataService.DelectPhysioDataByID(operationId, startTime, endTime, startValue, endValue, aerd.Id); + if (aerd.YAisx == 0) + PhysioDataService.DelectPhysioDataByID(operationId, startTime, endTime, startValue, endValue, aerd.Id); + else if (aerd.YAisx == 1) + PhysioDataService.DelectPhysioDataByID(operationId, startTime, endTime, startValue2, endValue2, aerd.Id); } isDelete = true; } diff --git a/DrawGraph/AreaManage/PhysioDataManage.cs b/DrawGraph/AreaManage/PhysioDataManage.cs index 3dd9c75..acbde6e 100644 --- a/DrawGraph/AreaManage/PhysioDataManage.cs +++ b/DrawGraph/AreaManage/PhysioDataManage.cs @@ -414,35 +414,35 @@ namespace DrawGraph { if (myOpeRecord.SAreaObj.Selected) { - double startValue = myOpeRecord.SAreaObj.EndPd.Value; - double endValue = myOpeRecord.SAreaObj.StartPD.Value; - foreach (var item in myOpeRecord.SAreaObj.EndPds) - { - if (item.Value < startValue) - { - startValue = item.Value; - } - } - foreach (var item in myOpeRecord.SAreaObj.StartPDs) - { - if (item.Value > endValue) - { - endValue = item.Value; - } - } + double startValue = myOpeRecord.SAreaObj.EndPds[0].Value; + double endValue = myOpeRecord.SAreaObj.StartPDs[0].Value; + double startValue2 = myOpeRecord.SAreaObj.EndPds[1].Value; + double endValue2 = myOpeRecord.SAreaObj.StartPDs[1].Value; List pdTemps = SelectPhysioDataByID(myOpeRecord.Id.Value, myOpeRecord.SAreaObj.StartPD.RecordTime, myOpeRecord.SAreaObj.EndPd.RecordTime, startValue, endValue); - + List pdTemps2 = SelectPhysioDataByID(myOpeRecord.Id.Value, + myOpeRecord.SAreaObj.StartPD.RecordTime, + myOpeRecord.SAreaObj.EndPd.RecordTime, + startValue2, endValue2); + List selparameters = new List(); foreach (PhysioDataConfig addPP in myOpeRecord.PhysioConfigList) { bool istrue = false; foreach (int item in pdTemps) { - if (item == addPP.Id) + if (item == addPP.Id && addPP.YAisx==0) + { + istrue = true; + break; + } + } + foreach (int item in pdTemps2) + { + if (item == addPP.Id && addPP.YAisx==1) { istrue = true; break; @@ -450,13 +450,14 @@ namespace DrawGraph } if (istrue == true) selparameters.Add(addPP); - } + } if (selparameters.Count <= 0) return; DeletePhysios frm = new DeletePhysios(myOpeRecord.Id.Value, myOpeRecord.SAreaObj.StartPD.RecordTime, myOpeRecord.SAreaObj.EndPd.RecordTime, - startValue, endValue); + startValue, endValue, + startValue2, endValue2); frm.selparameters = selparameters; frm.FormClosed += (a, b) => { @@ -574,7 +575,7 @@ namespace DrawGraph { pp.IsValid = true; pp.ShowText = false; - pp.ShowImg = true; + pp.ShowImg = true; } pp.ClearTagstr(ZedControl); pp.phListPack = phListPack; @@ -954,7 +955,7 @@ namespace DrawGraph public List SelectPhysioDataByID(int operationId, DateTime startTime, DateTime endTime, double startValue, double endValue) { List PhysioDatas = new List(); - string sqlStr = "select * FROM PhysioData where PatientId = " + operationId + " and [RecordTime] >='" + startTime + "' and [RecordTime] <='" + endTime + "'";// and [Value] >='" + startValue + "' and [Value] <='" + endValue + "' + string sqlStr = "select * FROM PhysioData where PatientId = " + operationId + " and [RecordTime] >='" + startTime + "' and [RecordTime] <='" + endTime + "' ";// and [Value] >='" + startValue + "' and [Value] <='" + endValue + "' DataTable dt = DBHelper.GetDataTable(sqlStr); foreach (DataRow dr in dt.Rows) { diff --git a/DrawGraph/AreaManage/PhysioDataService.cs b/DrawGraph/AreaManage/PhysioDataService.cs index 48b4b2d..794b4c9 100644 --- a/DrawGraph/AreaManage/PhysioDataService.cs +++ b/DrawGraph/AreaManage/PhysioDataService.cs @@ -33,12 +33,28 @@ namespace DrawGraph DBHelper.ExecNonQuery(insterStr.ToString()); } + public static void AddPhysioDatas2(List physioData) + { + StringBuilder insterStr = new StringBuilder(); + foreach (var item in physioData) + { + insterStr.Append(" INSERT PhysioData (PatientId, PhysioDataConfigId, RecordTime, Value )VALUES ('" + item.PatientId + "' , '" + item.PhysioDataConfigId + "' ,'" + item.RecordTime + "', '" + item.ValueString + "' )"); + } + DBHelper.ExecNonQuery(insterStr.ToString()); + } + public static void UpdatePhysioData(PhysioData oldphysioData, PhysioData newphysioData, string OperatorName) { string sql = "update PhysioData set Value= '" + newphysioData.ValueString + "' where convert(varchar,RecordTime,120) >='" + oldphysioData.RecordTime.AddSeconds(-120).ToString("yyyy-MM-dd HH:mm:ss") + "' and convert(varchar,RecordTime,120) <='" + oldphysioData.RecordTime.AddSeconds(120).ToString("yyyy-MM-dd HH:mm:ss") + "' and PhysioDataConfigId=" + oldphysioData.PhysioDataConfigId + " and PatientId=" + oldphysioData.PatientId; - DBHelper.ExecNonQuery(sql); + int value = DBHelper.ExecNonQuery(sql); + if (value == 0) + { + string sql2 = "delete from PhysioData where convert(varchar,RecordTime,120) >='" + oldphysioData.RecordTime.AddSeconds(-120).ToString("yyyy-MM-dd HH:mm:ss") + "' and convert(varchar,RecordTime,120) <='" + oldphysioData.RecordTime.AddSeconds(120).ToString("yyyy-MM-dd HH:mm:ss") + "' and PhysioDataConfigId=" + oldphysioData.PhysioDataConfigId + " and PatientId=" + oldphysioData.PatientId; + DBHelper.ExecNonQuery(sql2); + AddPhysioData(newphysioData); + } + //InsertPhysioDataUpdate(oldphysioData, newphysioData, OperatorName); - InsertPhysioDataUpdate(oldphysioData, newphysioData, OperatorName); } public static void InsertPhysioDataUpdate(PhysioData oldphysioData, PhysioData newphysioData, string OperatorName) diff --git a/DrawGraphManagement/AIMS.xml b/DrawGraphManagement/AIMS.xml index c7ddc8f..4fc6ce1 100644 --- a/DrawGraphManagement/AIMS.xml +++ b/DrawGraphManagement/AIMS.xml @@ -1,6 +1,6 @@  - Data Source=.;Initial Catalog=AIMSDB_DLSJZQZYYY;User ID=sa;Password=Test2020; + Data Source=.;Initial Catalog=AIMSDB_FJZPTFYY;User ID=sa;Password=123456; Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=123456; Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39; diff --git a/DrawGraphManagement/frmTemplateD.designer.cs b/DrawGraphManagement/frmTemplateD.designer.cs index 2ebe64a..41ec4b7 100644 --- a/DrawGraphManagement/frmTemplateD.designer.cs +++ b/DrawGraphManagement/frmTemplateD.designer.cs @@ -36,20 +36,20 @@ // this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); - this.panel1.MaximumSize = new System.Drawing.Size(225, 0); + this.panel1.Margin = new System.Windows.Forms.Padding(2); + this.panel1.MaximumSize = new System.Drawing.Size(250, 0); this.panel1.MinimumSize = new System.Drawing.Size(165, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(165, 474); + this.panel1.Size = new System.Drawing.Size(250, 474); this.panel1.TabIndex = 7; // // panel2 // this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(165, 0); - this.panel2.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.panel2.Location = new System.Drawing.Point(225, 0); + this.panel2.Margin = new System.Windows.Forms.Padding(2); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(762, 474); + this.panel2.Size = new System.Drawing.Size(702, 474); this.panel2.TabIndex = 8; // // frmTemplateD @@ -59,7 +59,7 @@ this.ClientSize = new System.Drawing.Size(927, 474); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); - this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2); + this.Margin = new System.Windows.Forms.Padding(2); this.Name = "frmTemplateD"; this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; this.WindowState = System.Windows.Forms.FormWindowState.Maximized;