From 1c6149a6681abfe1740d477db1a845847351da3f Mon Sep 17 00:00:00 2001 From: leomon Date: Sun, 19 Feb 2023 14:06:27 +0800 Subject: [PATCH] =?UTF-8?q?=E5=99=A8=E6=A2=B0=E6=B8=85=E7=82=B9=E4=BD=862?= =?UTF-8?q?=20=E6=89=93=E5=8D=B0=E5=A4=84=E6=96=B9=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIMS/AIMS.csproj | 9 + .../frmAanesthesiaRecord.cs | 38 +- AIMS/OperationAanesthesia/frmFactDrugNew.cs | 15 + .../frmInstrumentRecord.Designer.cs | 1715 ++++++++++++----- .../frmInstrumentRecord.cs | 612 ++++-- .../frmSelectPatientNew2.Designer.cs | 19 +- .../frmSelectPatientNew2.cs | 35 +- .../frmPrescriptionDocument.Designer.cs | 134 ++ .../oldSystemCode/frmPrescriptionDocument.cs | 29 + .../frmPrescriptionDocument.resx | 123 ++ .../frmOperationSchedulePlan.cs | 49 +- .../frmOperationSchedulePlan.resx | 2 +- .../PrescriptionDocument.Designer.cs | 3 +- AIMS/OremrUserControl/PrescriptionDocument.cs | 52 +- .../OremrUserControl/UCOperationGoodsBill5.cs | 16 +- AIMS/PublicUI/frmOperationPosition.cs | 7 +- AIMSEntity/BLL/Extension/BOperationRecord.cs | 33 +- .../DAL/AutoGenerate/DApplianceRecord.cs | 2 +- AIMSEntity/DAL/Extension/DOperationApply.cs | 2 +- DrawGraph/AreaManage/DBManage.cs | 65 + DrawGraph/AreaManage/InstrumentDataManage.cs | 15 + DrawGraph/AreaManage/OperationRecord.cs | 22 + 22 files changed, 2245 insertions(+), 752 deletions(-) create mode 100644 AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.Designer.cs create mode 100644 AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.cs create mode 100644 AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.resx diff --git a/AIMS/AIMS.csproj b/AIMS/AIMS.csproj index b866388..bd467a9 100644 --- a/AIMS/AIMS.csproj +++ b/AIMS/AIMS.csproj @@ -207,6 +207,12 @@ FormLogin.cs + + Form + + + frmPrescriptionDocument.cs + Form @@ -813,6 +819,9 @@ FormLogin.cs Designer + + frmPrescriptionDocument.cs + frmOperationManage.cs diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs index 2668741..40fc53c 100644 --- a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs +++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs @@ -1925,24 +1925,31 @@ namespace AIMS.OperationAanesthesia #region 公共方法 private void ReviewEvent() { - if (PatientId != 0) + try { - templateManage.OpeRecord = BOperationRecord.getRecord(_record, PatientId, RecoverId); - templateManage2.OpeRecord = templateManage.OpeRecord; - templateManage.BindOperationRecordValueAll(templateManage.OpeRecord); - templateManage2.BindOperationRecordValueAll(templateManage2.OpeRecord); - - foreach (AreaManageBase area in templateManage2.ManageList) + if (PatientId != 0) { - area.MouseWheelParam += Area_MouseWheelParam; - } - reDrawEvent(); - templateManage.Bind(); - templateManage2.Bind(); - reDrawAnalysis(); + templateManage.OpeRecord = BOperationRecord.getRecord(_record, PatientId, RecoverId); + templateManage2.OpeRecord = templateManage.OpeRecord; + templateManage.BindOperationRecordValueAll(templateManage.OpeRecord); + templateManage2.BindOperationRecordValueAll(templateManage2.OpeRecord); - zgcAnaesRecord.Refresh(); - zgcAnaesRecord2.Refresh(); + foreach (AreaManageBase area in templateManage2.ManageList) + { + area.MouseWheelParam += Area_MouseWheelParam; + } + reDrawEvent(); + templateManage.Bind(); + templateManage2.Bind(); + reDrawAnalysis(); + + zgcAnaesRecord.Refresh(); + zgcAnaesRecord2.Refresh(); + } + } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); } } @@ -2226,6 +2233,7 @@ namespace AIMS.OperationAanesthesia } } _record = null; + //this.Dispose(); } #endregion diff --git a/AIMS/OperationAanesthesia/frmFactDrugNew.cs b/AIMS/OperationAanesthesia/frmFactDrugNew.cs index bf27036..bacf922 100644 --- a/AIMS/OperationAanesthesia/frmFactDrugNew.cs +++ b/AIMS/OperationAanesthesia/frmFactDrugNew.cs @@ -12,6 +12,7 @@ using System.Drawing; using System.Linq; using System.Windows.Forms; using DCSoftDotfuscate; +using AIMS.OperationAanesthesia.oldSystemCode; namespace AIMS.PublicUI.UI { @@ -132,6 +133,20 @@ namespace AIMS.PublicUI.UI dgv.CellLeave += new DataGridViewCellEventHandler(dgvDrugs_CellLeave); dgv.KeyDown -= new System.Windows.Forms.KeyEventHandler(dgvDrugs_KeyDown); dgv.KeyDown += new System.Windows.Forms.KeyEventHandler(dgvDrugs_KeyDown); + + dgv.CellDoubleClick -= Dgv_CellDoubleClick; + dgv.CellDoubleClick += Dgv_CellDoubleClick; + } + + private void Dgv_CellDoubleClick(object sender, DataGridViewCellEventArgs e) + { + if (_dataGridView.CurrentCell.ColumnIndex == 3) + { + frmPrescriptionDocument document = new frmPrescriptionDocument(); + document._operationRecord = _record; + document.CurrentRow = _dataGridView.CurrentRow; + document.ShowDialog(); + } } private void Dgv_CellEndEdit(object sender, DataGridViewCellEventArgs e) diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs index 91b61bf..7e826fd 100644 --- a/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs +++ b/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs @@ -69,38 +69,58 @@ this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); this.superTabMain = new DevComponents.DotNetBar.SuperTabControl(); + this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.panel9 = new AIMS.PublicUI.UI.DrawPanel(); + this.panelQX2 = new System.Windows.Forms.Panel(); + this.panel12 = new System.Windows.Forms.Panel(); + this.panel17 = new System.Windows.Forms.Panel(); + this.txtRemark2 = new DevComponents.DotNetBar.Controls.TextBoxX(); + this.label21 = new System.Windows.Forms.Label(); + this.label23 = new System.Windows.Forms.Label(); + this.label24 = new System.Windows.Forms.Label(); + this.label25 = new System.Windows.Forms.Label(); + this.txtTourNurse2 = new DevComponents.DotNetBar.Controls.TextBoxX(); + this.txtOperationDoctor2 = new DevComponents.DotNetBar.Controls.TextBoxX(); + this.txtInstrumentNurse2 = new DevComponents.DotNetBar.Controls.TextBoxX(); + this.panelQXList2 = new System.Windows.Forms.Panel(); + this.panel19 = new System.Windows.Forms.Panel(); + this.panel20 = new System.Windows.Forms.Panel(); + this.label28 = new System.Windows.Forms.Label(); + this.label29 = new System.Windows.Forms.Label(); + this.label30 = new System.Windows.Forms.Label(); + this.label31 = new System.Windows.Forms.Label(); + this.label32 = new System.Windows.Forms.Label(); + this.label33 = new System.Windows.Forms.Label(); + this.panel22 = new System.Windows.Forms.Panel(); + this.label34 = new System.Windows.Forms.Label(); + this.label35 = new System.Windows.Forms.Label(); + this.label36 = new System.Windows.Forms.Label(); + this.label37 = new System.Windows.Forms.Label(); + this.label38 = new System.Windows.Forms.Label(); + this.label39 = new System.Windows.Forms.Label(); + this.panel23 = new System.Windows.Forms.Panel(); + this.txtOperationPosition = new System.Windows.Forms.TextBox(); + this.label55 = new System.Windows.Forms.Label(); + this.labopdate = new System.Windows.Forms.Label(); + this.label51 = new System.Windows.Forms.Label(); + this.labmno = new System.Windows.Forms.Label(); + this.label49 = new System.Windows.Forms.Label(); + this.labage = new System.Windows.Forms.Label(); + this.label47 = new System.Windows.Forms.Label(); + this.labsex = new System.Windows.Forms.Label(); + this.label45 = new System.Windows.Forms.Label(); + this.labpname = new System.Windows.Forms.Label(); + this.label43 = new System.Windows.Forms.Label(); + this.labroom = new System.Windows.Forms.Label(); + this.label53 = new System.Windows.Forms.Label(); + this.labdept = new System.Windows.Forms.Label(); + this.label41 = new System.Windows.Forms.Label(); + this.label40 = new System.Windows.Forms.Label(); + this.txtOperation = new System.Windows.Forms.TextBox(); + this.circularProgress2 = new DevComponents.DotNetBar.Controls.CircularProgress(); + this.spTabQXQDD2 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panelExZKZB = new DevComponents.DotNetBar.PanelEx(); - this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem(); - this.panel7 = new System.Windows.Forms.Panel(); - this.panel21 = new System.Windows.Forms.Panel(); - this.plPrintBrowse = new System.Windows.Forms.Panel(); - this.PanelSave = new System.Windows.Forms.Panel(); - this.plPrint = new System.Windows.Forms.Panel(); - this.plRefresh = new System.Windows.Forms.Panel(); - this.lblRoom = new System.Windows.Forms.Label(); - this.label22 = new System.Windows.Forms.Label(); - this.labOperatorName = new System.Windows.Forms.Label(); - this.label19 = new System.Windows.Forms.Label(); - this.plTitleEventTime = new System.Windows.Forms.Panel(); - this.panel13 = new System.Windows.Forms.Panel(); - this.txtOutRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.picOutRoom = new System.Windows.Forms.PictureBox(); - this.button5 = new System.Windows.Forms.Button(); - this.panel10 = new System.Windows.Forms.Panel(); - this.txtOperationBegin = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.picOpeBegin = new System.Windows.Forms.PictureBox(); - this.button2 = new System.Windows.Forms.Button(); - this.panel11 = new System.Windows.Forms.Panel(); - this.txtOperationEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.picOpeEnd = new System.Windows.Forms.PictureBox(); - this.button3 = new System.Windows.Forms.Button(); - this.panel6 = new System.Windows.Forms.Panel(); - this.txtInRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.picInRoom = new System.Windows.Forms.PictureBox(); - this.txtInRoom1 = new System.Windows.Forms.Button(); - this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); - this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.panel8 = new AIMS.PublicUI.UI.DrawPanel(); this.panelQX = new System.Windows.Forms.Panel(); this.plBottom = new System.Windows.Forms.Panel(); @@ -132,6 +152,36 @@ this.plTop = new System.Windows.Forms.Panel(); this.circularProgress1 = new DevComponents.DotNetBar.Controls.CircularProgress(); this.zgcAnaesRecord = new DrawGraph.ZedGraphControl(); + this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem(); + this.panel7 = new System.Windows.Forms.Panel(); + this.panel21 = new System.Windows.Forms.Panel(); + this.plPrintBrowse = new System.Windows.Forms.Panel(); + this.PanelSave = new System.Windows.Forms.Panel(); + this.plPrint = new System.Windows.Forms.Panel(); + this.plRefresh = new System.Windows.Forms.Panel(); + this.lblRoom = new System.Windows.Forms.Label(); + this.label22 = new System.Windows.Forms.Label(); + this.labOperatorName = new System.Windows.Forms.Label(); + this.label19 = new System.Windows.Forms.Label(); + this.plTitleEventTime = new System.Windows.Forms.Panel(); + this.panel13 = new System.Windows.Forms.Panel(); + this.txtOutRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.picOutRoom = new System.Windows.Forms.PictureBox(); + this.button5 = new System.Windows.Forms.Button(); + this.panel10 = new System.Windows.Forms.Panel(); + this.txtOperationBegin = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.picOpeBegin = new System.Windows.Forms.PictureBox(); + this.button2 = new System.Windows.Forms.Button(); + this.panel11 = new System.Windows.Forms.Panel(); + this.txtOperationEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.picOpeEnd = new System.Windows.Forms.PictureBox(); + this.button3 = new System.Windows.Forms.Button(); + this.panel6 = new System.Windows.Forms.Panel(); + this.txtInRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.picInRoom = new System.Windows.Forms.PictureBox(); + this.txtInRoom1 = new System.Windows.Forms.Button(); + this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); + this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.panel3.SuspendLayout(); this.panel14.SuspendLayout(); this.panel4.SuspendLayout(); @@ -139,8 +189,24 @@ this.panel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.superTabMain)).BeginInit(); this.superTabMain.SuspendLayout(); + this.superTabControlPanel2.SuspendLayout(); + this.panel9.SuspendLayout(); + this.panelQX2.SuspendLayout(); + this.panel12.SuspendLayout(); + this.panel17.SuspendLayout(); + this.panel19.SuspendLayout(); + this.panel20.SuspendLayout(); + this.panel22.SuspendLayout(); + this.panel23.SuspendLayout(); this.superTabControlPanel1.SuspendLayout(); this.panelExZKZB.SuspendLayout(); + this.panel8.SuspendLayout(); + this.panelQX.SuspendLayout(); + this.plBottom.SuspendLayout(); + this.panelButton.SuspendLayout(); + this.plTital.SuspendLayout(); + this.panel15.SuspendLayout(); + this.panel16.SuspendLayout(); this.panel7.SuspendLayout(); this.panel21.SuspendLayout(); this.plTitleEventTime.SuspendLayout(); @@ -156,13 +222,6 @@ this.panel6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picInRoom)).BeginInit(); - this.panel8.SuspendLayout(); - this.panelQX.SuspendLayout(); - this.plBottom.SuspendLayout(); - this.panelButton.SuspendLayout(); - this.plTital.SuspendLayout(); - this.panel15.SuspendLayout(); - this.panel16.SuspendLayout(); this.SuspendLayout(); // // panel2 @@ -802,6 +861,7 @@ this.superTabMain.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.superTabMain.ControlBox.MenuBox, this.superTabMain.ControlBox.CloseBox}); + this.superTabMain.Controls.Add(this.superTabControlPanel2); this.superTabMain.Controls.Add(this.superTabControlPanel1); this.superTabMain.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabMain.Location = new System.Drawing.Point(0, 58); @@ -813,9 +873,635 @@ this.superTabMain.TabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.superTabMain.TabIndex = 14; this.superTabMain.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { - this.spTabQXQDD}); + this.spTabQXQDD, + this.spTabQXQDD2}); this.superTabMain.SelectedTabChanged += new System.EventHandler(this.superTabMain_SelectedTabChanged); // + // superTabControlPanel2 + // + this.superTabControlPanel2.Controls.Add(this.panel9); + this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel2.Location = new System.Drawing.Point(0, 28); + this.superTabControlPanel2.Name = "superTabControlPanel2"; + this.superTabControlPanel2.Size = new System.Drawing.Size(1389, 803); + this.superTabControlPanel2.TabIndex = 0; + this.superTabControlPanel2.TabItem = this.spTabQXQDD2; + // + // panel9 + // + this.panel9.AutoScroll = true; + this.panel9.BackColor = System.Drawing.Color.White; + this.panel9.Controls.Add(this.panelQX2); + this.panel9.Controls.Add(this.circularProgress2); + this.panel9.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel9.Location = new System.Drawing.Point(0, 0); + this.panel9.Name = "panel9"; + this.panel9.Size = new System.Drawing.Size(1389, 803); + this.panel9.TabIndex = 3; + // + // panelQX2 + // + this.panelQX2.BackColor = System.Drawing.Color.White; + this.panelQX2.Controls.Add(this.panel12); + this.panelQX2.Controls.Add(this.panel23); + this.panelQX2.Location = new System.Drawing.Point(39, 54); + this.panelQX2.Margin = new System.Windows.Forms.Padding(0); + this.panelQX2.Name = "panelQX2"; + this.panelQX2.Size = new System.Drawing.Size(952, 650); + this.panelQX2.TabIndex = 12; + this.panelQX2.Visible = false; + // + // panel12 + // + this.panel12.BackColor = System.Drawing.Color.White; + this.panel12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel12.Controls.Add(this.panel17); + this.panel12.Controls.Add(this.panelQXList2); + this.panel12.Controls.Add(this.panel19); + this.panel12.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panel12.Location = new System.Drawing.Point(0, 79); + this.panel12.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel12.Name = "panel12"; + this.panel12.Size = new System.Drawing.Size(952, 571); + this.panel12.TabIndex = 1355; + // + // panel17 + // + this.panel17.Controls.Add(this.txtRemark2); + this.panel17.Controls.Add(this.label21); + this.panel17.Controls.Add(this.label23); + this.panel17.Controls.Add(this.label24); + this.panel17.Controls.Add(this.label25); + this.panel17.Controls.Add(this.txtTourNurse2); + this.panel17.Controls.Add(this.txtOperationDoctor2); + this.panel17.Controls.Add(this.txtInstrumentNurse2); + this.panel17.Dock = System.Windows.Forms.DockStyle.Top; + this.panel17.Location = new System.Drawing.Point(0, 425); + this.panel17.Name = "panel17"; + this.panel17.Size = new System.Drawing.Size(950, 149); + this.panel17.TabIndex = 1351; + // + // txtRemark2 + // + this.txtRemark2.BackColor = System.Drawing.Color.White; + // + // + // + this.txtRemark2.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtRemark2.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark2.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtRemark2.Border.BorderBottomWidth = 1; + this.txtRemark2.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtRemark2.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark2.Border.BorderLeftWidth = 1; + this.txtRemark2.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark2.Border.BorderRightWidth = 1; + this.txtRemark2.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark2.Border.BorderTopWidth = 1; + this.txtRemark2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtRemark2.DisabledBackColor = System.Drawing.Color.White; + this.txtRemark2.Font = new System.Drawing.Font("微软雅黑", 10.5F); + this.txtRemark2.ForeColor = System.Drawing.Color.Black; + this.txtRemark2.Location = new System.Drawing.Point(111, 31); + this.txtRemark2.Multiline = true; + this.txtRemark2.Name = "txtRemark2"; + this.txtRemark2.Size = new System.Drawing.Size(722, 75); + this.txtRemark2.TabIndex = 849; + // + // label21 + // + this.label21.AutoSize = true; + this.label21.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label21.Location = new System.Drawing.Point(45, 54); + this.label21.Name = "label21"; + this.label21.Size = new System.Drawing.Size(42, 21); + this.label21.TabIndex = 851; + this.label21.Text = "备注"; + // + // label23 + // + this.label23.AutoSize = true; + this.label23.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label23.Location = new System.Drawing.Point(361, 114); + this.label23.Name = "label23"; + this.label23.Size = new System.Drawing.Size(74, 21); + this.label23.TabIndex = 851; + this.label23.Text = "巡回护士"; + // + // label24 + // + this.label24.AutoSize = true; + this.label24.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label24.Location = new System.Drawing.Point(594, 113); + this.label24.Name = "label24"; + this.label24.Size = new System.Drawing.Size(74, 21); + this.label24.TabIndex = 850; + this.label24.Text = "手术医师"; + // + // label25 + // + this.label25.AutoSize = true; + this.label25.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label25.Location = new System.Drawing.Point(129, 114); + this.label25.Name = "label25"; + this.label25.Size = new System.Drawing.Size(74, 21); + this.label25.TabIndex = 850; + this.label25.Text = "器械护士"; + // + // txtTourNurse2 + // + this.txtTourNurse2.BackColor = System.Drawing.Color.White; + // + // + // + this.txtTourNurse2.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtTourNurse2.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse2.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtTourNurse2.Border.BorderBottomWidth = 1; + this.txtTourNurse2.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtTourNurse2.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse2.Border.BorderLeftWidth = 1; + this.txtTourNurse2.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse2.Border.BorderRightWidth = 1; + this.txtTourNurse2.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse2.Border.BorderTopWidth = 1; + this.txtTourNurse2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtTourNurse2.DisabledBackColor = System.Drawing.Color.White; + this.txtTourNurse2.ForeColor = System.Drawing.Color.Black; + this.txtTourNurse2.Location = new System.Drawing.Point(453, 115); + this.txtTourNurse2.Name = "txtTourNurse2"; + this.txtTourNurse2.Size = new System.Drawing.Size(120, 22); + this.txtTourNurse2.TabIndex = 847; + this.txtTourNurse2.DoubleClick += new System.EventHandler(this.txtTourNurse_Click); + // + // txtOperationDoctor2 + // + this.txtOperationDoctor2.BackColor = System.Drawing.Color.White; + // + // + // + this.txtOperationDoctor2.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtOperationDoctor2.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtOperationDoctor2.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtOperationDoctor2.Border.BorderBottomWidth = 1; + this.txtOperationDoctor2.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtOperationDoctor2.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtOperationDoctor2.Border.BorderLeftWidth = 1; + this.txtOperationDoctor2.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtOperationDoctor2.Border.BorderRightWidth = 1; + this.txtOperationDoctor2.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtOperationDoctor2.Border.BorderTopWidth = 1; + this.txtOperationDoctor2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtOperationDoctor2.DisabledBackColor = System.Drawing.Color.White; + this.txtOperationDoctor2.ForeColor = System.Drawing.Color.Black; + this.txtOperationDoctor2.Location = new System.Drawing.Point(674, 114); + this.txtOperationDoctor2.Name = "txtOperationDoctor2"; + this.txtOperationDoctor2.Size = new System.Drawing.Size(120, 22); + this.txtOperationDoctor2.TabIndex = 848; + this.txtOperationDoctor2.DoubleClick += new System.EventHandler(this.txtOperationDoctor_DoubleClick); + // + // txtInstrumentNurse2 + // + this.txtInstrumentNurse2.BackColor = System.Drawing.Color.White; + // + // + // + this.txtInstrumentNurse2.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtInstrumentNurse2.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse2.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtInstrumentNurse2.Border.BorderBottomWidth = 1; + this.txtInstrumentNurse2.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtInstrumentNurse2.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse2.Border.BorderLeftWidth = 1; + this.txtInstrumentNurse2.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse2.Border.BorderRightWidth = 1; + this.txtInstrumentNurse2.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse2.Border.BorderTopWidth = 1; + this.txtInstrumentNurse2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtInstrumentNurse2.DisabledBackColor = System.Drawing.Color.White; + this.txtInstrumentNurse2.ForeColor = System.Drawing.Color.Black; + this.txtInstrumentNurse2.Location = new System.Drawing.Point(209, 115); + this.txtInstrumentNurse2.Name = "txtInstrumentNurse2"; + this.txtInstrumentNurse2.Size = new System.Drawing.Size(120, 22); + this.txtInstrumentNurse2.TabIndex = 848; + this.txtInstrumentNurse2.DoubleClick += new System.EventHandler(this.txtInstrumentNurse_Click); + // + // panelQXList2 + // + this.panelQXList2.Dock = System.Windows.Forms.DockStyle.Top; + this.panelQXList2.Location = new System.Drawing.Point(0, 47); + this.panelQXList2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panelQXList2.Name = "panelQXList2"; + this.panelQXList2.Size = new System.Drawing.Size(950, 378); + this.panelQXList2.TabIndex = 1350; + // + // panel19 + // + this.panel19.BackColor = System.Drawing.SystemColors.Control; + this.panel19.Controls.Add(this.panel20); + this.panel19.Controls.Add(this.panel22); + this.panel19.Dock = System.Windows.Forms.DockStyle.Top; + this.panel19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panel19.Location = new System.Drawing.Point(0, 0); + this.panel19.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel19.Name = "panel19"; + this.panel19.Size = new System.Drawing.Size(950, 47); + this.panel19.TabIndex = 1349; + // + // panel20 + // + this.panel20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel20.Controls.Add(this.label28); + this.panel20.Controls.Add(this.label29); + this.panel20.Controls.Add(this.label30); + this.panel20.Controls.Add(this.label31); + this.panel20.Controls.Add(this.label32); + this.panel20.Controls.Add(this.label33); + this.panel20.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel20.Location = new System.Drawing.Point(477, 0); + this.panel20.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel20.Name = "panel20"; + this.panel20.Size = new System.Drawing.Size(473, 47); + this.panel20.TabIndex = 13; + // + // label28 + // + this.label28.AutoSize = true; + this.label28.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label28.Location = new System.Drawing.Point(42, 5); + this.label28.Name = "label28"; + this.label28.Size = new System.Drawing.Size(32, 34); + this.label28.TabIndex = 9; + this.label28.Text = "器械\r\n名称"; + // + // label29 + // + this.label29.AutoSize = true; + this.label29.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label29.Location = new System.Drawing.Point(140, 5); + this.label29.Margin = new System.Windows.Forms.Padding(0); + this.label29.Name = "label29"; + this.label29.Size = new System.Drawing.Size(32, 34); + this.label29.TabIndex = 10; + this.label29.Text = "术前\r\n清点"; + this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label30 + // + this.label30.AutoSize = true; + this.label30.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label30.Location = new System.Drawing.Point(208, 5); + this.label30.Name = "label30"; + this.label30.Size = new System.Drawing.Size(32, 34); + this.label30.TabIndex = 12; + this.label30.Text = "术中\r\n加数"; + // + // label31 + // + this.label31.AutoSize = true; + this.label31.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label31.Location = new System.Drawing.Point(276, 5); + this.label31.Margin = new System.Windows.Forms.Padding(0); + this.label31.Name = "label31"; + this.label31.Size = new System.Drawing.Size(32, 34); + this.label31.TabIndex = 8; + this.label31.Text = "关体\r\n腔前"; + // + // label32 + // + this.label32.AutoSize = true; + this.label32.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label32.Location = new System.Drawing.Point(412, 5); + this.label32.Name = "label32"; + this.label32.Size = new System.Drawing.Size(32, 34); + this.label32.TabIndex = 11; + this.label32.Text = "缝合\r\n皮后"; + // + // label33 + // + this.label33.AutoSize = true; + this.label33.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label33.Location = new System.Drawing.Point(344, 5); + this.label33.Name = "label33"; + this.label33.Size = new System.Drawing.Size(32, 34); + this.label33.TabIndex = 11; + this.label33.Text = "关体\r\n腔后"; + // + // panel22 + // + this.panel22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel22.Controls.Add(this.label34); + this.panel22.Controls.Add(this.label35); + this.panel22.Controls.Add(this.label36); + this.panel22.Controls.Add(this.label37); + this.panel22.Controls.Add(this.label38); + this.panel22.Controls.Add(this.label39); + this.panel22.Dock = System.Windows.Forms.DockStyle.Left; + this.panel22.Location = new System.Drawing.Point(0, 0); + this.panel22.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel22.Name = "panel22"; + this.panel22.Size = new System.Drawing.Size(477, 47); + this.panel22.TabIndex = 11; + // + // label34 + // + this.label34.AutoSize = true; + this.label34.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label34.Location = new System.Drawing.Point(46, 5); + this.label34.Name = "label34"; + this.label34.Size = new System.Drawing.Size(32, 34); + this.label34.TabIndex = 9; + this.label34.Text = "器械\r\n名称"; + // + // label35 + // + this.label35.AutoSize = true; + this.label35.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label35.Location = new System.Drawing.Point(139, 5); + this.label35.Margin = new System.Windows.Forms.Padding(0); + this.label35.Name = "label35"; + this.label35.Size = new System.Drawing.Size(32, 34); + this.label35.TabIndex = 10; + this.label35.Text = "术前\r\n清点"; + this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label36 + // + this.label36.AutoSize = true; + this.label36.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label36.Location = new System.Drawing.Point(277, 5); + this.label36.Margin = new System.Windows.Forms.Padding(0); + this.label36.Name = "label36"; + this.label36.Size = new System.Drawing.Size(32, 34); + this.label36.TabIndex = 8; + this.label36.Text = "关体\r\n腔前"; + // + // label37 + // + this.label37.AutoSize = true; + this.label37.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label37.Location = new System.Drawing.Point(415, 5); + this.label37.Name = "label37"; + this.label37.Size = new System.Drawing.Size(32, 34); + this.label37.TabIndex = 11; + this.label37.Text = "缝合\r\n皮后"; + // + // label38 + // + this.label38.AutoSize = true; + this.label38.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label38.Location = new System.Drawing.Point(346, 5); + this.label38.Name = "label38"; + this.label38.Size = new System.Drawing.Size(32, 34); + this.label38.TabIndex = 11; + this.label38.Text = "关体\r\n腔后"; + // + // label39 + // + this.label39.AutoSize = true; + this.label39.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label39.Location = new System.Drawing.Point(208, 5); + this.label39.Name = "label39"; + this.label39.Size = new System.Drawing.Size(32, 34); + this.label39.TabIndex = 12; + this.label39.Text = "术中\r\n加数"; + // + // panel23 + // + this.panel23.BackColor = System.Drawing.Color.White; + this.panel23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel23.Controls.Add(this.txtOperationPosition); + this.panel23.Controls.Add(this.label55); + this.panel23.Controls.Add(this.labopdate); + this.panel23.Controls.Add(this.label51); + this.panel23.Controls.Add(this.labmno); + this.panel23.Controls.Add(this.label49); + this.panel23.Controls.Add(this.labage); + this.panel23.Controls.Add(this.label47); + this.panel23.Controls.Add(this.labsex); + this.panel23.Controls.Add(this.label45); + this.panel23.Controls.Add(this.labpname); + this.panel23.Controls.Add(this.label43); + this.panel23.Controls.Add(this.labroom); + this.panel23.Controls.Add(this.label53); + this.panel23.Controls.Add(this.labdept); + this.panel23.Controls.Add(this.label41); + this.panel23.Controls.Add(this.label40); + this.panel23.Controls.Add(this.txtOperation); + this.panel23.Dock = System.Windows.Forms.DockStyle.Top; + this.panel23.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panel23.Location = new System.Drawing.Point(0, 0); + this.panel23.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel23.Name = "panel23"; + this.panel23.Size = new System.Drawing.Size(952, 79); + this.panel23.TabIndex = 22; + // + // txtOperationPosition + // + this.txtOperationPosition.Location = new System.Drawing.Point(784, 38); + this.txtOperationPosition.Name = "txtOperationPosition"; + this.txtOperationPosition.Size = new System.Drawing.Size(153, 26); + this.txtOperationPosition.TabIndex = 23; + this.txtOperationPosition.DoubleClick += new System.EventHandler(this.txtOperationPosition_DoubleClick); + // + // label55 + // + this.label55.AutoSize = true; + this.label55.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label55.ForeColor = System.Drawing.Color.Black; + this.label55.Location = new System.Drawing.Point(713, 41); + this.label55.Name = "label55"; + this.label55.Size = new System.Drawing.Size(65, 19); + this.label55.TabIndex = 14; + this.label55.Text = "手术部位"; + // + // labopdate + // + this.labopdate.AutoSize = true; + this.labopdate.ForeColor = System.Drawing.Color.Black; + this.labopdate.Location = new System.Drawing.Point(778, 7); + this.labopdate.Name = "labopdate"; + this.labopdate.Size = new System.Drawing.Size(0, 20); + this.labopdate.TabIndex = 14; + // + // label51 + // + this.label51.AutoSize = true; + this.label51.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label51.ForeColor = System.Drawing.Color.Black; + this.label51.Location = new System.Drawing.Point(713, 8); + this.label51.Name = "label51"; + this.label51.Size = new System.Drawing.Size(65, 19); + this.label51.TabIndex = 14; + this.label51.Text = "手术日期"; + // + // labmno + // + this.labmno.AutoSize = true; + this.labmno.ForeColor = System.Drawing.Color.Black; + this.labmno.Location = new System.Drawing.Point(627, 7); + this.labmno.Name = "labmno"; + this.labmno.Size = new System.Drawing.Size(0, 20); + this.labmno.TabIndex = 14; + // + // label49 + // + this.label49.AutoSize = true; + this.label49.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label49.ForeColor = System.Drawing.Color.Black; + this.label49.Location = new System.Drawing.Point(574, 8); + this.label49.Name = "label49"; + this.label49.Size = new System.Drawing.Size(51, 19); + this.label49.TabIndex = 14; + this.label49.Text = "病案号"; + // + // labage + // + this.labage.AutoSize = true; + this.labage.ForeColor = System.Drawing.Color.Black; + this.labage.Location = new System.Drawing.Point(496, 7); + this.labage.Name = "labage"; + this.labage.Size = new System.Drawing.Size(0, 20); + this.labage.TabIndex = 14; + // + // label47 + // + this.label47.AutoSize = true; + this.label47.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label47.ForeColor = System.Drawing.Color.Black; + this.label47.Location = new System.Drawing.Point(450, 8); + this.label47.Name = "label47"; + this.label47.Size = new System.Drawing.Size(37, 19); + this.label47.TabIndex = 14; + this.label47.Text = "年龄"; + // + // labsex + // + this.labsex.AutoSize = true; + this.labsex.ForeColor = System.Drawing.Color.Black; + this.labsex.Location = new System.Drawing.Point(363, 7); + this.labsex.Name = "labsex"; + this.labsex.Size = new System.Drawing.Size(0, 20); + this.labsex.TabIndex = 14; + // + // label45 + // + this.label45.AutoSize = true; + this.label45.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label45.ForeColor = System.Drawing.Color.Black; + this.label45.Location = new System.Drawing.Point(317, 8); + this.label45.Name = "label45"; + this.label45.Size = new System.Drawing.Size(37, 19); + this.label45.TabIndex = 14; + this.label45.Text = "性别"; + // + // labpname + // + this.labpname.AutoSize = true; + this.labpname.ForeColor = System.Drawing.Color.Black; + this.labpname.Location = new System.Drawing.Point(233, 7); + this.labpname.Name = "labpname"; + this.labpname.Size = new System.Drawing.Size(0, 20); + this.labpname.TabIndex = 14; + // + // label43 + // + this.label43.AutoSize = true; + this.label43.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label43.ForeColor = System.Drawing.Color.Black; + this.label43.Location = new System.Drawing.Point(162, 8); + this.label43.Name = "label43"; + this.label43.Size = new System.Drawing.Size(65, 19); + this.label43.TabIndex = 14; + this.label43.Text = "患者姓名"; + // + // labroom + // + this.labroom.AutoSize = true; + this.labroom.ForeColor = System.Drawing.Color.Black; + this.labroom.Location = new System.Drawing.Point(77, 40); + this.labroom.Name = "labroom"; + this.labroom.Size = new System.Drawing.Size(0, 20); + this.labroom.TabIndex = 14; + // + // label53 + // + this.label53.AutoSize = true; + this.label53.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label53.ForeColor = System.Drawing.Color.Black; + this.label53.Location = new System.Drawing.Point(22, 41); + this.label53.Name = "label53"; + this.label53.Size = new System.Drawing.Size(37, 19); + this.label53.TabIndex = 14; + this.label53.Text = "术间"; + // + // labdept + // + this.labdept.AutoSize = true; + this.labdept.ForeColor = System.Drawing.Color.Black; + this.labdept.Location = new System.Drawing.Point(77, 7); + this.labdept.Name = "labdept"; + this.labdept.Size = new System.Drawing.Size(0, 20); + this.labdept.TabIndex = 14; + // + // label41 + // + this.label41.AutoSize = true; + this.label41.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label41.ForeColor = System.Drawing.Color.Black; + this.label41.Location = new System.Drawing.Point(22, 8); + this.label41.Name = "label41"; + this.label41.Size = new System.Drawing.Size(45, 19); + this.label41.TabIndex = 14; + this.label41.Text = "科 别"; + // + // label40 + // + this.label40.AutoSize = true; + this.label40.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label40.ForeColor = System.Drawing.Color.Black; + this.label40.Location = new System.Drawing.Point(162, 41); + this.label40.Name = "label40"; + this.label40.Size = new System.Drawing.Size(65, 19); + this.label40.TabIndex = 13; + this.label40.Text = "实施手术"; + // + // txtOperation + // + this.txtOperation.Location = new System.Drawing.Point(231, 38); + this.txtOperation.Name = "txtOperation"; + this.txtOperation.Size = new System.Drawing.Size(461, 26); + this.txtOperation.TabIndex = 12; + this.txtOperation.DoubleClick += new System.EventHandler(this.txtOperation_DoubleClick); + // + // circularProgress2 + // + this.circularProgress2.AnimationSpeed = 50; + // + // + // + this.circularProgress2.BackgroundStyle.BackgroundImageAlpha = ((byte)(0)); + this.circularProgress2.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom; + this.circularProgress2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.circularProgress2.FocusCuesEnabled = false; + this.circularProgress2.Font = new System.Drawing.Font("微软雅黑", 9F); + this.circularProgress2.Location = new System.Drawing.Point(602, 274); + this.circularProgress2.Margin = new System.Windows.Forms.Padding(4); + this.circularProgress2.Name = "circularProgress2"; + this.circularProgress2.ProgressColor = System.Drawing.Color.DodgerBlue; + this.circularProgress2.Size = new System.Drawing.Size(389, 239); + this.circularProgress2.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP; + this.circularProgress2.TabIndex = 6; + this.circularProgress2.Value = 100; + // + // spTabQXQDD2 + // + this.spTabQXQDD2.AttachedControl = this.superTabControlPanel2; + this.spTabQXQDD2.GlobalItem = false; + this.spTabQXQDD2.Name = "spTabQXQDD2"; + this.spTabQXQDD2.Text = "器械清点单2"; + // // superTabControlPanel1 // this.superTabControlPanel1.Controls.Add(this.panelExZKZB); @@ -845,6 +1531,441 @@ this.panelExZKZB.Style.GradientAngle = 90; this.panelExZKZB.TabIndex = 0; // + // panel8 + // + this.panel8.AutoScroll = true; + this.panel8.BackColor = System.Drawing.Color.White; + this.panel8.Controls.Add(this.panelQX); + this.panel8.Controls.Add(this.circularProgress1); + this.panel8.Controls.Add(this.zgcAnaesRecord); + this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel8.Location = new System.Drawing.Point(0, 0); + this.panel8.Name = "panel8"; + this.panel8.Size = new System.Drawing.Size(1389, 803); + this.panel8.TabIndex = 2; + this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll); + // + // panelQX + // + this.panelQX.BackColor = System.Drawing.Color.White; + this.panelQX.Controls.Add(this.plBottom); + this.panelQX.Controls.Add(this.plTop); + this.panelQX.Location = new System.Drawing.Point(217, 213); + this.panelQX.Margin = new System.Windows.Forms.Padding(0); + this.panelQX.Name = "panelQX"; + this.panelQX.Size = new System.Drawing.Size(952, 562); + this.panelQX.TabIndex = 12; + this.panelQX.Visible = false; + // + // plBottom + // + this.plBottom.BackColor = System.Drawing.Color.White; + this.plBottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.plBottom.Controls.Add(this.panelButton); + this.plBottom.Controls.Add(this.panelQXList); + this.plBottom.Controls.Add(this.plTital); + this.plBottom.Dock = System.Windows.Forms.DockStyle.Fill; + this.plBottom.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.plBottom.Location = new System.Drawing.Point(0, 2); + this.plBottom.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.plBottom.Name = "plBottom"; + this.plBottom.Size = new System.Drawing.Size(952, 560); + this.plBottom.TabIndex = 1355; + // + // panelButton + // + this.panelButton.Controls.Add(this.txtRemark); + this.panelButton.Controls.Add(this.label18); + this.panelButton.Controls.Add(this.label26); + this.panelButton.Controls.Add(this.label20); + this.panelButton.Controls.Add(this.label27); + this.panelButton.Controls.Add(this.txtTourNurse); + this.panelButton.Controls.Add(this.txtOperationDoctor); + this.panelButton.Controls.Add(this.txtInstrumentNurse); + this.panelButton.Dock = System.Windows.Forms.DockStyle.Top; + this.panelButton.Location = new System.Drawing.Point(0, 425); + this.panelButton.Name = "panelButton"; + this.panelButton.Size = new System.Drawing.Size(950, 141); + this.panelButton.TabIndex = 1351; + // + // txtRemark + // + this.txtRemark.BackColor = System.Drawing.Color.White; + // + // + // + this.txtRemark.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtRemark.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtRemark.Border.BorderBottomWidth = 1; + this.txtRemark.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtRemark.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark.Border.BorderLeftWidth = 1; + this.txtRemark.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark.Border.BorderRightWidth = 1; + this.txtRemark.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtRemark.Border.BorderTopWidth = 1; + this.txtRemark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtRemark.DisabledBackColor = System.Drawing.Color.White; + this.txtRemark.Font = new System.Drawing.Font("微软雅黑", 10.5F); + this.txtRemark.ForeColor = System.Drawing.Color.Black; + this.txtRemark.Location = new System.Drawing.Point(103, 25); + this.txtRemark.Multiline = true; + this.txtRemark.Name = "txtRemark"; + this.txtRemark.Size = new System.Drawing.Size(722, 75); + this.txtRemark.TabIndex = 849; + // + // label18 + // + this.label18.AutoSize = true; + this.label18.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label18.Location = new System.Drawing.Point(37, 48); + this.label18.Name = "label18"; + this.label18.Size = new System.Drawing.Size(42, 21); + this.label18.TabIndex = 851; + this.label18.Text = "备注"; + // + // label26 + // + this.label26.AutoSize = true; + this.label26.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label26.Location = new System.Drawing.Point(353, 108); + this.label26.Name = "label26"; + this.label26.Size = new System.Drawing.Size(74, 21); + this.label26.TabIndex = 851; + this.label26.Text = "巡回护士"; + // + // label20 + // + this.label20.AutoSize = true; + this.label20.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label20.Location = new System.Drawing.Point(586, 107); + this.label20.Name = "label20"; + this.label20.Size = new System.Drawing.Size(74, 21); + this.label20.TabIndex = 850; + this.label20.Text = "手术医师"; + // + // label27 + // + this.label27.AutoSize = true; + this.label27.Font = new System.Drawing.Font("微软雅黑", 12F); + this.label27.Location = new System.Drawing.Point(121, 108); + this.label27.Name = "label27"; + this.label27.Size = new System.Drawing.Size(74, 21); + this.label27.TabIndex = 850; + this.label27.Text = "器械护士"; + // + // txtTourNurse + // + this.txtTourNurse.BackColor = System.Drawing.Color.White; + // + // + // + this.txtTourNurse.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtTourNurse.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtTourNurse.Border.BorderBottomWidth = 1; + this.txtTourNurse.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtTourNurse.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse.Border.BorderLeftWidth = 1; + this.txtTourNurse.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse.Border.BorderRightWidth = 1; + this.txtTourNurse.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtTourNurse.Border.BorderTopWidth = 1; + this.txtTourNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtTourNurse.DisabledBackColor = System.Drawing.Color.White; + this.txtTourNurse.ForeColor = System.Drawing.Color.Black; + this.txtTourNurse.Location = new System.Drawing.Point(445, 109); + this.txtTourNurse.Name = "txtTourNurse"; + this.txtTourNurse.Size = new System.Drawing.Size(120, 22); + this.txtTourNurse.TabIndex = 847; + this.txtTourNurse.DoubleClick += new System.EventHandler(this.txtTourNurse_Click); + // + // txtOperationDoctor + // + this.txtOperationDoctor.BackColor = System.Drawing.Color.White; + // + // + // + this.txtOperationDoctor.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtOperationDoctor.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtOperationDoctor.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtOperationDoctor.Border.BorderBottomWidth = 1; + this.txtOperationDoctor.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtOperationDoctor.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtOperationDoctor.Border.BorderLeftWidth = 1; + this.txtOperationDoctor.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtOperationDoctor.Border.BorderRightWidth = 1; + this.txtOperationDoctor.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtOperationDoctor.Border.BorderTopWidth = 1; + this.txtOperationDoctor.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtOperationDoctor.DisabledBackColor = System.Drawing.Color.White; + this.txtOperationDoctor.ForeColor = System.Drawing.Color.Black; + this.txtOperationDoctor.Location = new System.Drawing.Point(666, 108); + this.txtOperationDoctor.Name = "txtOperationDoctor"; + this.txtOperationDoctor.Size = new System.Drawing.Size(120, 22); + this.txtOperationDoctor.TabIndex = 848; + this.txtOperationDoctor.DoubleClick += new System.EventHandler(this.txtOperationDoctor_DoubleClick); + // + // txtInstrumentNurse + // + this.txtInstrumentNurse.BackColor = System.Drawing.Color.White; + // + // + // + this.txtInstrumentNurse.Border.BackColor = System.Drawing.SystemColors.Desktop; + this.txtInstrumentNurse.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); + this.txtInstrumentNurse.Border.BorderBottomWidth = 1; + this.txtInstrumentNurse.Border.BorderColor = System.Drawing.SystemColors.Desktop; + this.txtInstrumentNurse.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse.Border.BorderLeftWidth = 1; + this.txtInstrumentNurse.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse.Border.BorderRightWidth = 1; + this.txtInstrumentNurse.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; + this.txtInstrumentNurse.Border.BorderTopWidth = 1; + this.txtInstrumentNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.txtInstrumentNurse.DisabledBackColor = System.Drawing.Color.White; + this.txtInstrumentNurse.ForeColor = System.Drawing.Color.Black; + this.txtInstrumentNurse.Location = new System.Drawing.Point(201, 109); + this.txtInstrumentNurse.Name = "txtInstrumentNurse"; + this.txtInstrumentNurse.Size = new System.Drawing.Size(120, 22); + this.txtInstrumentNurse.TabIndex = 848; + this.txtInstrumentNurse.DoubleClick += new System.EventHandler(this.txtInstrumentNurse_Click); + // + // panelQXList + // + this.panelQXList.Dock = System.Windows.Forms.DockStyle.Top; + this.panelQXList.Location = new System.Drawing.Point(0, 47); + this.panelQXList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panelQXList.Name = "panelQXList"; + this.panelQXList.Size = new System.Drawing.Size(950, 378); + this.panelQXList.TabIndex = 1350; + // + // plTital + // + this.plTital.BackColor = System.Drawing.SystemColors.Control; + this.plTital.Controls.Add(this.panel15); + this.plTital.Controls.Add(this.panel16); + this.plTital.Dock = System.Windows.Forms.DockStyle.Top; + this.plTital.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.plTital.Location = new System.Drawing.Point(0, 0); + this.plTital.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.plTital.Name = "plTital"; + this.plTital.Size = new System.Drawing.Size(950, 47); + this.plTital.TabIndex = 1349; + // + // panel15 + // + this.panel15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel15.Controls.Add(this.label11); + this.panel15.Controls.Add(this.label12); + this.panel15.Controls.Add(this.label13); + this.panel15.Controls.Add(this.label14); + this.panel15.Controls.Add(this.label17); + this.panel15.Controls.Add(this.label15); + this.panel15.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel15.Location = new System.Drawing.Point(477, 0); + this.panel15.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel15.Name = "panel15"; + this.panel15.Size = new System.Drawing.Size(473, 47); + this.panel15.TabIndex = 13; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label11.Location = new System.Drawing.Point(42, 5); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(32, 34); + this.label11.TabIndex = 9; + this.label11.Text = "器械\r\n名称"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label12.Location = new System.Drawing.Point(140, 5); + this.label12.Margin = new System.Windows.Forms.Padding(0); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(32, 34); + this.label12.TabIndex = 10; + this.label12.Text = "术前\r\n清点"; + this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label13 + // + this.label13.AutoSize = true; + this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label13.Location = new System.Drawing.Point(208, 5); + this.label13.Name = "label13"; + this.label13.Size = new System.Drawing.Size(32, 34); + this.label13.TabIndex = 12; + this.label13.Text = "术中\r\n加数"; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label14.Location = new System.Drawing.Point(276, 5); + this.label14.Margin = new System.Windows.Forms.Padding(0); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(32, 34); + this.label14.TabIndex = 8; + this.label14.Text = "关体\r\n腔前"; + // + // label17 + // + this.label17.AutoSize = true; + this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label17.Location = new System.Drawing.Point(412, 5); + this.label17.Name = "label17"; + this.label17.Size = new System.Drawing.Size(32, 34); + this.label17.TabIndex = 11; + this.label17.Text = "缝合\r\n皮后"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label15.Location = new System.Drawing.Point(344, 5); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(32, 34); + this.label15.TabIndex = 11; + this.label15.Text = "关体\r\n腔后"; + // + // panel16 + // + this.panel16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel16.Controls.Add(this.label65); + this.panel16.Controls.Add(this.label57); + this.panel16.Controls.Add(this.label59); + this.panel16.Controls.Add(this.label16); + this.panel16.Controls.Add(this.label66); + this.panel16.Controls.Add(this.label58); + this.panel16.Dock = System.Windows.Forms.DockStyle.Left; + this.panel16.Location = new System.Drawing.Point(0, 0); + this.panel16.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.panel16.Name = "panel16"; + this.panel16.Size = new System.Drawing.Size(477, 47); + this.panel16.TabIndex = 11; + // + // label65 + // + this.label65.AutoSize = true; + this.label65.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label65.Location = new System.Drawing.Point(46, 5); + this.label65.Name = "label65"; + this.label65.Size = new System.Drawing.Size(32, 34); + this.label65.TabIndex = 9; + this.label65.Text = "器械\r\n名称"; + // + // label57 + // + this.label57.AutoSize = true; + this.label57.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label57.Location = new System.Drawing.Point(139, 5); + this.label57.Margin = new System.Windows.Forms.Padding(0); + this.label57.Name = "label57"; + this.label57.Size = new System.Drawing.Size(32, 34); + this.label57.TabIndex = 10; + this.label57.Text = "术前\r\n清点"; + this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label59 + // + this.label59.AutoSize = true; + this.label59.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label59.Location = new System.Drawing.Point(277, 5); + this.label59.Margin = new System.Windows.Forms.Padding(0); + this.label59.Name = "label59"; + this.label59.Size = new System.Drawing.Size(32, 34); + this.label59.TabIndex = 8; + this.label59.Text = "关体\r\n腔前"; + // + // label16 + // + this.label16.AutoSize = true; + this.label16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label16.Location = new System.Drawing.Point(415, 5); + this.label16.Name = "label16"; + this.label16.Size = new System.Drawing.Size(32, 34); + this.label16.TabIndex = 11; + this.label16.Text = "缝合\r\n皮后"; + // + // label66 + // + this.label66.AutoSize = true; + this.label66.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label66.Location = new System.Drawing.Point(346, 5); + this.label66.Name = "label66"; + this.label66.Size = new System.Drawing.Size(32, 34); + this.label66.TabIndex = 11; + this.label66.Text = "关体\r\n腔后"; + // + // label58 + // + this.label58.AutoSize = true; + this.label58.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label58.Location = new System.Drawing.Point(208, 5); + this.label58.Name = "label58"; + this.label58.Size = new System.Drawing.Size(32, 34); + this.label58.TabIndex = 12; + this.label58.Text = "术中\r\n加数"; + // + // plTop + // + this.plTop.BackColor = System.Drawing.Color.White; + this.plTop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.plTop.Dock = System.Windows.Forms.DockStyle.Top; + this.plTop.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.plTop.Location = new System.Drawing.Point(0, 0); + this.plTop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); + this.plTop.Name = "plTop"; + this.plTop.Size = new System.Drawing.Size(952, 2); + this.plTop.TabIndex = 22; + // + // circularProgress1 + // + this.circularProgress1.AnimationSpeed = 50; + // + // + // + this.circularProgress1.BackgroundStyle.BackgroundImageAlpha = ((byte)(0)); + this.circularProgress1.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom; + this.circularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.circularProgress1.FocusCuesEnabled = false; + this.circularProgress1.Font = new System.Drawing.Font("微软雅黑", 9F); + this.circularProgress1.Location = new System.Drawing.Point(602, 274); + this.circularProgress1.Margin = new System.Windows.Forms.Padding(4); + this.circularProgress1.Name = "circularProgress1"; + this.circularProgress1.ProgressColor = System.Drawing.Color.DodgerBlue; + this.circularProgress1.Size = new System.Drawing.Size(389, 239); + this.circularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP; + this.circularProgress1.TabIndex = 6; + this.circularProgress1.Value = 100; + // + // zgcAnaesRecord + // + this.zgcAnaesRecord.Location = new System.Drawing.Point(416, 41); + this.zgcAnaesRecord.Name = "zgcAnaesRecord"; + this.zgcAnaesRecord.ScrollGrace = 0D; + this.zgcAnaesRecord.ScrollMaxX = 0D; + this.zgcAnaesRecord.ScrollMaxY = 0D; + this.zgcAnaesRecord.ScrollMaxY2 = 0D; + this.zgcAnaesRecord.ScrollMinX = 0D; + this.zgcAnaesRecord.ScrollMinY = 0D; + this.zgcAnaesRecord.ScrollMinY2 = 0D; + this.zgcAnaesRecord.Size = new System.Drawing.Size(800, 1000); + this.zgcAnaesRecord.TabIndex = 0; + this.zgcAnaesRecord.Visible = false; + this.zgcAnaesRecord.ContextMenuBuilder += new DrawGraph.ZedGraphControl.ContextMenuBuilderEventHandler(this.zgcAnaesRecord_ContextMenuBuilder); + this.zgcAnaesRecord.MouseDownEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseDownEvent); + this.zgcAnaesRecord.MouseUpEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseUpEvent); + this.zgcAnaesRecord.MouseMoveEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseMoveEvent); + this.zgcAnaesRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zgcAnaesRecord_KeyUp); + this.zgcAnaesRecord.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zgcAnaesRecord_MouseDoubleClick); + // // spTabQXQDD // this.spTabQXQDD.AttachedControl = this.superTabControlPanel1; @@ -1358,441 +2479,6 @@ this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71); this.flowLayoutPanel1.TabIndex = 0; // - // panel8 - // - this.panel8.AutoScroll = true; - this.panel8.BackColor = System.Drawing.Color.White; - this.panel8.Controls.Add(this.panelQX); - this.panel8.Controls.Add(this.circularProgress1); - this.panel8.Controls.Add(this.zgcAnaesRecord); - this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel8.Location = new System.Drawing.Point(0, 0); - this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(1389, 803); - this.panel8.TabIndex = 2; - this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll); - // - // panelQX - // - this.panelQX.BackColor = System.Drawing.Color.White; - this.panelQX.Controls.Add(this.plBottom); - this.panelQX.Controls.Add(this.plTop); - this.panelQX.Location = new System.Drawing.Point(217, 213); - this.panelQX.Margin = new System.Windows.Forms.Padding(0); - this.panelQX.Name = "panelQX"; - this.panelQX.Size = new System.Drawing.Size(952, 562); - this.panelQX.TabIndex = 12; - this.panelQX.Visible = false; - // - // plBottom - // - this.plBottom.BackColor = System.Drawing.Color.White; - this.plBottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.plBottom.Controls.Add(this.panelButton); - this.plBottom.Controls.Add(this.panelQXList); - this.plBottom.Controls.Add(this.plTital); - this.plBottom.Dock = System.Windows.Forms.DockStyle.Fill; - this.plBottom.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.plBottom.Location = new System.Drawing.Point(0, 2); - this.plBottom.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.plBottom.Name = "plBottom"; - this.plBottom.Size = new System.Drawing.Size(952, 560); - this.plBottom.TabIndex = 1355; - // - // panelButton - // - this.panelButton.Controls.Add(this.txtRemark); - this.panelButton.Controls.Add(this.label18); - this.panelButton.Controls.Add(this.label26); - this.panelButton.Controls.Add(this.label20); - this.panelButton.Controls.Add(this.label27); - this.panelButton.Controls.Add(this.txtTourNurse); - this.panelButton.Controls.Add(this.txtOperationDoctor); - this.panelButton.Controls.Add(this.txtInstrumentNurse); - this.panelButton.Dock = System.Windows.Forms.DockStyle.Top; - this.panelButton.Location = new System.Drawing.Point(0, 425); - this.panelButton.Name = "panelButton"; - this.panelButton.Size = new System.Drawing.Size(950, 141); - this.panelButton.TabIndex = 1351; - // - // txtRemark - // - this.txtRemark.BackColor = System.Drawing.Color.White; - // - // - // - this.txtRemark.Border.BackColor = System.Drawing.SystemColors.Desktop; - this.txtRemark.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtRemark.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); - this.txtRemark.Border.BorderBottomWidth = 1; - this.txtRemark.Border.BorderColor = System.Drawing.SystemColors.Desktop; - this.txtRemark.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtRemark.Border.BorderLeftWidth = 1; - this.txtRemark.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtRemark.Border.BorderRightWidth = 1; - this.txtRemark.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtRemark.Border.BorderTopWidth = 1; - this.txtRemark.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtRemark.DisabledBackColor = System.Drawing.Color.White; - this.txtRemark.Font = new System.Drawing.Font("微软雅黑", 10.5F); - this.txtRemark.ForeColor = System.Drawing.Color.Black; - this.txtRemark.Location = new System.Drawing.Point(103, 25); - this.txtRemark.Multiline = true; - this.txtRemark.Name = "txtRemark"; - this.txtRemark.Size = new System.Drawing.Size(722, 75); - this.txtRemark.TabIndex = 849; - // - // label18 - // - this.label18.AutoSize = true; - this.label18.Font = new System.Drawing.Font("微软雅黑", 12F); - this.label18.Location = new System.Drawing.Point(37, 48); - this.label18.Name = "label18"; - this.label18.Size = new System.Drawing.Size(42, 21); - this.label18.TabIndex = 851; - this.label18.Text = "备注"; - // - // label26 - // - this.label26.AutoSize = true; - this.label26.Font = new System.Drawing.Font("微软雅黑", 12F); - this.label26.Location = new System.Drawing.Point(353, 108); - this.label26.Name = "label26"; - this.label26.Size = new System.Drawing.Size(74, 21); - this.label26.TabIndex = 851; - this.label26.Text = "巡回护士"; - // - // label20 - // - this.label20.AutoSize = true; - this.label20.Font = new System.Drawing.Font("微软雅黑", 12F); - this.label20.Location = new System.Drawing.Point(586, 107); - this.label20.Name = "label20"; - this.label20.Size = new System.Drawing.Size(74, 21); - this.label20.TabIndex = 850; - this.label20.Text = "手术医师"; - // - // label27 - // - this.label27.AutoSize = true; - this.label27.Font = new System.Drawing.Font("微软雅黑", 12F); - this.label27.Location = new System.Drawing.Point(121, 108); - this.label27.Name = "label27"; - this.label27.Size = new System.Drawing.Size(74, 21); - this.label27.TabIndex = 850; - this.label27.Text = "器械护士"; - // - // txtTourNurse - // - this.txtTourNurse.BackColor = System.Drawing.Color.White; - // - // - // - this.txtTourNurse.Border.BackColor = System.Drawing.SystemColors.Desktop; - this.txtTourNurse.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtTourNurse.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); - this.txtTourNurse.Border.BorderBottomWidth = 1; - this.txtTourNurse.Border.BorderColor = System.Drawing.SystemColors.Desktop; - this.txtTourNurse.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtTourNurse.Border.BorderLeftWidth = 1; - this.txtTourNurse.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtTourNurse.Border.BorderRightWidth = 1; - this.txtTourNurse.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtTourNurse.Border.BorderTopWidth = 1; - this.txtTourNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtTourNurse.DisabledBackColor = System.Drawing.Color.White; - this.txtTourNurse.ForeColor = System.Drawing.Color.Black; - this.txtTourNurse.Location = new System.Drawing.Point(445, 109); - this.txtTourNurse.Name = "txtTourNurse"; - this.txtTourNurse.Size = new System.Drawing.Size(120, 22); - this.txtTourNurse.TabIndex = 847; - this.txtTourNurse.DoubleClick += new System.EventHandler(this.txtTourNurse_Click); - // - // txtOperationDoctor - // - this.txtOperationDoctor.BackColor = System.Drawing.Color.White; - // - // - // - this.txtOperationDoctor.Border.BackColor = System.Drawing.SystemColors.Desktop; - this.txtOperationDoctor.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtOperationDoctor.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); - this.txtOperationDoctor.Border.BorderBottomWidth = 1; - this.txtOperationDoctor.Border.BorderColor = System.Drawing.SystemColors.Desktop; - this.txtOperationDoctor.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtOperationDoctor.Border.BorderLeftWidth = 1; - this.txtOperationDoctor.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtOperationDoctor.Border.BorderRightWidth = 1; - this.txtOperationDoctor.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtOperationDoctor.Border.BorderTopWidth = 1; - this.txtOperationDoctor.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtOperationDoctor.DisabledBackColor = System.Drawing.Color.White; - this.txtOperationDoctor.ForeColor = System.Drawing.Color.Black; - this.txtOperationDoctor.Location = new System.Drawing.Point(666, 108); - this.txtOperationDoctor.Name = "txtOperationDoctor"; - this.txtOperationDoctor.Size = new System.Drawing.Size(120, 22); - this.txtOperationDoctor.TabIndex = 848; - this.txtOperationDoctor.DoubleClick += new System.EventHandler(this.txtOperationDoctor_DoubleClick); - // - // txtInstrumentNurse - // - this.txtInstrumentNurse.BackColor = System.Drawing.Color.White; - // - // - // - this.txtInstrumentNurse.Border.BackColor = System.Drawing.SystemColors.Desktop; - this.txtInstrumentNurse.Border.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtInstrumentNurse.Border.BorderBottomColor = System.Drawing.Color.FromArgb(((int)(((byte)(231)))), ((int)(((byte)(227)))), ((int)(((byte)(231))))); - this.txtInstrumentNurse.Border.BorderBottomWidth = 1; - this.txtInstrumentNurse.Border.BorderColor = System.Drawing.SystemColors.Desktop; - this.txtInstrumentNurse.Border.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtInstrumentNurse.Border.BorderLeftWidth = 1; - this.txtInstrumentNurse.Border.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtInstrumentNurse.Border.BorderRightWidth = 1; - this.txtInstrumentNurse.Border.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid; - this.txtInstrumentNurse.Border.BorderTopWidth = 1; - this.txtInstrumentNurse.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.txtInstrumentNurse.DisabledBackColor = System.Drawing.Color.White; - this.txtInstrumentNurse.ForeColor = System.Drawing.Color.Black; - this.txtInstrumentNurse.Location = new System.Drawing.Point(201, 109); - this.txtInstrumentNurse.Name = "txtInstrumentNurse"; - this.txtInstrumentNurse.Size = new System.Drawing.Size(120, 22); - this.txtInstrumentNurse.TabIndex = 848; - this.txtInstrumentNurse.DoubleClick += new System.EventHandler(this.txtInstrumentNurse_Click); - // - // panelQXList - // - this.panelQXList.Dock = System.Windows.Forms.DockStyle.Top; - this.panelQXList.Location = new System.Drawing.Point(0, 47); - this.panelQXList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.panelQXList.Name = "panelQXList"; - this.panelQXList.Size = new System.Drawing.Size(950, 378); - this.panelQXList.TabIndex = 1350; - // - // plTital - // - this.plTital.BackColor = System.Drawing.SystemColors.Control; - this.plTital.Controls.Add(this.panel15); - this.plTital.Controls.Add(this.panel16); - this.plTital.Dock = System.Windows.Forms.DockStyle.Top; - this.plTital.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.plTital.Location = new System.Drawing.Point(0, 0); - this.plTital.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.plTital.Name = "plTital"; - this.plTital.Size = new System.Drawing.Size(950, 47); - this.plTital.TabIndex = 1349; - // - // panel15 - // - this.panel15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel15.Controls.Add(this.label11); - this.panel15.Controls.Add(this.label12); - this.panel15.Controls.Add(this.label13); - this.panel15.Controls.Add(this.label14); - this.panel15.Controls.Add(this.label17); - this.panel15.Controls.Add(this.label15); - this.panel15.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel15.Location = new System.Drawing.Point(477, 0); - this.panel15.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.panel15.Name = "panel15"; - this.panel15.Size = new System.Drawing.Size(473, 47); - this.panel15.TabIndex = 13; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label11.Location = new System.Drawing.Point(42, 5); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(32, 34); - this.label11.TabIndex = 9; - this.label11.Text = "器械\r\n名称"; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label12.Location = new System.Drawing.Point(140, 5); - this.label12.Margin = new System.Windows.Forms.Padding(0); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(32, 34); - this.label12.TabIndex = 10; - this.label12.Text = "术前\r\n清点"; - this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label13 - // - this.label13.AutoSize = true; - this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label13.Location = new System.Drawing.Point(208, 5); - this.label13.Name = "label13"; - this.label13.Size = new System.Drawing.Size(32, 34); - this.label13.TabIndex = 12; - this.label13.Text = "术中\r\n加数"; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label14.Location = new System.Drawing.Point(276, 5); - this.label14.Margin = new System.Windows.Forms.Padding(0); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(32, 34); - this.label14.TabIndex = 8; - this.label14.Text = "关体\r\n腔前"; - // - // label17 - // - this.label17.AutoSize = true; - this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label17.Location = new System.Drawing.Point(412, 5); - this.label17.Name = "label17"; - this.label17.Size = new System.Drawing.Size(32, 34); - this.label17.TabIndex = 11; - this.label17.Text = "缝合\r\n皮后"; - // - // label15 - // - this.label15.AutoSize = true; - this.label15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label15.Location = new System.Drawing.Point(344, 5); - this.label15.Name = "label15"; - this.label15.Size = new System.Drawing.Size(32, 34); - this.label15.TabIndex = 11; - this.label15.Text = "关体\r\n腔后"; - // - // panel16 - // - this.panel16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel16.Controls.Add(this.label65); - this.panel16.Controls.Add(this.label57); - this.panel16.Controls.Add(this.label59); - this.panel16.Controls.Add(this.label16); - this.panel16.Controls.Add(this.label66); - this.panel16.Controls.Add(this.label58); - this.panel16.Dock = System.Windows.Forms.DockStyle.Left; - this.panel16.Location = new System.Drawing.Point(0, 0); - this.panel16.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.panel16.Name = "panel16"; - this.panel16.Size = new System.Drawing.Size(477, 47); - this.panel16.TabIndex = 11; - // - // label65 - // - this.label65.AutoSize = true; - this.label65.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label65.Location = new System.Drawing.Point(46, 5); - this.label65.Name = "label65"; - this.label65.Size = new System.Drawing.Size(32, 34); - this.label65.TabIndex = 9; - this.label65.Text = "器械\r\n名称"; - // - // label57 - // - this.label57.AutoSize = true; - this.label57.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label57.Location = new System.Drawing.Point(139, 5); - this.label57.Margin = new System.Windows.Forms.Padding(0); - this.label57.Name = "label57"; - this.label57.Size = new System.Drawing.Size(32, 34); - this.label57.TabIndex = 10; - this.label57.Text = "术前\r\n清点"; - this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label59 - // - this.label59.AutoSize = true; - this.label59.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label59.Location = new System.Drawing.Point(277, 5); - this.label59.Margin = new System.Windows.Forms.Padding(0); - this.label59.Name = "label59"; - this.label59.Size = new System.Drawing.Size(32, 34); - this.label59.TabIndex = 8; - this.label59.Text = "关体\r\n腔前"; - // - // label16 - // - this.label16.AutoSize = true; - this.label16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label16.Location = new System.Drawing.Point(415, 5); - this.label16.Name = "label16"; - this.label16.Size = new System.Drawing.Size(32, 34); - this.label16.TabIndex = 11; - this.label16.Text = "缝合\r\n皮后"; - // - // label66 - // - this.label66.AutoSize = true; - this.label66.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label66.Location = new System.Drawing.Point(346, 5); - this.label66.Name = "label66"; - this.label66.Size = new System.Drawing.Size(32, 34); - this.label66.TabIndex = 11; - this.label66.Text = "关体\r\n腔后"; - // - // label58 - // - this.label58.AutoSize = true; - this.label58.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label58.Location = new System.Drawing.Point(208, 5); - this.label58.Name = "label58"; - this.label58.Size = new System.Drawing.Size(32, 34); - this.label58.TabIndex = 12; - this.label58.Text = "术中\r\n加数"; - // - // plTop - // - this.plTop.BackColor = System.Drawing.Color.White; - this.plTop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.plTop.Dock = System.Windows.Forms.DockStyle.Top; - this.plTop.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.plTop.Location = new System.Drawing.Point(0, 0); - this.plTop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4); - this.plTop.Name = "plTop"; - this.plTop.Size = new System.Drawing.Size(952, 2); - this.plTop.TabIndex = 22; - // - // circularProgress1 - // - this.circularProgress1.AnimationSpeed = 50; - // - // - // - this.circularProgress1.BackgroundStyle.BackgroundImageAlpha = ((byte)(0)); - this.circularProgress1.BackgroundStyle.BackgroundImagePosition = DevComponents.DotNetBar.eStyleBackgroundImage.Zoom; - this.circularProgress1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.circularProgress1.FocusCuesEnabled = false; - this.circularProgress1.Font = new System.Drawing.Font("微软雅黑", 9F); - this.circularProgress1.Location = new System.Drawing.Point(602, 274); - this.circularProgress1.Margin = new System.Windows.Forms.Padding(4); - this.circularProgress1.Name = "circularProgress1"; - this.circularProgress1.ProgressColor = System.Drawing.Color.DodgerBlue; - this.circularProgress1.Size = new System.Drawing.Size(389, 239); - this.circularProgress1.Style = DevComponents.DotNetBar.eDotNetBarStyle.OfficeXP; - this.circularProgress1.TabIndex = 6; - this.circularProgress1.Value = 100; - // - // zgcAnaesRecord - // - this.zgcAnaesRecord.Location = new System.Drawing.Point(416, 41); - this.zgcAnaesRecord.Name = "zgcAnaesRecord"; - this.zgcAnaesRecord.ScrollGrace = 0D; - this.zgcAnaesRecord.ScrollMaxX = 0D; - this.zgcAnaesRecord.ScrollMaxY = 0D; - this.zgcAnaesRecord.ScrollMaxY2 = 0D; - this.zgcAnaesRecord.ScrollMinX = 0D; - this.zgcAnaesRecord.ScrollMinY = 0D; - this.zgcAnaesRecord.ScrollMinY2 = 0D; - this.zgcAnaesRecord.Size = new System.Drawing.Size(800, 1000); - this.zgcAnaesRecord.TabIndex = 0; - this.zgcAnaesRecord.Visible = false; - this.zgcAnaesRecord.ContextMenuBuilder += new DrawGraph.ZedGraphControl.ContextMenuBuilderEventHandler(this.zgcAnaesRecord_ContextMenuBuilder); - this.zgcAnaesRecord.MouseDownEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseDownEvent); - this.zgcAnaesRecord.MouseUpEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseUpEvent); - this.zgcAnaesRecord.MouseMoveEvent += new DrawGraph.ZedGraphControl.ZedMouseEventHandler(this.zgcAnaesRecord_MouseMoveEvent); - this.zgcAnaesRecord.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zgcAnaesRecord_KeyUp); - this.zgcAnaesRecord.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zgcAnaesRecord_MouseDoubleClick); - // // frmInstrumentRecord // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -1813,8 +2499,31 @@ this.panel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.superTabMain)).EndInit(); this.superTabMain.ResumeLayout(false); + this.superTabControlPanel2.ResumeLayout(false); + this.panel9.ResumeLayout(false); + this.panelQX2.ResumeLayout(false); + this.panel12.ResumeLayout(false); + this.panel17.ResumeLayout(false); + this.panel17.PerformLayout(); + this.panel19.ResumeLayout(false); + this.panel20.ResumeLayout(false); + this.panel20.PerformLayout(); + this.panel22.ResumeLayout(false); + this.panel22.PerformLayout(); + this.panel23.ResumeLayout(false); + this.panel23.PerformLayout(); this.superTabControlPanel1.ResumeLayout(false); this.panelExZKZB.ResumeLayout(false); + this.panel8.ResumeLayout(false); + this.panelQX.ResumeLayout(false); + this.plBottom.ResumeLayout(false); + this.panelButton.ResumeLayout(false); + this.panelButton.PerformLayout(); + this.plTital.ResumeLayout(false); + this.panel15.ResumeLayout(false); + this.panel15.PerformLayout(); + this.panel16.ResumeLayout(false); + this.panel16.PerformLayout(); this.panel7.ResumeLayout(false); this.panel7.PerformLayout(); this.panel21.ResumeLayout(false); @@ -1831,16 +2540,6 @@ this.panel6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picInRoom)).EndInit(); - this.panel8.ResumeLayout(false); - this.panelQX.ResumeLayout(false); - this.plBottom.ResumeLayout(false); - this.panelButton.ResumeLayout(false); - this.panelButton.PerformLayout(); - this.plTital.ResumeLayout(false); - this.panel15.ResumeLayout(false); - this.panel15.PerformLayout(); - this.panel16.ResumeLayout(false); - this.panel16.PerformLayout(); this.ResumeLayout(false); } @@ -1949,5 +2648,55 @@ private System.Windows.Forms.ToolTip toolTip1; public System.Windows.Forms.Label label20; private DevComponents.DotNetBar.Controls.TextBoxX txtOperationDoctor; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2; + private DevComponents.DotNetBar.SuperTabItem spTabQXQDD2; + private PublicUI.UI.DrawPanel panel9; + private System.Windows.Forms.Panel panelQX2; + private System.Windows.Forms.Panel panel12; + private System.Windows.Forms.Panel panel17; + private DevComponents.DotNetBar.Controls.TextBoxX txtRemark2; + public System.Windows.Forms.Label label21; + public System.Windows.Forms.Label label23; + public System.Windows.Forms.Label label24; + public System.Windows.Forms.Label label25; + private DevComponents.DotNetBar.Controls.TextBoxX txtTourNurse2; + private DevComponents.DotNetBar.Controls.TextBoxX txtOperationDoctor2; + private DevComponents.DotNetBar.Controls.TextBoxX txtInstrumentNurse2; + private System.Windows.Forms.Panel panelQXList2; + private System.Windows.Forms.Panel panel19; + private System.Windows.Forms.Panel panel20; + private System.Windows.Forms.Label label28; + private System.Windows.Forms.Label label29; + private System.Windows.Forms.Label label30; + private System.Windows.Forms.Label label31; + private System.Windows.Forms.Label label32; + private System.Windows.Forms.Label label33; + private System.Windows.Forms.Panel panel22; + private System.Windows.Forms.Label label34; + private System.Windows.Forms.Label label35; + private System.Windows.Forms.Label label36; + private System.Windows.Forms.Label label37; + private System.Windows.Forms.Label label38; + private System.Windows.Forms.Label label39; + private System.Windows.Forms.Panel panel23; + public DevComponents.DotNetBar.Controls.CircularProgress circularProgress2; + private System.Windows.Forms.Label label40; + private System.Windows.Forms.TextBox txtOperation; + private System.Windows.Forms.Label label55; + private System.Windows.Forms.Label labopdate; + private System.Windows.Forms.Label label51; + private System.Windows.Forms.Label labmno; + private System.Windows.Forms.Label label49; + private System.Windows.Forms.Label labage; + private System.Windows.Forms.Label label47; + private System.Windows.Forms.Label labsex; + private System.Windows.Forms.Label label45; + private System.Windows.Forms.Label labpname; + private System.Windows.Forms.Label label43; + private System.Windows.Forms.Label labroom; + private System.Windows.Forms.Label label53; + private System.Windows.Forms.Label labdept; + private System.Windows.Forms.Label label41; + private System.Windows.Forms.TextBox txtOperationPosition; } } \ No newline at end of file diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord.cs index 3590050..02d1108 100644 --- a/AIMS/OperationAanesthesia/frmInstrumentRecord.cs +++ b/AIMS/OperationAanesthesia/frmInstrumentRecord.cs @@ -3,6 +3,7 @@ using AIMS.OperationFront.UI; using AIMS.OremrUserControl; using AIMS.PublicUI.UI; using AIMSBLL; +using AIMSDAL; using AIMSExtension; using AIMSModel; using DevComponents.DotNetBar; @@ -29,7 +30,9 @@ namespace AIMS.OperationAanesthesia public TemplateManage templateManage; public AIMSModel.OperationRoom NowRoom; private DataTable _appliance; + private DataTable _appliance2; private List _applianceUseType; + private List _applianceUseType2; public int PatientId = 0; public int ApplyId = 0; public int RecoverId = 1; @@ -54,6 +57,7 @@ namespace AIMS.OperationAanesthesia labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + " " + AIMSExtension.PublicMethod.OperatorName; if (NowRoom != null) lblRoom.Text = NowRoom.Name; circularProgress1.Location = new Point((panel8.Width - circularProgress1.Width) / 2, (panel8.Height - circularProgress1.Height) / 2); + circularProgress2.Location = new Point((panel9.Width - circularProgress2.Width) / 2, (panel9.Height - circularProgress2.Height) / 2); //this.MaximizeBox = false; this.MinimizeBox = false; @@ -137,7 +141,6 @@ namespace AIMS.OperationAanesthesia } catch (Exception) { - //PublicMethod.ShowMessage("输入的时间格式不符合规范(HH:mm)!"); return; } } @@ -165,19 +168,7 @@ namespace AIMS.OperationAanesthesia if (Inevent != null) { _record.FactEventsList.Add(Inevent); - //if (Inevent.EventName == "入室") - //{ - // _record.pageCount = 0; - // ReviewEvent(); - //} - //else if (Inevent.EventName == "手术开始" || Inevent.EventName == "出室" || Inevent.EventBeginTime > _record.lastPageBegin) - //{ - // ReviewEvent(); - //} - //else - //{ DrawEvent(); - //} } } /// @@ -189,18 +180,6 @@ namespace AIMS.OperationAanesthesia DrawGraph.FactEvents Inevent = null; DateTimeInput tb = obj as DateTimeInput; curTimeTemp = new DateTime(curTimeTemp.Year, curTimeTemp.Month, curTimeTemp.Day, curTimeTemp.Hour, curTimeTemp.Minute, 0); - //try - //{ - // if (curTimeTemp.Date < _record.PlanOperationTime.AddDays(-3).Date) - // { - // tb.Focus(); - // tb.Value = DateTime.Parse(tb.Tag.ToString()); - // return; - // } - //} - //catch (Exception) - //{ - //} InsertOrUpdateEventTime(1, "txtInRoom", "入室", tb, curTimeTemp, ref Inevent); curTimeTemp = curTimeTemp.AddSeconds(2); InsertOrUpdateEventTime(1, "txtOperationBegin", "手术开始", tb, curTimeTemp, ref Inevent); @@ -211,19 +190,7 @@ namespace AIMS.OperationAanesthesia if (Inevent != null) { - //if (Inevent.EventName == "入室") - //{ - // _record.pageCount = 0; - // ReviewEvent(); - //} - //else if (Inevent.EventName == "出室" || Inevent.EventName == "手术开始" || Inevent.EventBeginTime > _record.lastPageBegin) - //{ - // ReviewEvent(); - //} - //else - //{ DrawEvent(); - //} } } /// @@ -291,10 +258,6 @@ namespace AIMS.OperationAanesthesia this.picOpeEnd.BackgroundImage = global::AIMS.Properties.Resources.手术结束; BOperationRecord.Update(" OperationEndTime=null where Id=@id ", new AIMSModel.ParameterList("@id", _record.Id)); } - //if (Inevent != null) - //{ - // BOperationRecord.Update("OperationBeginTime=@OperationBegin,OperationEndTime=@OperationEnd,OutRoomTime=@OutRoom where Id=@id", new AIMSModel.ParameterList("@OperationBegin", _record.OperationBeginTime.HasValue ? (object)_record.OperationBeginTime.Value : (object)DBNull.Value, "@OperationEnd", _record.OperationEndTime.HasValue ? (object)_record.OperationEndTime.Value : (object)DBNull.Value, "@OutRoom", _record.OutRoomTime.HasValue ? (object)_record.OutRoomTime.Value : (object)DBNull.Value, "@id", _record.Id)); - //} } } /// @@ -433,6 +396,8 @@ namespace AIMS.OperationAanesthesia { circularProgress1.IsRunning = true; circularProgress1.Visible = true; + circularProgress2.IsRunning = true; + circularProgress2.Visible = true; zgcAnaesRecord.Visible = false; timerLoadAnesRescue = new System.Windows.Forms.Timer(components); timerLoadAnesRescue.Enabled = true;//调试时设置为FALSE , @@ -501,6 +466,11 @@ namespace AIMS.OperationAanesthesia panelQX.Dock = DockStyle.Fill; pan.Controls.Add(panelQX); pan.Size = new System.Drawing.Size(templateManage.ZedControl.Width, (int)(templateManage.ZedControl.Height * 0.4)); + + panelQX2.Visible = true; + panelQX2.Size = new Size(panel9.Size.Width - 10, pan.Size.Height); + panelQX2.Location = new Point(pan.Location.X, 40); + } plRefresh_Click(null, null); if (_record.MedicalRecord != null && _record.MedicalRecord != "") @@ -535,6 +505,8 @@ namespace AIMS.OperationAanesthesia } circularProgress1.IsRunning = false; circularProgress1.Visible = false; + circularProgress2.IsRunning = false; + circularProgress2.Visible = false; zgcAnaesRecord.Visible = true; } @@ -676,17 +648,35 @@ namespace AIMS.OperationAanesthesia } private void btnTemplate_Click(object sender, EventArgs e) { - if (_applianceUseType == null) - _applianceUseType = new List(); - frmSelectApplianceUseType ReturnApply = new frmSelectApplianceUseType(); - ReturnApply._SelectApplianceUseType = _applianceUseType; - DialogResult ddr = ReturnApply.ShowDialog(); - _appliance = ReturnApply._appliance; - if (ddr == System.Windows.Forms.DialogResult.OK && _appliance != null) + if (superTabMain.SelectedTab.Name == "spTabQXQDD") { - FullUcControlsToPanel(panelQXList, _appliance); - //if (_appliance.Rows.Count > 60) - // MessageBox.Show("超出打印数量!"); + if (_applianceUseType == null) + _applianceUseType = new List(); + frmSelectApplianceUseType ReturnApply = new frmSelectApplianceUseType(); + ReturnApply._SelectApplianceUseType = _applianceUseType; + DialogResult ddr = ReturnApply.ShowDialog(); + _appliance = ReturnApply._appliance; + if (ddr == System.Windows.Forms.DialogResult.OK && _appliance != null) + { + FullUcControlsToPanel(panelQXList, _appliance, _record.InstrumentList, i1, j1); + //if (_appliance.Rows.Count > 60) + // MessageBox.Show("超出打印数量!"); + } + } + else + { + if (_applianceUseType2 == null) + _applianceUseType2 = new List(); + frmSelectApplianceUseType ReturnApply = new frmSelectApplianceUseType(); + ReturnApply._SelectApplianceUseType = _applianceUseType2; + DialogResult ddr = ReturnApply.ShowDialog(); + _appliance2 = ReturnApply._appliance; + if (ddr == System.Windows.Forms.DialogResult.OK && _appliance2 != null) + { + FullUcControlsToPanel(panelQXList2, _appliance2, _record.InstrumentList2, i2, j2); + //if (_appliance.Rows.Count > 60) + // MessageBox.Show("超出打印数量!"); + } } } private void tsbExePlan_Click(object sender, EventArgs e) @@ -738,7 +728,8 @@ namespace AIMS.OperationAanesthesia { try { - if (NowRoom == null) return; + if (((TimeSpan)(DateTime.Now - _record.lastPageBegin)).TotalHours > 24 || NowRoom == null) return; + if (_record != null && _record.OutRoomTime != null && DateTime.Now > _record.OutRoomTime) return; ShowMonitorDataToRight(); } catch (Exception ex) @@ -940,61 +931,74 @@ namespace AIMS.OperationAanesthesia #region 公共方法 private void ReviewEvent() { - if (PatientId != 0) + try { - templateManage.OpeRecord = BOperationRecord.getRecord(_record, PatientId, RecoverId); - templateManage.BindOperationRecordValueAll(templateManage.OpeRecord); - reDrawEvent(); - templateManage.Bind(); - - if (_record.InstrumentList.ApplianceUseType != null && _record.InstrumentList.ApplianceUseType != "") + if (PatientId != 0) { - txtInstrumentNurse.Text = _record.InstrumentList.InstrumentNurse; - txtTourNurse.Text = _record.InstrumentList.TourNurse; - txtRemark.Text = _record.InstrumentList.Remark; - LoadOperationGoodsBillRecord(); - } - else - { - FirstbtnEnter(); - } + templateManage.OpeRecord = BOperationRecord.getRecord(_record, PatientId, RecoverId); + templateManage.BindOperationRecordValueAll(templateManage.OpeRecord); + reDrawEvent(); + templateManage.Bind(); - SelectOperationDoctorData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 1); - if (SelectOperationDoctorData.Count > 0) - { - txtOperationDoctor.Text = ""; - - foreach (int RowId in SelectOperationDoctorData) + if (_record.InstrumentList != null && _record.InstrumentList.Id != null && _record.InstrumentList.ApplianceUseType != null) { - txtOperationDoctor.Text += BPerson.SelectSingle(RowId).Name + ","; + txtInstrumentNurse.Text = _record.InstrumentList.InstrumentNurse; + txtTourNurse.Text = _record.InstrumentList.TourNurse; + txtRemark.Text = _record.InstrumentList.Remark; + LoadOperationGoodsBillRecord(); } - txtOperationDoctor.Text = txtOperationDoctor.Text.Substring(0, txtOperationDoctor.Text.LastIndexOf(",")); - } - - SelectInstrumentNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 6); - if (SelectInstrumentNurseData.Count > 0) - { - txtInstrumentNurse.Text = ""; - - foreach (int RowId in SelectInstrumentNurseData) + else { - txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ","; + FirstbtnEnter(); } - txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, txtInstrumentNurse.Text.LastIndexOf(",")); - } - SelectTourNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 7); - if (SelectTourNurseData.Count > 0) - { - txtTourNurse.Text = ""; - foreach (int RowId in SelectTourNurseData) + if (_record.InstrumentList2 != null && _record.InstrumentList2.Id != null) { - txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + ","; + txtInstrumentNurse2.Text = _record.InstrumentList2.InstrumentNurse; + txtTourNurse2.Text = _record.InstrumentList2.TourNurse; + txtRemark2.Text = _record.InstrumentList2.Remark; + LoadOperationGoodsBillRecord2(); } - txtTourNurse.Text = txtTourNurse.Text.Substring(0, txtTourNurse.Text.LastIndexOf(",")); - } - zgcAnaesRecord.Refresh(); + SelectOperationDoctorData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 1); + if (SelectOperationDoctorData.Count > 0) + { + txtOperationDoctor.Text = ""; + + foreach (int RowId in SelectOperationDoctorData) + { + txtOperationDoctor.Text += BPerson.SelectSingle(RowId).Name + ","; + } + txtOperationDoctor.Text = txtOperationDoctor.Text.Substring(0, txtOperationDoctor.Text.LastIndexOf(",")); + } + + SelectInstrumentNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 6); + if (SelectInstrumentNurseData.Count > 0) + { + txtInstrumentNurse.Text = ""; + + foreach (int RowId in SelectInstrumentNurseData) + { + txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ","; + } + txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, txtInstrumentNurse.Text.LastIndexOf(",")); + } + + SelectTourNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 7); + if (SelectTourNurseData.Count > 0) + { + txtTourNurse.Text = ""; + foreach (int RowId in SelectTourNurseData) + { + txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + ","; + } + txtTourNurse.Text = txtTourNurse.Text.Substring(0, txtTourNurse.Text.LastIndexOf(",")); + } + } + } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); } } @@ -1154,7 +1158,9 @@ namespace AIMS.OperationAanesthesia } public void ClearRecordDate() { - panel8.VerticalScroll.Value = 0; + _applianceUseType = null; + _applianceUseType2 = null; + panel8.VerticalScroll.Value = 0; //清空记录点并重新加载 ClearTimeText(); //关闭采集的服务 @@ -1172,7 +1178,12 @@ namespace AIMS.OperationAanesthesia if (templateManage != null) { templateManage.ControlClear(); - } + } + txtRemark.Text = ""; + txtInstrumentNurse.Text = ""; + txtTourNurse.Text = ""; + txtOperationDoctor.Text = ""; + panelQXList.Controls.Clear(); _record = null; } #endregion @@ -1224,53 +1235,74 @@ namespace AIMS.OperationAanesthesia #region 加载手术手术清点单记录信息 private void LoadOperationGoodsBillRecord() { - if (_record.InstrumentList.ApplianceUseType != null && _record.InstrumentList.ApplianceUseType != "") _applianceUseType = BApplianceUseType.Select(" id in (" + _record.InstrumentList.ApplianceUseType + ")", null, RecursiveType.None, 0); + if (_record.InstrumentList != null && _record.InstrumentList.Id != null) + { + if (_record.InstrumentList.ApplianceUseType != null && _record.InstrumentList.ApplianceUseType != "") _applianceUseType = BApplianceUseType.Select(" id in (" + _record.InstrumentList.ApplianceUseType + ")", null, RecursiveType.None, 0); - if (_applianceUseType == null || _applianceUseType.Count == 0) - { - _applianceUseType = new List(); - _appliance = BAppliance.GetApplianiceByIds(""); - } - else - { - DataTable newDataTable = null; - _appliance = BAppliance.GetApplianiceNumberByIds(_applianceUseType[0].TheApplianceId, _applianceUseType[0].ApplianceNumber); - newDataTable = _appliance.Clone(); - foreach (ApplianceUseType item in _applianceUseType) + if (_applianceUseType == null || _applianceUseType.Count == 0) { - DataTable dt = BAppliance.GetApplianiceNumberByIds(item.TheApplianceId, item.ApplianceNumber); - object[] obj = new object[newDataTable.Columns.Count]; - //添加DataTable1的数据 - for (int i = 0; i < dt.Rows.Count; i++) - { - dt.Rows[i].ItemArray.CopyTo(obj, 0); - newDataTable.Rows.Add(obj); - } + _applianceUseType = new List(); + _appliance = BAppliance.GetApplianiceByIds(""); } - _appliance = newDataTable; + else + { + DataTable newDataTable = null; + _appliance = BAppliance.GetApplianiceNumberByIds(_applianceUseType[0].TheApplianceId, _applianceUseType[0].ApplianceNumber); + newDataTable = _appliance.Clone(); + foreach (ApplianceUseType item in _applianceUseType) + { + DataTable dt = BAppliance.GetApplianiceNumberByIds(item.TheApplianceId, item.ApplianceNumber); + object[] obj = new object[newDataTable.Columns.Count]; + //添加DataTable1的数据 + for (int i = 0; i < dt.Rows.Count; i++) + { + dt.Rows[i].ItemArray.CopyTo(obj, 0); + newDataTable.Rows.Add(obj); + } + } + _appliance = newDataTable; + } + if (_appliance != null) + FullUcControlsToPanel(panelQXList, _appliance, _record.InstrumentList, i1, j1); + } + } + private void LoadOperationGoodsBillRecord2() + { + if (_record.InstrumentList2 != null && _record.InstrumentList2.Id != null) + { + if (_record.InstrumentList2.ApplianceUseType != null && _record.InstrumentList2.ApplianceUseType != "") _applianceUseType2 = BApplianceUseType.Select(" id in (" + _record.InstrumentList2.ApplianceUseType + ")", null, RecursiveType.None, 0); + + if (_applianceUseType2 == null || _applianceUseType2.Count == 0) + { + _applianceUseType2 = new List(); + _appliance2 = BAppliance.GetApplianiceByIds(""); + } + else + { + DataTable newDataTable = null; + _appliance2 = BAppliance.GetApplianiceNumberByIds(_applianceUseType2[0].TheApplianceId, _applianceUseType2[0].ApplianceNumber); + newDataTable = _appliance2.Clone(); + foreach (ApplianceUseType item in _applianceUseType2) + { + DataTable dt = BAppliance.GetApplianiceNumberByIds(item.TheApplianceId, item.ApplianceNumber); + object[] obj = new object[newDataTable.Columns.Count]; + //添加DataTable1的数据 + for (int i = 0; i < dt.Rows.Count; i++) + { + dt.Rows[i].ItemArray.CopyTo(obj, 0); + newDataTable.Rows.Add(obj); + } + } + _appliance2 = newDataTable; + } + if (_appliance2 != null) + FullUcControlsToPanel(panelQXList2, _appliance2, _record.InstrumentList2, i2, j2); } - if (_appliance != null) - FullUcControlsToPanel(panelQXList, _appliance); } #endregion - #region 选择器械包 - private void btnEnter_Click(object sender, EventArgs e) - { - if (_applianceUseType == null) - _applianceUseType = new List(); - frmSelectApplianceUseType ReturnApply = new frmSelectApplianceUseType(); - ReturnApply._SelectApplianceUseType = _applianceUseType; - DialogResult ddr = ReturnApply.ShowDialog(); - _appliance = ReturnApply._appliance; - if (ddr == System.Windows.Forms.DialogResult.OK && _appliance != null) - { - FullUcControlsToPanel(panelQXList, _appliance); - //if (_appliance.Rows.Count > 60) - // MessageBox.Show("超出打印数量!"); - } - } + #region 选择器械包 private void FirstbtnEnter() { if (_applianceUseType == null) @@ -1296,13 +1328,14 @@ namespace AIMS.OperationAanesthesia } } _appliance = newDataTable; - FullUcControlsToPanel(panelQXList, _appliance); + FullUcControlsToPanel(panelQXList, _appliance, _record.InstrumentList, i1, j1); } } #endregion #region 加载物品控件 - int i = 0, j = 0; + int i1 = 0, j1 = 0; + int i2 = 0, j2 = 0; int Incount = 0; int IncRowsount = 25; /// @@ -1310,7 +1343,7 @@ namespace AIMS.OperationAanesthesia /// /// 指定的Panel /// 物品数据表 - private void FullUcControlsToPanel(Panel panel, DataTable dt) + private void FullUcControlsToPanel(Panel panel, DataTable dt, OperationRecordInstrumentList Instrument, int i, int j) { i = 0; j = 0; Incount = 0; panel.Controls.Clear(); @@ -1319,9 +1352,9 @@ namespace AIMS.OperationAanesthesia if (Incount >= 51) break; ApplianceRecord applic = null; - if (_record.InstrumentList.ApplianceRecordList != null && _record.InstrumentList.ApplianceRecordList.Count > 0) + if (Instrument.ApplianceRecordList != null && Instrument.ApplianceRecordList.Count > 0) { - foreach (ApplianceRecord app in _record.InstrumentList.ApplianceRecordList) + foreach (ApplianceRecord app in Instrument.ApplianceRecordList) { if (app.ApplianceId != null && app.ApplianceId == Convert.ToInt32(dr["Id"])) { @@ -1352,9 +1385,9 @@ namespace AIMS.OperationAanesthesia i++; } } - if (_record.InstrumentList.ApplianceRecordList != null && _record.InstrumentList.ApplianceRecordList.Count > 0) + if (Instrument.ApplianceRecordList != null && Instrument.ApplianceRecordList.Count > 0) { - foreach (ApplianceRecord app in _record.InstrumentList.ApplianceRecordList) + foreach (ApplianceRecord app in Instrument.ApplianceRecordList) { if (Incount >= 51) break; @@ -1381,26 +1414,47 @@ namespace AIMS.OperationAanesthesia } } } - this.panelQXList.Height = new UCOperationGoodsBill5().Height * IncRowsount; + panel.Height = new UCOperationGoodsBill5().Height * IncRowsount; } private void button1_Click(object sender, EventArgs e) { - ApplianceRecord app = new ApplianceRecord(); - app.OperationRecordId = _record.Id.Value; - UCOperationGoodsBill5 uc = new UCOperationGoodsBill5(app); - uc.SelectTextBoxEvent += Uc_SelectTextBoxEvent; - uc.lblGoodsName.ReadOnly = false; - uc.GoodsNumber = ""; - uc.Location = new Point((uc.Width) * i, (uc.Height - 1) * j); - count++; - if (_record.InstrumentList.ApplianceRecordList != null) _record.InstrumentList.ApplianceRecordList.Add(app); - panelQXList.Controls.Add(uc); - j++; - if (j == 25) + if (superTabMain.SelectedTab.Name == "spTabQXQDD") { - j = 0; - i++; + ApplianceRecord app = new ApplianceRecord(); + app.OperationRecordId = _record.Id.Value; + UCOperationGoodsBill5 uc = new UCOperationGoodsBill5(app); + uc.SelectTextBoxEvent += Uc_SelectTextBoxEvent; + uc.lblGoodsName.ReadOnly = false; + uc.GoodsNumber = ""; + uc.Location = new Point((uc.Width) * i1, (uc.Height - 1) * j1); + if (_record.InstrumentList.ApplianceRecordList != null) _record.InstrumentList.ApplianceRecordList.Add(app); + panelQXList.Controls.Add(uc); + j1++; + if (j1 == 25) + { + j1 = 0; + i1++; + } + } + else + { + ApplianceRecord app = new ApplianceRecord(); + app.OperationRecordId = _record.Id.Value; + UCOperationGoodsBill5 uc = new UCOperationGoodsBill5(app); + uc.SelectTextBoxEvent += Uc_SelectTextBoxEvent; + uc.lblGoodsName.ReadOnly = false; + uc.GoodsNumber = ""; + uc.Location = new Point((uc.Width) * i2, (uc.Height - 1) * j2); + if (_record.InstrumentList2.ApplianceRecordList != null) _record.InstrumentList2.ApplianceRecordList.Add(app); + panelQXList2.Controls.Add(uc); + j2++; + if (j2 == 25) + { + j2 = 0; + i2++; + } + } } @@ -1510,7 +1564,44 @@ namespace AIMS.OperationAanesthesia BApplianceRecord.InsertListData(_record.InstrumentList.ApplianceRecordList); DBManage.AddPerson(_record, SelectOperationDoctorData, 1); DBManage.AddPerson(_record, SelectInstrumentNurseData, 6); - DBManage.AddPerson(_record, SelectTourNurseData, 7); + DBManage.AddPerson(_record, SelectTourNurseData, 7); + + if (_applianceUseType2 != null) + { + if (_record.InstrumentList2 == null) + { + _record.InstrumentList2 = new OperationRecordInstrumentList(); + } + _record.InstrumentList2.OperationRecordId = this._record.Id; + if (_applianceUseType2 != null) + { + List list = new List(); + foreach (ApplianceUseType item in _applianceUseType2) + { + list.Add(item.Id.Value); + } + _record.InstrumentList2.ApplianceUseType = string.Join(",", list.ToArray()); + } + _record.InstrumentList2.TagPicture = "";// Convert.ToBase64String(PublicToDoument.ImageToBytes(pictureBox1.Image)); + _record.InstrumentList2.JsonTextData = "";// PublicToDoument.SerializeControl(panel18, _record, new List ()); + _record.InstrumentList2.InstrumentNurse = txtInstrumentNurse2.Text; + _record.InstrumentList2.TourNurse = txtTourNurse2.Text; + _record.InstrumentList2.Remark = txtRemark2.Text; + _record.InstrumentList2.OperatorNo = PublicMethod.OperatorNo; + _record.InstrumentList2.OperatorName = PublicMethod.OperatorName; + _record.InstrumentList2.OperateDate = DateTime.Now; + if (_record.InstrumentList2.Id == null || _record.InstrumentList2.Id == 0) + { + _record.InstrumentList2.Id = BOperationRecordInstrumentList.Insert(_record.InstrumentList2); + } + else + { + BOperationRecordInstrumentList.Update(_record.InstrumentList2); + } + _record.InstrumentList2.ApplianceRecordList = GetApplianceRecord2(); + BApplianceRecord.InsertListData(_record.InstrumentList2.ApplianceRecordList); + } + } @@ -1523,6 +1614,47 @@ namespace AIMS.OperationAanesthesia private void superTabMain_SelectedTabChanged(object sender, DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs e) { + if (superTabMain.SelectedTab.Name == "spTabQXQDD2") + { + labdept.Text = _record.ApplyDepartmentName; + labpname.Text = _record.Name; + labsex.Text = _record.Sex; + labage.Text = _record.Age; + labopdate.Text = _record.OperationDate; + labmno.Text = _record.OperationDate; + labroom.Text = BOperationRoom.SelectSingle(_record.RoomId).Name; + + txtOperation.Text = ""; + SelectOperationData = BFactOperationInfo.GetFactOperationInfoIdList(_record.PatientId.Value); + foreach (int RowId in SelectOperationData) + { + txtOperation.Text += BOperation.SelectSingle(RowId).Name + " ,"; + } + if (txtOperation.Text != "") txtOperation.Text = txtOperation.Text.Substring(0, txtOperation.Text.LastIndexOf(" ,")); + + + txtOperationPosition.Text = ""; + SelectOperationPositionData = BFactOperationPosition.GetFactOperationPositionIdList(_record.PatientId.Value); + foreach (int RowId in SelectOperationPositionData) + { + txtOperationPosition.Text += BOperationPosition.SelectSingle(RowId).Name + " ,"; + } + if (txtOperationPosition.Text != "") txtOperationPosition.Text = txtOperationPosition.Text.Substring(0, txtOperationPosition.Text.LastIndexOf(" ,")); + + txtOperationDoctor2.Text = txtOperationDoctor.Text; + txtInstrumentNurse2.Text = txtInstrumentNurse.Text; + txtTourNurse2.Text = txtTourNurse.Text; + } + else + { + templateManage.OpeRecord = BOperationRecord.getRecord(_record, PatientId, RecoverId); + templateManage.BindOperationRecordValueAll(templateManage.OpeRecord); + templateManage.Bind(); + zgcAnaesRecord.Refresh(); + txtOperationDoctor.Text = txtOperationDoctor2.Text; + txtInstrumentNurse.Text = txtInstrumentNurse2.Text; + txtTourNurse.Text = txtTourNurse2.Text; + } } /// @@ -1545,7 +1677,7 @@ namespace AIMS.OperationAanesthesia applianceRecord.OperationRecordId = this._record.Id; applianceRecord.ApplianceId = UCOperationGoodsBill5.GoodsId; applianceRecord.ApplianceName = UCOperationGoodsBill5.GoodsName; - if (_record.InstrumentList != null) + if (_record.InstrumentList != null && _record.InstrumentList.Id != null) { applianceRecord.OperationGoodsBillRecord = _record.InstrumentList.Id; } @@ -1569,6 +1701,46 @@ namespace AIMS.OperationAanesthesia } return applianceRecordList; } + private List GetApplianceRecord2() + { + List applianceRecordList = new List(); + foreach (Control ctl in panelQXList2.Controls) + { + ApplianceRecord applianceRecord = new ApplianceRecord(); + if (ctl is UCOperationGoodsBill5) + { + UCOperationGoodsBill5 UCOperationGoodsBill5 = ctl as UCOperationGoodsBill5; + if (UCOperationGoodsBill5.Id != null) + { + applianceRecord.Id = UCOperationGoodsBill5.Id; + } + applianceRecord.OperationRecordId = this._record.Id; + applianceRecord.ApplianceId = UCOperationGoodsBill5.GoodsId; + applianceRecord.ApplianceName = UCOperationGoodsBill5.GoodsName; + if (_record.InstrumentList2 != null && _record.InstrumentList2.Id != null) + { + applianceRecord.OperationGoodsBillRecord = _record.InstrumentList2.Id; + } + if (UCOperationGoodsBill5.txtFront.Text != "") + applianceRecord.OpeFront = UCOperationGoodsBill5.OpeFront; + else applianceRecord.OpeFront = null; + if (UCOperationGoodsBill5.txtDoing.Text != "") + applianceRecord.OpeDoing = UCOperationGoodsBill5.OpeDoing; + else applianceRecord.OpeDoing = null; + if (UCOperationGoodsBill5.txtCloseFront.Text != "") + applianceRecord.CloseFront = UCOperationGoodsBill5.CloseFront; + else applianceRecord.CloseFront = null; + if (UCOperationGoodsBill5.txtCloseLast.Text != "") + applianceRecord.CloseLast = UCOperationGoodsBill5.CloseLast; + else applianceRecord.CloseLast = null; + if (UCOperationGoodsBill5.txtSkinCloseLast.Text != "") + applianceRecord.SkinCloseLast = UCOperationGoodsBill5.SkinCloseLast; + else applianceRecord.SkinCloseLast = null; + applianceRecordList.Add(applianceRecord); + } + } + return applianceRecordList; + } #endregion #endregion @@ -1654,13 +1826,8 @@ namespace AIMS.OperationAanesthesia { zgcAnaesRecord.Focus(); } - if (templateManage != null) - { - _record.InstrumentList.ApplianceRecordList = GetApplianceRecord(); - _record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text; - _record.InstrumentList.TourNurse = txtTourNurse.Text; - _record.InstrumentList.Remark = txtRemark.Text; - } + SaveInstrument(sender); + mPanes = new List(); UpPanes = new List(); PrintDocPage(null, null); @@ -1703,6 +1870,7 @@ namespace AIMS.OperationAanesthesia pdg.Focus(); pdg.BringToFront(); + plRefresh_Click(null, null); } private void PageSetting_Click(object sender, EventArgs e) { @@ -1711,8 +1879,30 @@ namespace AIMS.OperationAanesthesia private void PrintDocPage(object sender, PrintPageEventArgs e) { - PrintDocPane(e, zgcAnaesRecord, templateManage); + if (templateManage != null) + { + if (superTabMain.SelectedTab.Name == "spTabQXQDD") + { + _record.InstrumentList.ApplianceRecordList = GetApplianceRecord(); + _record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text; + _record.InstrumentList.TourNurse = txtTourNurse.Text; + _record.InstrumentList.Remark = txtRemark.Text; + PrintDocPane(e, zgcAnaesRecord, templateManage); + } + else + { + if (_record.InstrumentList2 != null && _record.InstrumentList2.Id != null) + { + _record.InstrumentList = _record.InstrumentList2; + _record.InstrumentList.ApplianceRecordList = GetApplianceRecord2(); + //_record.InstrumentList.InstrumentNurse = txtInstrumentNurse2.Text; + //_record.InstrumentList.TourNurse = txtTourNurse2.Text; + _record.InstrumentList.Remark = txtRemark2.Text; + PrintDocPane(e, zgcAnaesRecord, templateManage); + } + } + } } private void PrintDocPane(PrintPageEventArgs e, ZedGraphControl zedGraph, TemplateManage template) @@ -1794,10 +1984,11 @@ namespace AIMS.OperationAanesthesia int idxStart = txtTourNurse.Text.LastIndexOf(","); txtTourNurse.Text = txtTourNurse.Text.Substring(0, idxStart); } + txtTourNurse2.Text = txtTourNurse.Text; } - private PublicUI.UI.frmSelectPerson frmInstrumentNurse; private List SelectInstrumentNurseData = new List(); //一助 + private PublicUI.UI.frmSelectPerson frmInstrumentNurse; private void txtInstrumentNurse_Click(object sender, EventArgs e) { frmInstrumentNurse = new PublicUI.UI.frmSelectPerson(); @@ -1821,6 +2012,7 @@ namespace AIMS.OperationAanesthesia int idxStart = txtInstrumentNurse.Text.LastIndexOf(","); txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, idxStart); } + txtInstrumentNurse2.Text = txtInstrumentNurse.Text; } private PublicUI.UI.frmSelectPerson frmOperationDoctor; @@ -1832,7 +2024,7 @@ namespace AIMS.OperationAanesthesia frmOperationDoctor.SelectDepartmentName = _record.ApplyDepartmentName; frmOperationDoctor.SelectPersonData = SelectOperationDoctorData; frmOperationDoctor.FormClosed += new FormClosedEventHandler(frmOperationDoctor_FormClosed); - frmOperationDoctor.ShowDialog(); + frmOperationDoctor.ShowDialog(); } void frmOperationDoctor_FormClosed(object sender, FormClosedEventArgs e) @@ -1848,6 +2040,7 @@ namespace AIMS.OperationAanesthesia int idxStart = txtOperationDoctor.Text.LastIndexOf(","); txtOperationDoctor.Text = txtOperationDoctor.Text.Substring(0, idxStart); } + txtOperationDoctor2.Text = txtOperationDoctor.Text; } /// @@ -1867,16 +2060,18 @@ namespace AIMS.OperationAanesthesia { controlTextBox.Text = BPerson.GetModel(RowId).Name; } - //if (controlTextBox.Text != "") - //{ - // int idxStart = controlTextBox.Text.LastIndexOf(","); - // controlTextBox.Text = controlTextBox.Text.Substring(0, idxStart); - //} } private void button9_Click(object sender, EventArgs e) { - TextBoxAddEventSources(panelQX, @"/"); + if (superTabMain.SelectedTab.Name == "spTabQXQDD") + { + TextBoxAddEventSources(panelQX, @"/"); + } + else + { + TextBoxAddEventSources(panelQX2, @"/"); + } } private void TextBoxAddEventSources(Control _panel, string TextValue) @@ -1909,13 +2104,63 @@ namespace AIMS.OperationAanesthesia } } + private PublicUI.UI.frmOperationPosition frmOperationPosition; + private List SelectOperationPositionData = new List(); //手术部位 + private void txtOperationPosition_DoubleClick(object sender, EventArgs e) + { + frmOperationPosition = new PublicUI.UI.frmOperationPosition(); + frmOperationPosition.FormClosed += new FormClosedEventHandler(frmOperationPosition_FormClosed); + frmOperationPosition.SelectOperationPositionData = SelectOperationPositionData; + frmOperationPosition.ShowDialog(); + } + + void frmOperationPosition_FormClosed(object sender, FormClosedEventArgs e) + { + txtOperationPosition.Text = ""; + if (frmOperationPosition.SelectOperationPositionData.Count > 0) + { + SelectOperationPositionData = frmOperationPosition.SelectOperationPositionData; + foreach (int RowId in frmOperationPosition.SelectOperationPositionData) + { + txtOperationPosition.Text += BOperationPosition.SelectSingle(RowId).Name + " ,"; + } + int idxStart = txtOperationPosition.Text.LastIndexOf(" ,"); + txtOperationPosition.Text = txtOperationPosition.Text.Substring(0, idxStart); + } + DBManage.AddOperationPosition(_record, SelectOperationPositionData); + } + private PublicUI.UI.frmSelectOperation frmOperation; + private List SelectOperationData = new List(); //手术 + private void txtOperation_DoubleClick(object sender, EventArgs e) + { + frmOperation = new PublicUI.UI.frmSelectOperation(); + frmOperation.FormClosed += new FormClosedEventHandler(frmOperation_FormClosed); + frmOperation.SelectRightData = SelectOperationData; + frmOperation.ShowDialog(); + } + + void frmOperation_FormClosed(object sender, FormClosedEventArgs e) + { + txtOperation.Text = ""; + if (frmOperation.SelectRightData.Count > 0) + { + SelectOperationData = frmOperation.SelectRightData; + foreach (int RowId in frmOperation.SelectRightData) + { + txtOperation.Text += BOperation.SelectSingle(RowId).Name + " ,"; + } + int idxStart = txtOperation.Text.LastIndexOf(" ,"); + txtOperation.Text = txtOperation.Text.Substring(0, idxStart); + } + DBManage.AddOperation(_record, SelectOperationData); + } private void frmAnasRecordInstrument_VisibleChanged(object sender, EventArgs e) { if (this.Visible == false) { - panel8.VerticalScroll.Value = 0; + panel8.VerticalScroll.Value = 0; if (templateManage != null) - templateManage.SetPYL(); + templateManage.SetPYL(); if (_record != null && _record.StateName == "手术中" && State != AIMSExtension.EditState.BROWSE) { DisposeTimer(); @@ -1940,13 +2185,6 @@ namespace AIMS.OperationAanesthesia } SaveInstrument(sender); - if (templateManage != null) - { - _record.InstrumentList.ApplianceRecordList = GetApplianceRecord(); - _record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text; - _record.InstrumentList.TourNurse = txtTourNurse.Text; - _record.InstrumentList.Remark = txtRemark.Text; - } try { mPanes = new List(); @@ -1973,6 +2211,8 @@ namespace AIMS.OperationAanesthesia { pDoc.Print(); } + + plRefresh_Click(null, null); } catch (Exception exp) { diff --git a/AIMS/OperationAanesthesia/frmSelectPatientNew2.Designer.cs b/AIMS/OperationAanesthesia/frmSelectPatientNew2.Designer.cs index 4f2fee1..0e29033 100644 --- a/AIMS/OperationAanesthesia/frmSelectPatientNew2.Designer.cs +++ b/AIMS/OperationAanesthesia/frmSelectPatientNew2.Designer.cs @@ -69,12 +69,12 @@ this.txtType = new System.Windows.Forms.Label(); this.label3 = new System.Windows.Forms.Label(); this.groupBox2 = new System.Windows.Forms.GroupBox(); - this.panel3 = new System.Windows.Forms.Panel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.buttonX2 = new DevComponents.DotNetBar.ButtonX(); this.panel1.SuspendLayout(); this.groupBox1.SuspendLayout(); this.panel2.SuspendLayout(); this.groupBox2.SuspendLayout(); - this.panel3.SuspendLayout(); this.SuspendLayout(); // // panel1 @@ -229,6 +229,7 @@ // panel2 // this.panel2.AutoScroll = true; + this.panel2.Controls.Add(this.buttonX2); this.panel2.Controls.Add(this.buttonX1); this.panel2.Controls.Add(this.txtState); this.panel2.Controls.Add(this.txttime); @@ -526,8 +527,18 @@ this.panel3.Size = new System.Drawing.Size(1029, 499); this.panel3.TabIndex = 0; // - // line1 + // buttonX2 // + this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.buttonX2.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.buttonX2.Location = new System.Drawing.Point(888, 14); + this.buttonX2.Name = "buttonX2"; + this.buttonX2.Size = new System.Drawing.Size(95, 54); + this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.buttonX2.TabIndex = 7; + this.buttonX2.Text = "切换手术间"; + this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click); // // frmSelectPatientNew2 // @@ -550,7 +561,6 @@ this.panel2.ResumeLayout(false); this.panel2.PerformLayout(); this.groupBox2.ResumeLayout(false); - this.panel3.ResumeLayout(false); this.ResumeLayout(false); } @@ -598,5 +608,6 @@ private DevComponents.DotNetBar.Controls.TextBoxX txtquery; private DevComponents.DotNetBar.ButtonX btnQuery; private System.Windows.Forms.Label label4; + private DevComponents.DotNetBar.ButtonX buttonX2; } } \ No newline at end of file diff --git a/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs b/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs index 89f44b9..e2fb9cf 100644 --- a/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs +++ b/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs @@ -271,7 +271,7 @@ namespace AIMS.OperationAanesthesia if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null) { frmAnasRecord = tempfrmAnasRecord; - frmAnasRecord.ClearRecordDate(); + frmAnasRecord.ClearRecordDate(); } else { @@ -297,9 +297,7 @@ namespace AIMS.OperationAanesthesia FillDgv(); } else - { - //if (frmAnasRecord._record != null) - // frmAnasRecord.ClearRecordDate(); + { this.Close(); } @@ -310,7 +308,7 @@ namespace AIMS.OperationAanesthesia if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null) { frmAnasRecord = tempfrmAnasRecord; - frmAnasRecord.ClearRecordDate(); + frmAnasRecord.ClearRecordDate(); } else { @@ -334,9 +332,7 @@ namespace AIMS.OperationAanesthesia FillDgv(); } else - { - //if (tempfrmAnasRecord._record != null) - // tempfrmAnasRecord.ClearRecordDate(); + { this.Close(); } } @@ -517,5 +513,28 @@ namespace AIMS.OperationAanesthesia { FillDgv(); } + + private void buttonX2_Click(object sender, EventArgs e) + { + string RoomStr = txtRoom.Tag.ToString(); + if (RoomStr != "") + { + frmSeleteRoom seleteRoom = new frmSeleteRoom(); + seleteRoom.NowRoomId = RoomStr; + seleteRoom.ShowDialog(); + RoomStr = seleteRoom.RoomId; + if (RoomStr != null && RoomStr != "") + { + txtRoom.Text = seleteRoom.RoomName; + txtRoom.Tag = int.Parse(RoomStr); + BOperationRecord.Update("RoomId=@RoomId where OperationApplyId=@id ", new AIMSModel.ParameterList("@RoomId", int.Parse(RoomStr), "@id", SelApplyId)); + BOperationApply.UpdateApplyRoom(SelApplyId, int.Parse(RoomStr), DateTime.Parse(txttime.Text)); + BOperationApply.UpdteOperationOrder(DateTime.Parse(txttime.Text), int.Parse(RoomStr)); + FillDgv(); + panel2.Visible = true; + MessageBox.Show("手术间切换成功!"); + } + } + } } } \ No newline at end of file diff --git a/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.Designer.cs b/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.Designer.cs new file mode 100644 index 0000000..7e67e55 --- /dev/null +++ b/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.Designer.cs @@ -0,0 +1,134 @@ +namespace AIMS.OperationAanesthesia.oldSystemCode +{ + partial class frmPrescriptionDocument + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.toolStrip1 = new System.Windows.Forms.ToolStrip(); + this.tsbAdd = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbSava = new System.Windows.Forms.ToolStripButton(); + this.toolStripSeparator4 = new System.Windows.Forms.ToolStripSeparator(); + this.tsbExit = new System.Windows.Forms.ToolStripButton(); + this.panel1 = new System.Windows.Forms.Panel(); + this.toolStrip1.SuspendLayout(); + this.SuspendLayout(); + // + // toolStrip1 + // + this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F); + this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25); + this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { + this.tsbSava, + this.toolStripSeparator1, + this.tsbAdd, + this.toolStripSeparator4, + this.tsbExit}); + this.toolStrip1.Location = new System.Drawing.Point(0, 0); + this.toolStrip1.Name = "toolStrip1"; + this.toolStrip1.Size = new System.Drawing.Size(544, 49); + this.toolStrip1.TabIndex = 9; + this.toolStrip1.Text = "toolStrip1"; + // + // tsbAdd + // + this.tsbAdd.Font = new System.Drawing.Font("微软雅黑", 9F); + this.tsbAdd.Image = global::AIMS.Properties.Resources.图标_打印; + this.tsbAdd.ImageTransparentColor = System.Drawing.Color.Transparent; + this.tsbAdd.Name = "tsbAdd"; + this.tsbAdd.Size = new System.Drawing.Size(44, 46); + this.tsbAdd.Text = " 打印"; + this.tsbAdd.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + // + // toolStripSeparator1 + // + this.toolStripSeparator1.Name = "toolStripSeparator1"; + this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49); + // + // tsbSava + // + this.tsbSava.Font = new System.Drawing.Font("微软雅黑", 9F); + this.tsbSava.Image = global::AIMS.Properties.Resources.图标_保存; + this.tsbSava.ImageTransparentColor = System.Drawing.Color.Transparent; + this.tsbSava.Name = "tsbSava"; + this.tsbSava.Size = new System.Drawing.Size(52, 46); + this.tsbSava.Text = " 保存 "; + this.tsbSava.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + // + // toolStripSeparator4 + // + this.toolStripSeparator4.Name = "toolStripSeparator4"; + this.toolStripSeparator4.Size = new System.Drawing.Size(6, 49); + // + // tsbExit + // + this.tsbExit.Font = new System.Drawing.Font("微软雅黑", 9F); + this.tsbExit.Image = global::AIMS.Properties.Resources.图标_关闭窗口; + this.tsbExit.ImageTransparentColor = System.Drawing.Color.Transparent; + this.tsbExit.Name = "tsbExit"; + this.tsbExit.Size = new System.Drawing.Size(52, 46); + this.tsbExit.Text = " 关闭 "; + this.tsbExit.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; + // + // panel1 + // + this.panel1.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel1.Location = new System.Drawing.Point(0, 49); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(544, 712); + this.panel1.TabIndex = 10; + // + // frmPrescriptionDocument + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.ClientSize = new System.Drawing.Size(544, 761); + this.Controls.Add(this.panel1); + this.Controls.Add(this.toolStrip1); + this.Name = "frmPrescriptionDocument"; + this.ShowIcon = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "处方单打印"; + this.Load += new System.EventHandler(this.frmPrescriptionDocument_Load); + this.toolStrip1.ResumeLayout(false); + this.toolStrip1.PerformLayout(); + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + public System.Windows.Forms.ToolStrip toolStrip1; + private System.Windows.Forms.ToolStripButton tsbSava; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; + private System.Windows.Forms.ToolStripButton tsbAdd; + private System.Windows.Forms.ToolStripSeparator toolStripSeparator4; + public System.Windows.Forms.ToolStripButton tsbExit; + private System.Windows.Forms.Panel panel1; + } +} \ No newline at end of file diff --git a/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.cs b/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.cs new file mode 100644 index 0000000..280c7c5 --- /dev/null +++ b/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.cs @@ -0,0 +1,29 @@ +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.Windows.Forms; + +namespace AIMS.OperationAanesthesia.oldSystemCode +{ + public partial class frmPrescriptionDocument : Form + { + public OperationRecord _operationRecord; + public DataGridViewRow CurrentRow ; + public frmPrescriptionDocument() + { + InitializeComponent(); + } + + private void frmPrescriptionDocument_Load(object sender, EventArgs e) + { + PrescriptionDocument doc = new PrescriptionDocument(_operationRecord, CurrentRow); + doc.Location = new Point(15, 0); + panel1.Controls.Add(doc); + } + } +} diff --git a/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.resx b/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.resx new file mode 100644 index 0000000..5da7a24 --- /dev/null +++ b/AIMS/OperationAanesthesia/oldSystemCode/frmPrescriptionDocument.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.cs b/AIMS/OperationFront/frmOperationSchedulePlan.cs index ebd2fab..0d1db47 100644 --- a/AIMS/OperationFront/frmOperationSchedulePlan.cs +++ b/AIMS/OperationFront/frmOperationSchedulePlan.cs @@ -467,8 +467,8 @@ namespace AIMS.OperationFront.UI this.dgvDetail = new DevComponents.DotNetBar.SuperGrid.SuperGridControl(); this.ctsThisRoom = new System.Windows.Forms.ContextMenuStrip(this.components); this.mnuChangeOptRoomTo = new System.Windows.Forms.ToolStripMenuItem(); - this.mnuCancelINurse = new System.Windows.Forms.ToolStripMenuItem(); this.mnuCancelADoctor = new System.Windows.Forms.ToolStripMenuItem(); + this.mnuCancelINurse = new System.Windows.Forms.ToolStripMenuItem(); this.mnuCancelTNurse = new System.Windows.Forms.ToolStripMenuItem(); this.colId = new DevComponents.DotNetBar.SuperGrid.GridColumn(); this.colTable = new DevComponents.DotNetBar.SuperGrid.GridColumn(); @@ -1748,7 +1748,7 @@ 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, 545); + this.navigationPanePanel2.Size = new System.Drawing.Size(295, 735); 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; @@ -1775,7 +1775,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, 545); + this.groupBox1.Size = new System.Drawing.Size(295, 735); this.groupBox1.TabIndex = 460; this.groupBox1.TabStop = false; this.groupBox1.Text = "ҽʦ"; @@ -1835,7 +1835,7 @@ namespace AIMS.OperationFront.UI 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, 453); + this.dgvWorkers.Size = new System.Drawing.Size(295, 643); this.dgvWorkers.TabIndex = 3; this.dgvWorkers.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvWorkers_CellDoubleClick); // @@ -2193,8 +2193,8 @@ namespace AIMS.OperationFront.UI // // dgvDetail // - this.dgvDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) - | System.Windows.Forms.AnchorStyles.Left) + this.dgvDetail.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) + | System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Right))); this.dgvDetail.BackColor = System.Drawing.SystemColors.Control; this.dgvDetail.ContextMenuStrip = this.ctsThisRoom; @@ -2251,33 +2251,33 @@ namespace AIMS.OperationFront.UI this.mnuCancelINurse, this.mnuCancelTNurse}); this.ctsThisRoom.Name = "ctsThisRoom"; - this.ctsThisRoom.Size = new System.Drawing.Size(181, 114); + this.ctsThisRoom.Size = new System.Drawing.Size(149, 92); this.ctsThisRoom.Opening += new System.ComponentModel.CancelEventHandler(this.ctsThisRoom_Opening); // // mnuChangeOptRoomTo // this.mnuChangeOptRoomTo.Name = "mnuChangeOptRoomTo"; - this.mnuChangeOptRoomTo.Size = new System.Drawing.Size(180, 22); + this.mnuChangeOptRoomTo.Size = new System.Drawing.Size(148, 22); this.mnuChangeOptRoomTo.Text = ""; // - // mnuCancelINurse - // - this.mnuCancelINurse.Name = "mnuCancelINurse"; - this.mnuCancelINurse.Size = new System.Drawing.Size(180, 22); - this.mnuCancelINurse.Text = "ȡϴֻʿ"; - this.mnuCancelINurse.Click += new System.EventHandler(this.mnuCancelINurse_Click); - // // mnuCancelADoctor // this.mnuCancelADoctor.Name = "mnuCancelADoctor"; - this.mnuCancelADoctor.Size = new System.Drawing.Size(180, 22); + this.mnuCancelADoctor.Size = new System.Drawing.Size(148, 22); this.mnuCancelADoctor.Text = "ȡų"; this.mnuCancelADoctor.Click += new System.EventHandler(this.mnuCancelADoctor_Click); // + // mnuCancelINurse + // + this.mnuCancelINurse.Name = "mnuCancelINurse"; + this.mnuCancelINurse.Size = new System.Drawing.Size(148, 22); + this.mnuCancelINurse.Text = "ȡϴֻʿ"; + this.mnuCancelINurse.Click += new System.EventHandler(this.mnuCancelINurse_Click); + // // mnuCancelTNurse // this.mnuCancelTNurse.Name = "mnuCancelTNurse"; - this.mnuCancelTNurse.Size = new System.Drawing.Size(180, 22); + this.mnuCancelTNurse.Size = new System.Drawing.Size(148, 22); this.mnuCancelTNurse.Text = "ȡѲػʿ"; this.mnuCancelTNurse.Click += new System.EventHandler(this.mnuCancelTNurse_Click); // @@ -3593,6 +3593,11 @@ namespace AIMS.OperationFront.UI dgvWorkers.AutoGenerateColumns = false; dgvTourNurse.AutoGenerateColumns = false; dgvInstrumentNurse.AutoGenerateColumns = false; + this.dgvApplyOrDoctor.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvApplyOrDoctor_DataError); + this.dgvWorkers.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvApplyOrDoctor_DataError); + this.dgvInstrumentNurse.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvApplyOrDoctor_DataError); + this.dgvTourNurse.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvApplyOrDoctor_DataError); + this.dgvDetail.DataError += DgvDetail_DataError; for (int i = 0; i < this.dgvWorkers.Columns.Count; i++) { @@ -3617,6 +3622,8 @@ namespace AIMS.OperationFront.UI PublicMethod.WriteLog(ex); } } + + private void frmOperationSchedulePlan_Load(object sender, EventArgs e) { try @@ -4874,5 +4881,13 @@ namespace AIMS.OperationFront.UI } } } + + private void dgvApplyOrDoctor_DataError(object sender, DataGridViewDataErrorEventArgs e) + { + + } + private void DgvDetail_DataError(object sender, GridDataErrorEventArgs e) + { + } } } \ No newline at end of file diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.resx b/AIMS/OperationFront/frmOperationSchedulePlan.resx index da0c0e6..99f0c0e 100644 --- a/AIMS/OperationFront/frmOperationSchedulePlan.resx +++ b/AIMS/OperationFront/frmOperationSchedulePlan.resx @@ -251,7 +251,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAD+ - CAAAAk1TRnQBSQFMAgEBAgEAAcQBEwHEARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo + CAAAAk1TRnQBSQFMAgEBAgEAAcwBEwHMARMBEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5 AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA diff --git a/AIMS/OremrUserControl/PrescriptionDocument.Designer.cs b/AIMS/OremrUserControl/PrescriptionDocument.Designer.cs index 0efbe36..d507690 100644 --- a/AIMS/OremrUserControl/PrescriptionDocument.Designer.cs +++ b/AIMS/OremrUserControl/PrescriptionDocument.Designer.cs @@ -348,8 +348,7 @@ this.txtOrderNo.Name = "txtOrderNo"; this.txtOrderNo.Size = new System.Drawing.Size(120, 16); this.txtOrderNo.TabIndex = 1327; - this.txtOrderNo.Tag = ""; - this.txtOrderNo.DoubleClick += new System.EventHandler(this.txtOrderNo_DoubleClick); + this.txtOrderNo.Tag = ""; // // label29 // diff --git a/AIMS/OremrUserControl/PrescriptionDocument.cs b/AIMS/OremrUserControl/PrescriptionDocument.cs index 8d84c3e..d1958ad 100644 --- a/AIMS/OremrUserControl/PrescriptionDocument.cs +++ b/AIMS/OremrUserControl/PrescriptionDocument.cs @@ -1,8 +1,11 @@ -using AIMSExtension; +using AIMSBLL; +using AIMSExtension; using AIMSModel; +using DCSoftDotfuscate; using DrawGraph; using System; using System.Collections.Generic; +using System.Data; using System.Drawing; using System.Windows.Forms; @@ -12,17 +15,16 @@ namespace AIMS.OperationAanesthesia { public string type; public Drugs Drug; - public OperationRecord _operationRecord; - public List list; + public OperationRecord _operationRecord; public DataGridViewRow CurrentRow; public int DrugCount; - public PrescriptionDocument(OperationRecord operationRecord, DataGridViewRow _CurrentRow ) + public PrescriptionDocument(OperationRecord operationRecord, DataGridViewRow _CurrentRow) { InitializeComponent(); _operationRecord = operationRecord; - - CurrentRow = _CurrentRow; + CurrentRow = _CurrentRow; + Drug = BDrugs.SelectSingle(int.Parse(CurrentRow.Cells[2].Tag.ToString())); InitializeData(); } @@ -31,8 +33,36 @@ namespace AIMS.OperationAanesthesia /// 赋值 /// private void InitializeData() - { - } + { + labID.Text = _operationRecord.Id.ToString(); + if (_operationRecord.PatientType == "门诊") + labMzh.Text = _operationRecord.InHospitalNo; + else + label8.Text = _operationRecord.MedicalHistoryNo; + labPatientName.Text = _operationRecord.Name; + string birth = _operationRecord.Age.ToString(); + labAge.Text = birth; + labSex.Text = _operationRecord.Sex; + try + { + labPatientDesa.Text = DBManage.GetDictionaryValuesById(_operationRecord.Operation, "手术"); + labDepartName.Text = _operationRecord.ApplyDepartmentName; + label19.Text = _operationRecord.Identity; + //uText5.Text = _operationRecord.Remark;// 地址 + labDate.Text = DateTime.Now.ToString("yyyy年MM月dd日"); + labDoctorName.Text = PublicMethod.OperatorName; + this.labDoctorOrderName.Text = Drug.Name; + this.utxtCount.Text = Drug.Stand; + this.uTextUse.Text = "术中"; + this.labWay.Text = CurrentRow.Cells[5].EditedFormattedValue.ToString(); + this.labSpecifications1.Text += Drug.DosageUnit.Trim(); + } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); + } + } + private void flowLayoutPanel1_Paint(object sender, PaintEventArgs e) { Pen pen = new Pen(Color.Black); @@ -40,16 +70,12 @@ namespace AIMS.OperationAanesthesia PointF rowPt2 = new PointF(150, 150); e.Graphics.DrawLine(pen, rowPt1, rowPt2); } - + private void labDate_DoubleClick(object sender, EventArgs e) { labDate.Text = DateTime.Now.ToString("yyyy年MM月dd日"); } - private void txtOrderNo_DoubleClick(object sender, EventArgs e) - { - - } } } diff --git a/AIMS/OremrUserControl/UCOperationGoodsBill5.cs b/AIMS/OremrUserControl/UCOperationGoodsBill5.cs index f7ea434..c7cefe1 100644 --- a/AIMS/OremrUserControl/UCOperationGoodsBill5.cs +++ b/AIMS/OremrUserControl/UCOperationGoodsBill5.cs @@ -222,14 +222,14 @@ namespace AIMS.OremrUserControl app.CloseFront = this.CloseFront; app.CloseLast = this.CloseLast; app.SkinCloseLast = this.SkinCloseLast; - if (app.Id == null) - { - this.Id = BApplianceRecord.Insert(app); - } - else - { - BApplianceRecord.Update(app); - } + //if (app.Id == null) + //{ + // this.Id = BApplianceRecord.Insert(app); + //} + //else + //{ + // BApplianceRecord.Update(app); + //} } private void txt_Leave(object sender, EventArgs e) diff --git a/AIMS/PublicUI/frmOperationPosition.cs b/AIMS/PublicUI/frmOperationPosition.cs index ccf8e53..f18d00a 100644 --- a/AIMS/PublicUI/frmOperationPosition.cs +++ b/AIMS/PublicUI/frmOperationPosition.cs @@ -22,7 +22,7 @@ namespace AIMS.PublicUI.UI { ControlExtension.SetDgvAttribute(dgvOperationPosition); this.txtHelpCode.Text = "简拼/汉字/ICD码"; - dgvOperationPosition.DataSource = BOperationPosition.GetDataTable("IsValid =1"); + dgvOperationPosition.DataSource = BOperationPosition.GetDataTable(); dgvOperationPosition.Select(); @@ -35,8 +35,7 @@ namespace AIMS.PublicUI.UI dgvOperationPosition.Rows[i].Cells["CheckBoxColumn"].Value = true; for (int J = 0; J < dgvOperationPosition.Rows[i].Cells.Count; J++) { - dgvOperationPosition.Rows[i].Cells[J].Style.ForeColor = Color.Red; - + dgvOperationPosition.Rows[i].Cells[J].Style.ForeColor = Color.Red; } } } @@ -46,7 +45,7 @@ namespace AIMS.PublicUI.UI private void btnOk_Click(object sender, EventArgs e) { - // SelectOperationPositionData.Clear(); + //SelectOperationPositionData.Clear(); //for (int i = 0; i < dgvOperationPosition.Rows.Count; i++) //{ // if (Convert.ToBoolean(dgvOperationPosition.Rows[i].Cells["CheckBoxColumn"].EditedFormattedValue) == true) diff --git a/AIMSEntity/BLL/Extension/BOperationRecord.cs b/AIMSEntity/BLL/Extension/BOperationRecord.cs index 1ae0fe9..8744440 100644 --- a/AIMSEntity/BLL/Extension/BOperationRecord.cs +++ b/AIMSEntity/BLL/Extension/BOperationRecord.cs @@ -29,19 +29,33 @@ namespace AIMSBLL } BOperationRecord.SelectSingle(PatientId, RecoverId, ref _record); - _record.InstrumentList = BOperationRecordInstrumentList.SelectSingle(" OperationRecordId=" + Convert.ToInt32(_record.Id), null); - if (_record.InstrumentList != null) + List InstrumentLists = BOperationRecordInstrumentList.Select(" OperationRecordId=" + Convert.ToInt32(_record.Id), null); + if (InstrumentLists != null && InstrumentLists.Count > 0) { + _record.InstrumentList = InstrumentLists[0]; + //if (_record.InstrumentList != null) + //{ _record.InstrumentList.ApplianceRecordList = BApplianceRecord.GetApplianceRecordById(Convert.ToInt32(_record.Id), Convert.ToInt32(_record.InstrumentList.Id)); + //} + //else + //{ + // _record.InstrumentList = new OperationRecordInstrumentList(); + // _record.InstrumentList.OperationRecordId = _record.Id; + // _record.InstrumentList.OperatorNo = PublicMethod.OperatorNo; + // _record.InstrumentList.OperatorName = PublicMethod.OperatorName; + // _record.InstrumentList.Id = BOperationRecordInstrumentList.Insert(_record.InstrumentList); + //} } - else + if (InstrumentLists != null && InstrumentLists.Count > 1) { - _record.InstrumentList = new OperationRecordInstrumentList(); - _record.InstrumentList.OperationRecordId = _record.Id; - _record.InstrumentList.OperatorNo = PublicMethod.OperatorNo; - _record.InstrumentList.OperatorName = PublicMethod.OperatorName; - _record.InstrumentList.Id = BOperationRecordInstrumentList.Insert(_record.InstrumentList); + _record.InstrumentList2 = InstrumentLists[1]; + //if (_record.InstrumentList2 != null) + //{ + _record.InstrumentList2.ApplianceRecordList = BApplianceRecord.GetApplianceRecordById(Convert.ToInt32(_record.Id), Convert.ToInt32(_record.InstrumentList2.Id)); + //} + } + if (_record.InRoomTime != null) _record.OperationDate = _record.InRoomTime.Value.ToShortDateString(); @@ -61,6 +75,7 @@ namespace AIMSBLL _record.Name = OperationFrontdt.Rows[0]["PatientName"].ToString(); _record.Sex = OperationFrontdt.Rows[0]["Sex"].ToString(); _record.Age = OperationFrontdt.Rows[0]["Age"].ToString(); + //_record.Address = OperationFrontdt.Rows[0]["Address"].ToString(); if (OperationFrontdt.Rows[0]["Height"].ToString() != "") { double Height = 0; @@ -86,7 +101,7 @@ namespace AIMSBLL { _record.Weight = OperationFrontdt.Rows[0]["Weight"].ToString(); } - } + } _record.Applydiagnose = OperationFrontdt.Rows[0]["ApplyDiagnoseInfoId"].ToString(); _record.Applyoperation = OperationFrontdt.Rows[0]["ApplyOperationInfoId"].ToString(); _record.OperationType = OperationFrontdt.Rows[0]["OperationType"].ToString(); diff --git a/AIMSEntity/DAL/AutoGenerate/DApplianceRecord.cs b/AIMSEntity/DAL/AutoGenerate/DApplianceRecord.cs index d250af6..c179931 100644 --- a/AIMSEntity/DAL/AutoGenerate/DApplianceRecord.cs +++ b/AIMSEntity/DAL/AutoGenerate/DApplianceRecord.cs @@ -684,7 +684,7 @@ namespace AIMSDAL public static List GetApplianceRecordById(int opeRId, int opeGRId) { List applianceRecordList = new List(); - string sql = "select * from ApplianceRecord where OperationRecordId=" + opeRId + " or OperationGoodsBillRecord = " + opeGRId; + string sql = "select * from ApplianceRecord where OperationRecordId=" + opeRId + " and OperationGoodsBillRecord = " + opeGRId; using (SqlConnection conn = new SqlConnection(Connection.ConnectionString)) { if (conn.State != ConnectionState.Open) diff --git a/AIMSEntity/DAL/Extension/DOperationApply.cs b/AIMSEntity/DAL/Extension/DOperationApply.cs index 424b7af..a4ce1cd 100644 --- a/AIMSEntity/DAL/Extension/DOperationApply.cs +++ b/AIMSEntity/DAL/Extension/DOperationApply.cs @@ -252,7 +252,7 @@ namespace AIMSDAL "of1.VerifyTime, of1.VerifyOperatorName," + "of1.PlanOperationTime, of1.OperationRoom, of1.AnesthesiaDoctor," + "of1.InstrumentNurse, of1.TourNurse, of1.AnesthesiaDoctorSucceed," + - "of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.ASA,of1.HeartFunctionLevel,of1.IsFasting, of1.Remark,ApplyDiagnoseInfoId,ApplyOperationInfoId ,of1.PlanOrder,of1.OperationRoomId ,of1.MedicalRecord,of1.PatientType,of1.HISPatientId,of1.VisitTimes " + + "of1.InstrumentNurseSucceed, of1.TourNurseSucceed,of1.ASA,of1.HeartFunctionLevel,of1.IsFasting, of1.Remark,ApplyDiagnoseInfoId,ApplyOperationInfoId ,of1.PlanOrder,of1.OperationRoomId ,of1.MedicalRecord,of1.PatientType,of1.HISPatientId,of1.VisitTimes " +//,of1.Address "FROM V_OperationFront of1 WHERE of1.PatientId='" + PatientId + "'"; return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); } diff --git a/DrawGraph/AreaManage/DBManage.cs b/DrawGraph/AreaManage/DBManage.cs index a82804d..2182d8d 100644 --- a/DrawGraph/AreaManage/DBManage.cs +++ b/DrawGraph/AreaManage/DBManage.cs @@ -309,6 +309,40 @@ namespace DrawGraph } return i; } + public static int AddOperation(OperationRecord _operationRecord, List Operation) + { + int i = 0; + if (Operation==null || Operation.Count<=0) + { + DeleteOperation(_operationRecord.PatientId.Value); + i++; + } + else + { + DeleteOperation(_operationRecord.PatientId.Value); + i++; + foreach (int OperationId in Operation ) + { + StringBuilder strSql = new StringBuilder(); + strSql.Append("insert into [FactOperationInfo]("); + strSql.Append("PatientId,ApplyId,OperationId,OperatorNo,OperatorName,OperateDate,OperationName,LeftRemark,RightRemark"); + strSql.Append(")"); + strSql.Append(" values ("); + strSql.Append("" + _operationRecord.PatientId + ","); + strSql.Append("" + _operationRecord.OperationApplyId + ","); + strSql.Append("" + OperationId + ","); + strSql.Append("'" + AIMSExtension.PublicMethod.OperatorNo + "',"); + strSql.Append("'" + AIMSExtension.PublicMethod.OperatorName + "',"); + strSql.Append("'" + DateTime.Now + "',"); + strSql.Append("'',");//" + FactOperationInfoObj.OperationName + " + strSql.Append("'',");//" + FactOperationInfoObj.LeftRemark + " + strSql.Append("''");//" + FactOperationInfoObj.RightRemark + " + strSql.Append(")"); + i += HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); + } + } + return i; + } public static int AddApplyOperation(OperationRecord _operationRecord, string Operation) { int i = 0; @@ -438,6 +472,37 @@ namespace DrawGraph } return i; } + public static int AddOperationPosition(OperationRecord _operationRecord, List OperationPositionIds ) + { + int i = 0; + if ( OperationPositionIds==null || OperationPositionIds.Count<=0) + { + DeleteOperationPosition (_operationRecord.PatientId.Value); + i++; + } + else + { + DeleteOperationPosition(_operationRecord.PatientId.Value); + i++; + foreach (int OperationPosition in OperationPositionIds ) + { + StringBuilder strSql = new StringBuilder(); + strSql.Append("insert into [FactOperationPosition]("); + strSql.Append("PatientId,ApplyId,OperationPositionId,OperatorNo,OperatorName,OperateDate"); + strSql.Append(")"); + strSql.Append(" values ("); + strSql.Append("" + _operationRecord.PatientId + ","); + strSql.Append("" + _operationRecord.OperationApplyId + ","); + strSql.Append("" + OperationPosition + ","); + strSql.Append("'" + AIMSExtension.PublicMethod.OperatorNo + "',"); + strSql.Append("'" + AIMSExtension.PublicMethod.OperatorName + "',"); + strSql.Append("'" + DateTime.Now + "'"); + strSql.Append(")"); + i += HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); + } + } + return i; + } public static int AddAnaesthesiaMethod(OperationRecord _operationRecord, string AnaesthesiaMethod) { int i = 0; diff --git a/DrawGraph/AreaManage/InstrumentDataManage.cs b/DrawGraph/AreaManage/InstrumentDataManage.cs index 83f079e..8565720 100644 --- a/DrawGraph/AreaManage/InstrumentDataManage.cs +++ b/DrawGraph/AreaManage/InstrumentDataManage.cs @@ -66,6 +66,21 @@ namespace DrawGraph private void SetApplianceMethod(List ApplianceRecordList) { if (tablePackObj == null) return; + if (myOpeRecord != null && myOpeRecord.Id != null) + { + //if (myOpeRecord.InstrumentList.InstrumentNurse != null && myOpeRecord.InstrumentList.InstrumentNurse != "") + //{ + // template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.InstrumentNurse", myOpeRecord.InstrumentList.InstrumentNurse, myOpeRecord.InstrumentList.InstrumentNurse); + //} + //if (myOpeRecord.InstrumentList.TourNurse != null && myOpeRecord.InstrumentList.TourNurse != "") + //{ + // template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.TourNurse", myOpeRecord.InstrumentList.TourNurse, myOpeRecord.InstrumentList.TourNurse); + //} + if (myOpeRecord.InstrumentList.Remark != null) + { + template.SetObjValue(myOpeRecord, "OperationRecord.InstrumentList.Remark", myOpeRecord.InstrumentList.Remark, myOpeRecord.InstrumentList.Remark); + } + } int Columns = int.Parse(tablePackObj1.Columns.ToString()); double span = tablePackObj.RealX - 0.005; double span2 = tablePackObj.RealX * 0.3; diff --git a/DrawGraph/AreaManage/OperationRecord.cs b/DrawGraph/AreaManage/OperationRecord.cs index 4cdfd21..64c2c35 100644 --- a/DrawGraph/AreaManage/OperationRecord.cs +++ b/DrawGraph/AreaManage/OperationRecord.cs @@ -31,6 +31,7 @@ namespace DrawGraph private string contacts; private string contactsPhone; private string age; + private string address ; [ClassAttributs(Description = "HIS编号")] @@ -165,6 +166,13 @@ namespace DrawGraph set { contactsPhone = value; } } + [ClassAttributs(Description = "地址")] + public string Address + { + get { return address; } + set { address = value; } + } + //申请信息 private string patientType; private int? applyDepartmentId; @@ -1172,6 +1180,7 @@ namespace DrawGraph private OperationRecoverInInfo opeRecoverInInfo; private OperationRecoverOutInfo opeRecoverOutInfo; private OperationRecordInstrumentList instrumentList; + private OperationRecordInstrumentList instrumentList2; public List EventListstr = new List(); public List DrugsListstr = new List(); @@ -1335,6 +1344,18 @@ namespace DrawGraph instrumentList = value; } } + [NoCreatControlAttributs] + public OperationRecordInstrumentList InstrumentList2 + { + get + { + return instrumentList2; + } + set + { + instrumentList2 = value; + } + } public OperationRecord() { @@ -1358,6 +1379,7 @@ namespace DrawGraph OpeRecoverInInfo = new OperationRecoverInInfo(); OpeRecoverOutInfo = new OperationRecoverOutInfo(); InstrumentList = new OperationRecordInstrumentList(); + InstrumentList2 = new OperationRecordInstrumentList(); FactBloodGasAnalysisList = new List(); SelPhysioConfig = null; }