From 337141dbe6b97f67adac6579fc5a23fc78a552c2 Mon Sep 17 00:00:00 2001 From: leomon Date: Wed, 5 Apr 2023 18:42:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=95=8C=E9=9D=A2=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AIMS/FormLogin.cs | 1 + .../frmAanesthesiaRecord.Designer.cs | 23 + .../frmAanesthesiaRecord.cs | 11 + .../frmAanesthesiaRecover.cs | 5 + .../frmInstrumentRecord2.Designer.cs | 91 ++- .../frmInstrumentRecord2.cs | 13 +- .../frmSafetyExamine.Designer.cs | 735 +++++++++++++----- AIMS/OperationAanesthesia/frmSafetyExamine.cs | 154 +++- AIMS/OperationAfter/frmOperationManage.cs | 9 +- .../frmPhysiologyLargeScreen.cs | 27 +- AIMS/OremrUserControl/UCPatientPhysiology.cs | 47 +- .../UCPatientPhysiology.designer.cs | 77 +- .../OremrUserControl/UCPatientPhysiology.resx | 13 + .../ucPatientRecoverCard.Designer.cs | 444 ++++++----- AIMS/OremrUserControl/ucPatientRecoverCard.cs | 14 +- AIMSEntity/Extensions/SelectPatient.cs | 6 +- AIMSExtension/AIMSExtension.csproj | 1 + AIMSExtension/ProgramLogService.cs | 110 +++ AIMSExtension/PublicMethod.cs | 140 ++-- 19 files changed, 1407 insertions(+), 514 deletions(-) create mode 100644 AIMSExtension/ProgramLogService.cs diff --git a/AIMS/FormLogin.cs b/AIMS/FormLogin.cs index 4fc1e16..7db26fb 100644 --- a/AIMS/FormLogin.cs +++ b/AIMS/FormLogin.cs @@ -47,6 +47,7 @@ namespace AIMS AIMSExtension.PublicMethod.OperatorName = PersonObj.Name; AIMSExtension.PublicMethod.RoleId = PersonObj.RoleId.Value; AIMSExtension.PublicMethod.DepId = PersonObj.DepId.Value; + AIMSExtension.PublicMethod.LocalIP = AIMSExtension.PublicMethod.GetLocalIP(); AIMSExtension.PublicMethod.DeptName = BDepartment.GetModel(PersonObj.DepId.Value).Name; Role role = BRole.GetModel(PersonObj.RoleId.Value); AIMSExtension.PublicMethod.PermissionLevel = role.PermissionLevel == null ? 0 : role.PermissionLevel.Value; diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.Designer.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.Designer.cs index fe34c2e..d15668f 100644 --- a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.Designer.cs +++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.Designer.cs @@ -131,6 +131,7 @@ this.txtInRoom1 = new System.Windows.Forms.Button(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); + this.button10 = new System.Windows.Forms.Button(); this.panel3.SuspendLayout(); this.panel14.SuspendLayout(); this.panel4.SuspendLayout(); @@ -197,6 +198,7 @@ // panel14 // this.panel14.BackColor = System.Drawing.Color.White; + this.panel14.Controls.Add(this.button10); this.panel14.Controls.Add(this.button8); this.panel14.Controls.Add(this.button7); this.panel14.Controls.Add(this.btnCancelIn); @@ -1966,6 +1968,26 @@ this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71); this.flowLayoutPanel1.TabIndex = 0; // + // button10 + // + this.button10.BackColor = System.Drawing.Color.Transparent; + this.button10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.button10.Cursor = System.Windows.Forms.Cursors.Hand; + this.button10.Dock = System.Windows.Forms.DockStyle.Top; + this.button10.FlatAppearance.BorderSize = 0; + this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button10.Font = new System.Drawing.Font("微软雅黑", 11F); + this.button10.ForeColor = System.Drawing.Color.DimGray; + this.button10.Image = global::AIMS.Properties.Resources.安全检查; + this.button10.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button10.Location = new System.Drawing.Point(0, 550); + this.button10.Name = "button10"; + this.button10.Size = new System.Drawing.Size(160, 50); + this.button10.TabIndex = 16; + this.button10.Text = " 安全核查"; + this.button10.UseVisualStyleBackColor = false; + this.button10.Click += new System.EventHandler(this.button10_Click); + // // frmAanesthesiaRecord // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -2127,5 +2149,6 @@ private System.Windows.Forms.Panel panel18; private System.Windows.Forms.Panel btnUpPage; private System.Windows.Forms.ToolTip toolTip1; + private System.Windows.Forms.Button button10; } } \ No newline at end of file diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs index 9c59ebc..bf98817 100644 --- a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs +++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs @@ -177,6 +177,7 @@ namespace AIMS.OperationAanesthesia pDoc.Print(); } + PublicMethod.WriteLog("打印麻醉记录单", _record.PatientId.Value, 1, "麻醉"); count = 0; } catch (Exception exp) @@ -572,6 +573,7 @@ namespace AIMS.OperationAanesthesia { DrawEvent(); } + PublicMethod.WriteLog( Inevent.EventName, _record.PatientId.Value, 1, "麻醉"); } } /// @@ -626,6 +628,7 @@ namespace AIMS.OperationAanesthesia { DrawEvent(); } + PublicMethod.WriteLog("修改"+Inevent.EventName, _record.PatientId.Value, 1, "麻醉"); } } /// @@ -655,6 +658,7 @@ namespace AIMS.OperationAanesthesia tb.ButtonDropDown.Visible = false; _record.FactEventsList.Remove(Inevent); DrawEvent(); + PublicMethod.WriteLog("删除" + Inevent.EventName, _record.PatientId.Value, 1, "麻醉"); } } /// @@ -1056,6 +1060,7 @@ namespace AIMS.OperationAanesthesia btnCancelIn.Enabled = true; DrawAnasReordBill.IniDrawAnasReordBill5(_record, zgcAnaesRecord, zgcAnaesRecord2, ref templateManage, ref templateManage2); _record.ComputerRect = Screen.GetWorkingArea(this); + PublicMethod.WriteLog("入手术间", _record.PatientId.Value, 1, "麻醉"); StartTimer(); } catch @@ -2328,6 +2333,12 @@ namespace AIMS.OperationAanesthesia _record.SelPhysioConfig = null; } } + private void button10_Click(object sender, EventArgs e) + { + frmSafetyExamine frmSafety = new frmSafetyExamine(); + frmSafety.PatientId = PatientId; + frmSafety.Show(); + } #endregion } diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs index c1ed38a..0569886 100644 --- a/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs +++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecover.cs @@ -233,6 +233,7 @@ namespace AIMS.OperationAanesthesia pDoc.Print(); } + PublicMethod.WriteLog("打印麻醉记录单", _record.PatientId.Value, 1,"恢复"); count = 0; } catch (Exception exp) @@ -358,6 +359,7 @@ namespace AIMS.OperationAanesthesia { DrawEvent(); } + PublicMethod.WriteLog(Inevent.EventName, _record.PatientId.Value, 1, "恢复"); } } /// @@ -404,6 +406,7 @@ namespace AIMS.OperationAanesthesia { DrawEvent(); } + PublicMethod.WriteLog("修改" +Inevent.EventName, _record.PatientId.Value, 1, "恢复"); } } /// @@ -429,6 +432,7 @@ namespace AIMS.OperationAanesthesia tb.ButtonDropDown.Visible = false; _record.FactEventsList.Remove(Inevent); DrawEvent(); + PublicMethod.WriteLog("删除" + Inevent.EventName, _record.PatientId.Value, 1, "恢复"); } } /// @@ -690,6 +694,7 @@ namespace AIMS.OperationAanesthesia ClearTimeText(); btnSelectPatient.Enabled = false; DrawAnasReordBill.IniDrawAnasReordBill3(_record, zgcAnaesRecord, ref templateManage); //初始化麻醉记录单界 + PublicMethod.WriteLog("入恢复室", _record.PatientId.Value, 1, "恢复"); StartTimer(); } catch diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord2.Designer.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord2.Designer.cs index d14ad76..9cc7cd9 100644 --- a/AIMS/OperationAanesthesia/frmInstrumentRecord2.Designer.cs +++ b/AIMS/OperationAanesthesia/frmInstrumentRecord2.Designer.cs @@ -72,8 +72,11 @@ this.superTabMain = new DevComponents.DotNetBar.SuperTabControl(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panelExZKZB = new DevComponents.DotNetBar.PanelEx(); + this.panel8 = new AIMS.PublicUI.UI.DrawPanel(); + this.myEditControl = new DCSoft.Writer.Controls.WriterControl(); this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.panel9 = new AIMS.PublicUI.UI.DrawPanel(); this.spTabQXQDD2 = new DevComponents.DotNetBar.SuperTabItem(); this.panel7 = new System.Windows.Forms.Panel(); this.panel21 = new System.Windows.Forms.Panel(); @@ -105,9 +108,7 @@ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.toolTip1 = new System.Windows.Forms.ToolTip(this.components); this.writerCommandControler1 = new DCSoft.Writer.Commands.WriterCommandControler(this.components); - this.panel8 = new AIMS.PublicUI.UI.DrawPanel(); - this.myEditControl = new DCSoft.Writer.Controls.WriterControl(); - this.panel9 = new AIMS.PublicUI.UI.DrawPanel(); + this.button10 = new System.Windows.Forms.Button(); this.panel3.SuspendLayout(); this.panel14.SuspendLayout(); this.panel4.SuspendLayout(); @@ -117,6 +118,7 @@ this.superTabMain.SuspendLayout(); this.superTabControlPanel1.SuspendLayout(); this.panelExZKZB.SuspendLayout(); + this.panel8.SuspendLayout(); this.superTabControlPanel2.SuspendLayout(); this.panel7.SuspendLayout(); this.panel21.SuspendLayout(); @@ -134,7 +136,6 @@ ((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.picInRoom)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit(); - this.panel8.SuspendLayout(); this.SuspendLayout(); // // panel2 @@ -161,6 +162,7 @@ // panel14 // this.panel14.BackColor = System.Drawing.Color.White; + this.panel14.Controls.Add(this.button10); this.panel14.Controls.Add(this.button9); this.panel14.Controls.Add(this.button1); this.panel14.Controls.Add(this.button8); @@ -842,6 +844,26 @@ 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.myEditControl); + 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); + // + // myEditControl + // + this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.myEditControl.Location = new System.Drawing.Point(0, 0); + this.myEditControl.Name = "myEditControl"; + this.myEditControl.Size = new System.Drawing.Size(1389, 803); + this.myEditControl.TabIndex = 6; + // // spTabQXQDD // this.spTabQXQDD.AttachedControl = this.superTabControlPanel1; @@ -859,6 +881,16 @@ this.superTabControlPanel2.TabIndex = 0; this.superTabControlPanel2.TabItem = this.spTabQXQDD2; // + // panel9 + // + this.panel9.AutoScroll = true; + this.panel9.BackColor = System.Drawing.Color.White; + 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; + // // spTabQXQDD2 // this.spTabQXQDD2.AttachedControl = this.superTabControlPanel2; @@ -914,7 +946,7 @@ this.PanelSave.Name = "PanelSave"; this.PanelSave.Size = new System.Drawing.Size(28, 28); this.PanelSave.TabIndex = 3; - this.toolTip1.SetToolTip(this.PanelSave, "保存"); + this.toolTip1.SetToolTip(this.PanelSave, "保存"); this.PanelSave.Click += new System.EventHandler(this.PanelSave_Click); // // plPrint @@ -1373,35 +1405,25 @@ this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71); this.flowLayoutPanel1.TabIndex = 0; // - // panel8 + // button10 // - this.panel8.AutoScroll = true; - this.panel8.BackColor = System.Drawing.Color.White; - this.panel8.Controls.Add(this.myEditControl); - 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); - // - // myEditControl - // - this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill; - this.myEditControl.Location = new System.Drawing.Point(0, 0); - this.myEditControl.Name = "myEditControl"; - this.myEditControl.Size = new System.Drawing.Size(1389, 803); - this.myEditControl.TabIndex = 6; - // - // panel9 - // - this.panel9.AutoScroll = true; - this.panel9.BackColor = System.Drawing.Color.White; - 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; + this.button10.BackColor = System.Drawing.Color.Transparent; + this.button10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.button10.Cursor = System.Windows.Forms.Cursors.Hand; + this.button10.Dock = System.Windows.Forms.DockStyle.Top; + this.button10.FlatAppearance.BorderSize = 0; + this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button10.Font = new System.Drawing.Font("微软雅黑", 11F); + this.button10.ForeColor = System.Drawing.Color.DimGray; + this.button10.Image = global::AIMS.Properties.Resources.安全检查; + this.button10.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button10.Location = new System.Drawing.Point(0, 700); + this.button10.Name = "button10"; + this.button10.Size = new System.Drawing.Size(160, 50); + this.button10.TabIndex = 19; + this.button10.Text = " 安全核查"; + this.button10.UseVisualStyleBackColor = false; + this.button10.Click += new System.EventHandler(this.button10_Click); // // frmInstrumentRecord2 // @@ -1425,6 +1447,7 @@ this.superTabMain.ResumeLayout(false); this.superTabControlPanel1.ResumeLayout(false); this.panelExZKZB.ResumeLayout(false); + this.panel8.ResumeLayout(false); this.superTabControlPanel2.ResumeLayout(false); this.panel7.ResumeLayout(false); this.panel7.PerformLayout(); @@ -1443,7 +1466,6 @@ ((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.picInRoom)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit(); - this.panel8.ResumeLayout(false); this.ResumeLayout(false); } @@ -1528,5 +1550,6 @@ private System.Windows.Forms.Label label1; private DCSoft.Writer.Controls.WriterControl myEditControl; private DCSoft.Writer.Commands.WriterCommandControler writerCommandControler1; + private System.Windows.Forms.Button button10; } } \ No newline at end of file diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs index d63a277..f16be1d 100644 --- a/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs +++ b/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs @@ -217,6 +217,7 @@ namespace AIMS.OperationAanesthesia { _record.FactEventsList.Add(Inevent); ReviewEvent(); + PublicMethod.WriteLog( Inevent.EventName, _record.PatientId.Value,1, "护理"); } } /// @@ -239,6 +240,7 @@ namespace AIMS.OperationAanesthesia if (Inevent != null) { ReviewEvent(); + PublicMethod.WriteLog("修改" + Inevent.EventName, _record.PatientId.Value, 1, "护理"); } } /// @@ -265,6 +267,7 @@ namespace AIMS.OperationAanesthesia tb.ButtonDropDown.Visible = false; _record.FactEventsList.Remove(Inevent); ReviewEvent(); + PublicMethod.WriteLog("删除" + Inevent.EventName, _record.PatientId.Value, 1, "护理"); } } /// @@ -470,6 +473,7 @@ namespace AIMS.OperationAanesthesia Patient = PatientRecord.GetPatientRecord(PatientId); DModel = DocumentDAL.GetDocumentbyName("手术护理记录单", Patient.PatientId); LoadDocumentGoodsBill(); + PublicMethod.WriteLog("入手术间", _record.PatientId.Value, 1, "护理"); StartTimer(); } catch @@ -1738,7 +1742,14 @@ namespace AIMS.OperationAanesthesia frmchargRecord.Show(); frmchargRecord.BringToFront(); } - + + private void button10_Click(object sender, EventArgs e) + { + frmSafetyExamine frmSafety = new frmSafetyExamine(); + frmSafety.PatientId = PatientId; + frmSafety.Show(); + } + private void frmAnasRecordInstrument_VisibleChanged(object sender, EventArgs e) { if (this.Visible == false) diff --git a/AIMS/OperationAanesthesia/frmSafetyExamine.Designer.cs b/AIMS/OperationAanesthesia/frmSafetyExamine.Designer.cs index 9d99e16..4c9bda0 100644 --- a/AIMS/OperationAanesthesia/frmSafetyExamine.Designer.cs +++ b/AIMS/OperationAanesthesia/frmSafetyExamine.Designer.cs @@ -31,19 +31,36 @@ namespace AIMS.OperationAanesthesia { this.components = new System.ComponentModel.Container(); this.panel1 = new System.Windows.Forms.Panel(); + this.buttonX2 = new DevComponents.DotNetBar.ButtonX(); + this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); + this.groupBox4 = new System.Windows.Forms.GroupBox(); + this.label15 = new System.Windows.Forms.Label(); + this.label7 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.txtInstrumentNurse = new System.Windows.Forms.TextBox(); + this.txtOperationDoctor = new System.Windows.Forms.TextBox(); + this.txtAnesthesiaDoctor = new System.Windows.Forms.TextBox(); + this.groupBox3 = new System.Windows.Forms.GroupBox(); + this.checkBox26 = new System.Windows.Forms.CheckBox(); + this.checkBox25 = new System.Windows.Forms.CheckBox(); + this.groupBox2 = new System.Windows.Forms.GroupBox(); + this.checkBox24 = new System.Windows.Forms.CheckBox(); this.panel2 = new System.Windows.Forms.Panel(); + this.groupBox1 = new System.Windows.Forms.GroupBox(); + this.txtage = new System.Windows.Forms.Label(); + this.txtsex = new System.Windows.Forms.Label(); + this.txtNo = new System.Windows.Forms.Label(); + this.txtname = new System.Windows.Forms.Label(); + this.label2 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); this.tabControl1 = new DevComponents.DotNetBar.TabControl(); - this.tabItem1 = new DevComponents.DotNetBar.TabItem(this.components); this.tabControlPanel1 = new DevComponents.DotNetBar.TabControlPanel(); this.panelEx1 = new DevComponents.DotNetBar.PanelEx(); - this.tabItem2 = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); - this.tabItem3 = new DevComponents.DotNetBar.TabItem(this.components); - this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); - this.panelEx2 = new DevComponents.DotNetBar.PanelEx(); - this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); this.panelOper = new System.Windows.Forms.Panel(); this.panel23 = new System.Windows.Forms.Panel(); + this.textBoxX3 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label41 = new System.Windows.Forms.Label(); this.panel22 = new System.Windows.Forms.Panel(); this.checkBox46 = new System.Windows.Forms.CheckBox(); @@ -125,7 +142,11 @@ namespace AIMS.OperationAanesthesia this.radioButton2 = new System.Windows.Forms.CheckBox(); this.radioButton1 = new System.Windows.Forms.CheckBox(); this.label12 = new System.Windows.Forms.Label(); + this.tabItem1 = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel2 = new DevComponents.DotNetBar.TabControlPanel(); + this.panelEx2 = new DevComponents.DotNetBar.PanelEx(); this.panel31 = new System.Windows.Forms.Panel(); + this.textBoxX2 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label28 = new System.Windows.Forms.Label(); this.panel30 = new System.Windows.Forms.Panel(); this.radioButton46 = new System.Windows.Forms.CheckBox(); @@ -164,7 +185,11 @@ namespace AIMS.OperationAanesthesia this.radioButton28 = new System.Windows.Forms.CheckBox(); this.radioButton27 = new System.Windows.Forms.CheckBox(); this.label47 = new System.Windows.Forms.Label(); + this.tabItem2 = new DevComponents.DotNetBar.TabItem(this.components); + this.tabControlPanel3 = new DevComponents.DotNetBar.TabControlPanel(); + this.panelEx3 = new DevComponents.DotNetBar.PanelEx(); this.panel40 = new System.Windows.Forms.Panel(); + this.textBoxX1 = new DevComponents.DotNetBar.Controls.TextBoxX(); this.label36 = new System.Windows.Forms.Label(); this.panel38 = new System.Windows.Forms.Panel(); this.checkBox20 = new System.Windows.Forms.CheckBox(); @@ -206,14 +231,17 @@ namespace AIMS.OperationAanesthesia this.radioButton34 = new System.Windows.Forms.CheckBox(); this.radioButton33 = new System.Windows.Forms.CheckBox(); this.label70 = new System.Windows.Forms.Label(); + this.tabItem3 = new DevComponents.DotNetBar.TabItem(this.components); + this.panel1.SuspendLayout(); + this.groupBox4.SuspendLayout(); + this.groupBox3.SuspendLayout(); + this.groupBox2.SuspendLayout(); + this.panel2.SuspendLayout(); + this.groupBox1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).BeginInit(); this.tabControl1.SuspendLayout(); this.tabControlPanel1.SuspendLayout(); this.panelEx1.SuspendLayout(); - this.tabControlPanel2.SuspendLayout(); - this.tabControlPanel3.SuspendLayout(); - this.panelEx2.SuspendLayout(); - this.panelEx3.SuspendLayout(); this.panelOper.SuspendLayout(); this.panel23.SuspendLayout(); this.panel22.SuspendLayout(); @@ -236,6 +264,8 @@ namespace AIMS.OperationAanesthesia this.panel5.SuspendLayout(); this.panel4.SuspendLayout(); this.panel3.SuspendLayout(); + this.tabControlPanel2.SuspendLayout(); + this.panelEx2.SuspendLayout(); this.panel31.SuspendLayout(); this.panel30.SuspendLayout(); this.panel29.SuspendLayout(); @@ -245,6 +275,8 @@ namespace AIMS.OperationAanesthesia this.panel46.SuspendLayout(); this.panel47.SuspendLayout(); this.panel48.SuspendLayout(); + this.tabControlPanel3.SuspendLayout(); + this.panelEx3.SuspendLayout(); this.panel40.SuspendLayout(); this.panel38.SuspendLayout(); this.panel37.SuspendLayout(); @@ -258,32 +290,296 @@ namespace AIMS.OperationAanesthesia // // panel1 // + this.panel1.Controls.Add(this.buttonX2); + this.panel1.Controls.Add(this.buttonX1); + this.panel1.Controls.Add(this.groupBox4); + this.panel1.Controls.Add(this.groupBox3); + this.panel1.Controls.Add(this.groupBox2); this.panel1.Dock = System.Windows.Forms.DockStyle.Left; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(200, 729); + this.panel1.Size = new System.Drawing.Size(177, 729); this.panel1.TabIndex = 0; // + // buttonX2 + // + this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.buttonX2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.buttonX2.Location = new System.Drawing.Point(90, 421); + this.buttonX2.Name = "buttonX2"; + this.buttonX2.Size = new System.Drawing.Size(65, 48); + this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.buttonX2.TabIndex = 3; + this.buttonX2.Text = "打印"; + // + // buttonX1 + // + this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.buttonX1.Location = new System.Drawing.Point(16, 421); + this.buttonX1.Name = "buttonX1"; + this.buttonX1.Size = new System.Drawing.Size(65, 48); + this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.buttonX1.TabIndex = 3; + this.buttonX1.Text = "保存"; + this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click); + // + // groupBox4 + // + this.groupBox4.Controls.Add(this.label15); + this.groupBox4.Controls.Add(this.label7); + this.groupBox4.Controls.Add(this.label6); + this.groupBox4.Controls.Add(this.txtInstrumentNurse); + this.groupBox4.Controls.Add(this.txtOperationDoctor); + this.groupBox4.Controls.Add(this.txtAnesthesiaDoctor); + this.groupBox4.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBox4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.groupBox4.Location = new System.Drawing.Point(0, 174); + this.groupBox4.Name = "groupBox4"; + this.groupBox4.Size = new System.Drawing.Size(177, 240); + this.groupBox4.TabIndex = 2; + this.groupBox4.TabStop = false; + this.groupBox4.Text = "检查人员"; + // + // label15 + // + this.label15.AutoSize = true; + this.label15.ForeColor = System.Drawing.Color.Black; + this.label15.Location = new System.Drawing.Point(8, 112); + this.label15.Name = "label15"; + this.label15.Size = new System.Drawing.Size(45, 20); + this.label15.TabIndex = 15; + this.label15.Text = "护 士"; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.ForeColor = System.Drawing.Color.Black; + this.label7.Location = new System.Drawing.Point(4, 79); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(65, 20); + this.label7.TabIndex = 15; + this.label7.Text = "手术医生"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.ForeColor = System.Drawing.Color.Black; + this.label6.Location = new System.Drawing.Point(4, 46); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(65, 20); + this.label6.TabIndex = 15; + this.label6.Text = "麻醉医生"; + // + // txtInstrumentNurse + // + this.txtInstrumentNurse.Location = new System.Drawing.Point(70, 107); + this.txtInstrumentNurse.Name = "txtInstrumentNurse"; + this.txtInstrumentNurse.Size = new System.Drawing.Size(101, 26); + this.txtInstrumentNurse.TabIndex = 14; + this.txtInstrumentNurse.Tag = "术者"; + // + // txtOperationDoctor + // + this.txtOperationDoctor.Location = new System.Drawing.Point(70, 75); + this.txtOperationDoctor.Name = "txtOperationDoctor"; + this.txtOperationDoctor.Size = new System.Drawing.Size(101, 26); + this.txtOperationDoctor.TabIndex = 14; + this.txtOperationDoctor.Tag = "术者"; + this.txtOperationDoctor.DoubleClick += new System.EventHandler(this.OperationDoctor_Click); + // + // txtAnesthesiaDoctor + // + this.txtAnesthesiaDoctor.Location = new System.Drawing.Point(70, 41); + this.txtAnesthesiaDoctor.Name = "txtAnesthesiaDoctor"; + this.txtAnesthesiaDoctor.Size = new System.Drawing.Size(101, 26); + this.txtAnesthesiaDoctor.TabIndex = 14; + this.txtAnesthesiaDoctor.Tag = ""; + this.txtAnesthesiaDoctor.DoubleClick += new System.EventHandler(this.txtAnesthesiaDoctor_Click); + // + // groupBox3 + // + this.groupBox3.Controls.Add(this.checkBox26); + this.groupBox3.Controls.Add(this.checkBox25); + this.groupBox3.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBox3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.groupBox3.Location = new System.Drawing.Point(0, 87); + this.groupBox3.Name = "groupBox3"; + this.groupBox3.Size = new System.Drawing.Size(177, 87); + this.groupBox3.TabIndex = 1; + this.groupBox3.TabStop = false; + this.groupBox3.Text = "检查结果"; + // + // checkBox26 + // + this.checkBox26.AutoSize = true; + this.checkBox26.Font = new System.Drawing.Font("微软雅黑", 10F); + this.checkBox26.Location = new System.Drawing.Point(90, 34); + this.checkBox26.Name = "checkBox26"; + this.checkBox26.Size = new System.Drawing.Size(70, 24); + this.checkBox26.TabIndex = 1656; + this.checkBox26.Tag = "H9"; + this.checkBox26.Text = "不通过"; + this.checkBox26.UseVisualStyleBackColor = true; + // + // checkBox25 + // + this.checkBox25.AutoSize = true; + this.checkBox25.Font = new System.Drawing.Font("微软雅黑", 10F); + this.checkBox25.Location = new System.Drawing.Point(27, 34); + this.checkBox25.Name = "checkBox25"; + this.checkBox25.Size = new System.Drawing.Size(56, 24); + this.checkBox25.TabIndex = 1655; + this.checkBox25.Tag = "F9"; + this.checkBox25.Text = "通过"; + this.checkBox25.UseVisualStyleBackColor = true; + // + // groupBox2 + // + this.groupBox2.Controls.Add(this.checkBox24); + this.groupBox2.Dock = System.Windows.Forms.DockStyle.Top; + this.groupBox2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.groupBox2.Location = new System.Drawing.Point(0, 0); + this.groupBox2.Name = "groupBox2"; + this.groupBox2.Size = new System.Drawing.Size(177, 87); + this.groupBox2.TabIndex = 0; + this.groupBox2.TabStop = false; + this.groupBox2.Text = "全选操作"; + // + // checkBox24 + // + this.checkBox24.AutoSize = true; + this.checkBox24.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.checkBox24.Location = new System.Drawing.Point(24, 41); + this.checkBox24.Name = "checkBox24"; + this.checkBox24.Size = new System.Drawing.Size(110, 18); + this.checkBox24.TabIndex = 0; + this.checkBox24.Text = "所有项目确认"; + this.checkBox24.UseVisualStyleBackColor = true; + this.checkBox24.CheckedChanged += new System.EventHandler(this.checkBox24_CheckedChanged); + // // panel2 // + this.panel2.Controls.Add(this.groupBox1); this.panel2.Dock = System.Windows.Forms.DockStyle.Top; - this.panel2.Location = new System.Drawing.Point(200, 0); + this.panel2.Location = new System.Drawing.Point(177, 0); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(354, 58); + this.panel2.Size = new System.Drawing.Size(377, 58); this.panel2.TabIndex = 1; // + // groupBox1 + // + this.groupBox1.Controls.Add(this.txtage); + this.groupBox1.Controls.Add(this.txtsex); + this.groupBox1.Controls.Add(this.txtNo); + this.groupBox1.Controls.Add(this.txtname); + this.groupBox1.Controls.Add(this.label2); + this.groupBox1.Controls.Add(this.label3); + this.groupBox1.Controls.Add(this.label4); + this.groupBox1.Controls.Add(this.label5); + this.groupBox1.Dock = System.Windows.Forms.DockStyle.Fill; + this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.groupBox1.Location = new System.Drawing.Point(0, 0); + this.groupBox1.Name = "groupBox1"; + this.groupBox1.Size = new System.Drawing.Size(377, 58); + this.groupBox1.TabIndex = 0; + this.groupBox1.TabStop = false; + this.groupBox1.Text = "病人基本信息"; + // + // txtage + // + this.txtage.AutoSize = true; + this.txtage.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtage.Location = new System.Drawing.Point(312, 26); + this.txtage.Name = "txtage"; + this.txtage.Size = new System.Drawing.Size(12, 17); + this.txtage.TabIndex = 6; + this.txtage.Text = " "; + // + // txtsex + // + this.txtsex.AutoSize = true; + this.txtsex.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtsex.Location = new System.Drawing.Point(253, 26); + this.txtsex.Name = "txtsex"; + this.txtsex.Size = new System.Drawing.Size(12, 17); + this.txtsex.TabIndex = 7; + this.txtsex.Text = " "; + // + // txtNo + // + this.txtNo.AutoSize = true; + this.txtNo.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtNo.Location = new System.Drawing.Point(63, 26); + this.txtNo.Name = "txtNo"; + this.txtNo.Size = new System.Drawing.Size(12, 17); + this.txtNo.TabIndex = 8; + this.txtNo.Text = " "; + // + // txtname + // + this.txtname.AutoSize = true; + this.txtname.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.txtname.Location = new System.Drawing.Point(168, 26); + this.txtname.Name = "txtname"; + this.txtname.Size = new System.Drawing.Size(12, 17); + this.txtname.TabIndex = 9; + this.txtname.Text = " "; + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label2.Location = new System.Drawing.Point(279, 26); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(32, 17); + this.label2.TabIndex = 10; + this.label2.Text = "年龄"; + // + // label3 + // + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label3.Location = new System.Drawing.Point(220, 26); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(32, 17); + this.label3.TabIndex = 11; + this.label3.Text = "性别"; + // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label4.Location = new System.Drawing.Point(11, 26); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(44, 17); + this.label4.TabIndex = 12; + this.label4.Text = "住院号"; + // + // label5 + // + this.label5.AutoSize = true; + this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label5.Location = new System.Drawing.Point(127, 26); + this.label5.Name = "label5"; + this.label5.Size = new System.Drawing.Size(32, 17); + this.label5.TabIndex = 13; + this.label5.Text = "姓名"; + // // tabControl1 // this.tabControl1.CanReorderTabs = true; - this.tabControl1.Controls.Add(this.tabControlPanel3); - this.tabControl1.Controls.Add(this.tabControlPanel2); this.tabControl1.Controls.Add(this.tabControlPanel1); + this.tabControl1.Controls.Add(this.tabControlPanel2); + this.tabControl1.Controls.Add(this.tabControlPanel3); this.tabControl1.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControl1.Location = new System.Drawing.Point(200, 58); + this.tabControl1.Location = new System.Drawing.Point(177, 58); this.tabControl1.Name = "tabControl1"; this.tabControl1.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold); this.tabControl1.SelectedTabIndex = 2; - this.tabControl1.Size = new System.Drawing.Size(354, 671); + this.tabControl1.Size = new System.Drawing.Size(377, 671); this.tabControl1.TabIndex = 2; this.tabControl1.TabLayoutType = DevComponents.DotNetBar.eTabLayoutType.FixedWithNavigationBox; this.tabControl1.Tabs.Add(this.tabItem1); @@ -291,12 +587,6 @@ namespace AIMS.OperationAanesthesia this.tabControl1.Tabs.Add(this.tabItem3); this.tabControl1.Text = "tabControl1"; // - // tabItem1 - // - this.tabItem1.AttachedControl = this.tabControlPanel1; - this.tabItem1.Name = "tabItem1"; - this.tabItem1.Text = "麻醉实施"; - // // tabControlPanel1 // this.tabControlPanel1.Controls.Add(this.panelEx1); @@ -305,7 +595,7 @@ namespace AIMS.OperationAanesthesia this.tabControlPanel1.Location = new System.Drawing.Point(0, 26); this.tabControlPanel1.Name = "tabControlPanel1"; this.tabControlPanel1.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel1.Size = new System.Drawing.Size(354, 645); + this.tabControlPanel1.Size = new System.Drawing.Size(377, 645); this.tabControlPanel1.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); this.tabControlPanel1.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); this.tabControlPanel1.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; @@ -325,7 +615,7 @@ namespace AIMS.OperationAanesthesia this.panelEx1.Dock = System.Windows.Forms.DockStyle.Fill; this.panelEx1.Location = new System.Drawing.Point(1, 1); this.panelEx1.Name = "panelEx1"; - this.panelEx1.Size = new System.Drawing.Size(352, 643); + this.panelEx1.Size = new System.Drawing.Size(375, 643); this.panelEx1.Style.Alignment = System.Drawing.StringAlignment.Center; this.panelEx1.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; this.panelEx1.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; @@ -336,112 +626,6 @@ namespace AIMS.OperationAanesthesia this.panelEx1.TabIndex = 0; this.panelEx1.Text = "panelEx1"; // - // tabItem2 - // - this.tabItem2.AttachedControl = this.tabControlPanel2; - this.tabItem2.Name = "tabItem2"; - this.tabItem2.Text = "手术开始"; - // - // tabControlPanel2 - // - this.tabControlPanel2.Controls.Add(this.panelEx2); - this.tabControlPanel2.DisabledBackColor = System.Drawing.Color.Empty; - this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel2.Location = new System.Drawing.Point(0, 26); - this.tabControlPanel2.Name = "tabControlPanel2"; - this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel2.Size = new System.Drawing.Size(354, 645); - this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); - this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); - this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel2.Style.GradientAngle = 90; - this.tabControlPanel2.TabIndex = 5; - this.tabControlPanel2.TabItem = this.tabItem2; - // - // tabItem3 - // - this.tabItem3.AttachedControl = this.tabControlPanel3; - this.tabItem3.Name = "tabItem3"; - this.tabItem3.Text = "离手术室"; - // - // tabControlPanel3 - // - this.tabControlPanel3.Controls.Add(this.panelEx3); - this.tabControlPanel3.DisabledBackColor = System.Drawing.Color.Empty; - this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.tabControlPanel3.Location = new System.Drawing.Point(0, 26); - this.tabControlPanel3.Name = "tabControlPanel3"; - this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); - this.tabControlPanel3.Size = new System.Drawing.Size(354, 645); - this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); - this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); - this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); - this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) - | DevComponents.DotNetBar.eBorderSide.Bottom))); - this.tabControlPanel3.Style.GradientAngle = 90; - this.tabControlPanel3.TabIndex = 9; - this.tabControlPanel3.TabItem = this.tabItem3; - // - // panelEx2 - // - this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control; - this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.panelEx2.Controls.Add(this.panel31); - this.panelEx2.Controls.Add(this.panel30); - this.panelEx2.Controls.Add(this.panel29); - this.panelEx2.Controls.Add(this.panel27); - this.panelEx2.Controls.Add(this.panel26); - this.panelEx2.Controls.Add(this.label23); - this.panelEx2.Controls.Add(this.panel45); - this.panelEx2.Controls.Add(this.panel46); - this.panelEx2.Controls.Add(this.panel47); - this.panelEx2.Controls.Add(this.panel48); - this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty; - this.panelEx2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panelEx2.Location = new System.Drawing.Point(1, 1); - this.panelEx2.Name = "panelEx2"; - this.panelEx2.Size = new System.Drawing.Size(352, 643); - this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center; - this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.panelEx2.Style.GradientAngle = 90; - this.panelEx2.TabIndex = 4; - // - // panelEx3 - // - this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control; - this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.panelEx3.Controls.Add(this.panel40); - this.panelEx3.Controls.Add(this.panel38); - this.panelEx3.Controls.Add(this.label34); - this.panelEx3.Controls.Add(this.panel37); - this.panelEx3.Controls.Add(this.panel36); - this.panelEx3.Controls.Add(this.panel35); - this.panelEx3.Controls.Add(this.panel34); - this.panelEx3.Controls.Add(this.panel69); - this.panelEx3.Controls.Add(this.panel70); - this.panelEx3.Controls.Add(this.panel71); - this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty; - this.panelEx3.Dock = System.Windows.Forms.DockStyle.Fill; - this.panelEx3.Location = new System.Drawing.Point(1, 1); - this.panelEx3.Name = "panelEx3"; - this.panelEx3.Size = new System.Drawing.Size(352, 643); - this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center; - this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; - this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; - this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; - this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; - this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; - this.panelEx3.Style.GradientAngle = 90; - this.panelEx3.TabIndex = 4; - // // panelOper // this.panelOper.Controls.Add(this.panel23); @@ -468,19 +652,33 @@ namespace AIMS.OperationAanesthesia this.panelOper.Dock = System.Windows.Forms.DockStyle.Fill; this.panelOper.Location = new System.Drawing.Point(0, 0); this.panelOper.Name = "panelOper"; - this.panelOper.Size = new System.Drawing.Size(352, 643); + this.panelOper.Size = new System.Drawing.Size(375, 643); this.panelOper.TabIndex = 1552; // // panel23 // this.panel23.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel23.Controls.Add(this.textBoxX3); this.panel23.Controls.Add(this.label41); this.panel23.Dock = System.Windows.Forms.DockStyle.Top; this.panel23.Location = new System.Drawing.Point(0, 600); this.panel23.Name = "panel23"; - this.panel23.Size = new System.Drawing.Size(352, 40); + this.panel23.Size = new System.Drawing.Size(375, 40); this.panel23.TabIndex = 1638; // + // textBoxX3 + // + // + // + // + this.textBoxX3.Border.Class = "TextBoxBorder"; + this.textBoxX3.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.textBoxX3.Location = new System.Drawing.Point(63, 9); + this.textBoxX3.Name = "textBoxX3"; + this.textBoxX3.PreventEnterBeep = true; + this.textBoxX3.Size = new System.Drawing.Size(224, 21); + this.textBoxX3.TabIndex = 1574; + // // label41 // this.label41.Anchor = System.Windows.Forms.AnchorStyles.Left; @@ -501,7 +699,7 @@ namespace AIMS.OperationAanesthesia this.panel22.Dock = System.Windows.Forms.DockStyle.Top; this.panel22.Location = new System.Drawing.Point(0, 570); this.panel22.Name = "panel22"; - this.panel22.Size = new System.Drawing.Size(352, 30); + this.panel22.Size = new System.Drawing.Size(375, 30); this.panel22.TabIndex = 1637; // // checkBox46 @@ -548,7 +746,7 @@ namespace AIMS.OperationAanesthesia this.panel21.Dock = System.Windows.Forms.DockStyle.Top; this.panel21.Location = new System.Drawing.Point(0, 540); this.panel21.Name = "panel21"; - this.panel21.Size = new System.Drawing.Size(352, 30); + this.panel21.Size = new System.Drawing.Size(375, 30); this.panel21.TabIndex = 1636; // // checkBox44 @@ -595,7 +793,7 @@ namespace AIMS.OperationAanesthesia this.panel20.Dock = System.Windows.Forms.DockStyle.Top; this.panel20.Location = new System.Drawing.Point(0, 510); this.panel20.Name = "panel20"; - this.panel20.Size = new System.Drawing.Size(352, 30); + this.panel20.Size = new System.Drawing.Size(375, 30); this.panel20.TabIndex = 1635; // // checkBox42 @@ -642,7 +840,7 @@ namespace AIMS.OperationAanesthesia this.panel19.Dock = System.Windows.Forms.DockStyle.Top; this.panel19.Location = new System.Drawing.Point(0, 480); this.panel19.Name = "panel19"; - this.panel19.Size = new System.Drawing.Size(352, 30); + this.panel19.Size = new System.Drawing.Size(375, 30); this.panel19.TabIndex = 1634; // // checkBox33 @@ -689,7 +887,7 @@ namespace AIMS.OperationAanesthesia this.panel18.Dock = System.Windows.Forms.DockStyle.Top; this.panel18.Location = new System.Drawing.Point(0, 450); this.panel18.Name = "panel18"; - this.panel18.Size = new System.Drawing.Size(352, 30); + this.panel18.Size = new System.Drawing.Size(375, 30); this.panel18.TabIndex = 1633; // // radioButton26 @@ -736,7 +934,7 @@ namespace AIMS.OperationAanesthesia this.panel17.Dock = System.Windows.Forms.DockStyle.Top; this.panel17.Location = new System.Drawing.Point(0, 420); this.panel17.Name = "panel17"; - this.panel17.Size = new System.Drawing.Size(352, 30); + this.panel17.Size = new System.Drawing.Size(375, 30); this.panel17.TabIndex = 1632; // // checkBox31 @@ -782,7 +980,7 @@ namespace AIMS.OperationAanesthesia this.panel16.Dock = System.Windows.Forms.DockStyle.Top; this.panel16.Location = new System.Drawing.Point(0, 390); this.panel16.Name = "panel16"; - this.panel16.Size = new System.Drawing.Size(352, 30); + this.panel16.Size = new System.Drawing.Size(375, 30); this.panel16.TabIndex = 1631; // // checkBox29 @@ -828,7 +1026,7 @@ namespace AIMS.OperationAanesthesia this.panel15.Dock = System.Windows.Forms.DockStyle.Top; this.panel15.Location = new System.Drawing.Point(0, 360); this.panel15.Name = "panel15"; - this.panel15.Size = new System.Drawing.Size(352, 30); + this.panel15.Size = new System.Drawing.Size(375, 30); this.panel15.TabIndex = 1630; // // radioButton23 @@ -877,7 +1075,7 @@ namespace AIMS.OperationAanesthesia this.panel14.Dock = System.Windows.Forms.DockStyle.Top; this.panel14.Location = new System.Drawing.Point(0, 330); this.panel14.Name = "panel14"; - this.panel14.Size = new System.Drawing.Size(352, 30); + this.panel14.Size = new System.Drawing.Size(375, 30); this.panel14.TabIndex = 1629; // // radioButton22 @@ -924,7 +1122,7 @@ namespace AIMS.OperationAanesthesia this.panel13.Dock = System.Windows.Forms.DockStyle.Top; this.panel13.Location = new System.Drawing.Point(0, 300); this.panel13.Name = "panel13"; - this.panel13.Size = new System.Drawing.Size(352, 30); + this.panel13.Size = new System.Drawing.Size(375, 30); this.panel13.TabIndex = 1628; // // radioButton19 @@ -971,7 +1169,7 @@ namespace AIMS.OperationAanesthesia this.panel12.Dock = System.Windows.Forms.DockStyle.Top; this.panel12.Location = new System.Drawing.Point(0, 270); this.panel12.Name = "panel12"; - this.panel12.Size = new System.Drawing.Size(352, 30); + this.panel12.Size = new System.Drawing.Size(375, 30); this.panel12.TabIndex = 1627; // // radioButton18 @@ -1018,7 +1216,7 @@ namespace AIMS.OperationAanesthesia this.panel11.Dock = System.Windows.Forms.DockStyle.Top; this.panel11.Location = new System.Drawing.Point(0, 240); this.panel11.Name = "panel11"; - this.panel11.Size = new System.Drawing.Size(352, 30); + this.panel11.Size = new System.Drawing.Size(375, 30); this.panel11.TabIndex = 1626; // // radioButton15 @@ -1065,7 +1263,7 @@ namespace AIMS.OperationAanesthesia this.panel10.Dock = System.Windows.Forms.DockStyle.Top; this.panel10.Location = new System.Drawing.Point(0, 210); this.panel10.Name = "panel10"; - this.panel10.Size = new System.Drawing.Size(352, 30); + this.panel10.Size = new System.Drawing.Size(375, 30); this.panel10.TabIndex = 1625; // // checkBox28 @@ -1111,7 +1309,7 @@ namespace AIMS.OperationAanesthesia this.panel9.Dock = System.Windows.Forms.DockStyle.Top; this.panel9.Location = new System.Drawing.Point(0, 180); this.panel9.Name = "panel9"; - this.panel9.Size = new System.Drawing.Size(352, 30); + this.panel9.Size = new System.Drawing.Size(375, 30); this.panel9.TabIndex = 1624; // // radioButton14 @@ -1158,7 +1356,7 @@ namespace AIMS.OperationAanesthesia this.panel8.Dock = System.Windows.Forms.DockStyle.Top; this.panel8.Location = new System.Drawing.Point(0, 150); this.panel8.Name = "panel8"; - this.panel8.Size = new System.Drawing.Size(352, 30); + this.panel8.Size = new System.Drawing.Size(375, 30); this.panel8.TabIndex = 1623; // // radioButton12 @@ -1205,7 +1403,7 @@ namespace AIMS.OperationAanesthesia this.panel7.Dock = System.Windows.Forms.DockStyle.Top; this.panel7.Location = new System.Drawing.Point(0, 120); this.panel7.Name = "panel7"; - this.panel7.Size = new System.Drawing.Size(352, 30); + this.panel7.Size = new System.Drawing.Size(375, 30); this.panel7.TabIndex = 1622; // // radioButton10 @@ -1252,7 +1450,7 @@ namespace AIMS.OperationAanesthesia this.panel6.Dock = System.Windows.Forms.DockStyle.Top; this.panel6.Location = new System.Drawing.Point(0, 90); this.panel6.Name = "panel6"; - this.panel6.Size = new System.Drawing.Size(352, 30); + this.panel6.Size = new System.Drawing.Size(375, 30); this.panel6.TabIndex = 1621; // // radioButton8 @@ -1299,7 +1497,7 @@ namespace AIMS.OperationAanesthesia this.panel5.Dock = System.Windows.Forms.DockStyle.Top; this.panel5.Location = new System.Drawing.Point(0, 60); this.panel5.Name = "panel5"; - this.panel5.Size = new System.Drawing.Size(352, 30); + this.panel5.Size = new System.Drawing.Size(375, 30); this.panel5.TabIndex = 1620; // // radioButton6 @@ -1346,7 +1544,7 @@ namespace AIMS.OperationAanesthesia this.panel4.Dock = System.Windows.Forms.DockStyle.Top; this.panel4.Location = new System.Drawing.Point(0, 30); this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(352, 30); + this.panel4.Size = new System.Drawing.Size(375, 30); this.panel4.TabIndex = 1619; // // radioButton4 @@ -1393,7 +1591,7 @@ namespace AIMS.OperationAanesthesia this.panel3.Dock = System.Windows.Forms.DockStyle.Top; this.panel3.Location = new System.Drawing.Point(0, 0); this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(352, 30); + this.panel3.Size = new System.Drawing.Size(375, 30); this.panel3.TabIndex = 1618; // // radioButton2 @@ -1431,16 +1629,83 @@ namespace AIMS.OperationAanesthesia this.label12.TabIndex = 1654; this.label12.Text = "患者姓名、性别、年龄正确:"; // + // tabItem1 + // + this.tabItem1.AttachedControl = this.tabControlPanel1; + this.tabItem1.Name = "tabItem1"; + this.tabItem1.Text = "麻醉实施"; + // + // tabControlPanel2 + // + this.tabControlPanel2.Controls.Add(this.panelEx2); + this.tabControlPanel2.DisabledBackColor = System.Drawing.Color.Empty; + this.tabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel2.Location = new System.Drawing.Point(0, 26); + this.tabControlPanel2.Name = "tabControlPanel2"; + this.tabControlPanel2.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel2.Size = new System.Drawing.Size(377, 645); + this.tabControlPanel2.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); + this.tabControlPanel2.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.tabControlPanel2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel2.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); + this.tabControlPanel2.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel2.Style.GradientAngle = 90; + this.tabControlPanel2.TabIndex = 5; + this.tabControlPanel2.TabItem = this.tabItem2; + // + // panelEx2 + // + this.panelEx2.CanvasColor = System.Drawing.SystemColors.Control; + this.panelEx2.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.panelEx2.Controls.Add(this.panel31); + this.panelEx2.Controls.Add(this.panel30); + this.panelEx2.Controls.Add(this.panel29); + this.panelEx2.Controls.Add(this.panel27); + this.panelEx2.Controls.Add(this.panel26); + this.panelEx2.Controls.Add(this.label23); + this.panelEx2.Controls.Add(this.panel45); + this.panelEx2.Controls.Add(this.panel46); + this.panelEx2.Controls.Add(this.panel47); + this.panelEx2.Controls.Add(this.panel48); + this.panelEx2.DisabledBackColor = System.Drawing.Color.Empty; + this.panelEx2.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelEx2.Location = new System.Drawing.Point(1, 1); + this.panelEx2.Name = "panelEx2"; + this.panelEx2.Size = new System.Drawing.Size(375, 643); + this.panelEx2.Style.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx2.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.panelEx2.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.panelEx2.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.panelEx2.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.panelEx2.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.panelEx2.Style.GradientAngle = 90; + this.panelEx2.TabIndex = 4; + // // panel31 // this.panel31.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel31.Controls.Add(this.textBoxX2); this.panel31.Controls.Add(this.label28); this.panel31.Dock = System.Windows.Forms.DockStyle.Top; this.panel31.Location = new System.Drawing.Point(0, 513); this.panel31.Name = "panel31"; - this.panel31.Size = new System.Drawing.Size(352, 40); + this.panel31.Size = new System.Drawing.Size(375, 40); this.panel31.TabIndex = 1653; // + // textBoxX2 + // + // + // + // + this.textBoxX2.Border.Class = "TextBoxBorder"; + this.textBoxX2.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.textBoxX2.Location = new System.Drawing.Point(63, 9); + this.textBoxX2.Name = "textBoxX2"; + this.textBoxX2.PreventEnterBeep = true; + this.textBoxX2.Size = new System.Drawing.Size(224, 21); + this.textBoxX2.TabIndex = 1574; + // // label28 // this.label28.Anchor = System.Windows.Forms.AnchorStyles.Left; @@ -1461,7 +1726,7 @@ namespace AIMS.OperationAanesthesia this.panel30.Dock = System.Windows.Forms.DockStyle.Top; this.panel30.Location = new System.Drawing.Point(0, 450); this.panel30.Name = "panel30"; - this.panel30.Size = new System.Drawing.Size(352, 63); + this.panel30.Size = new System.Drawing.Size(375, 63); this.panel30.TabIndex = 1652; // // radioButton46 @@ -1510,7 +1775,7 @@ namespace AIMS.OperationAanesthesia this.panel29.Dock = System.Windows.Forms.DockStyle.Top; this.panel29.Location = new System.Drawing.Point(0, 330); this.panel29.Name = "panel29"; - this.panel29.Size = new System.Drawing.Size(352, 120); + this.panel29.Size = new System.Drawing.Size(375, 120); this.panel29.TabIndex = 1651; // // checkBox5 @@ -1581,7 +1846,7 @@ namespace AIMS.OperationAanesthesia this.panel27.Dock = System.Windows.Forms.DockStyle.Top; this.panel27.Location = new System.Drawing.Point(0, 270); this.panel27.Name = "panel27"; - this.panel27.Size = new System.Drawing.Size(352, 60); + this.panel27.Size = new System.Drawing.Size(375, 60); this.panel27.TabIndex = 1650; // // label26 @@ -1630,7 +1895,7 @@ namespace AIMS.OperationAanesthesia this.panel26.Dock = System.Windows.Forms.DockStyle.Top; this.panel26.Location = new System.Drawing.Point(0, 150); this.panel26.Name = "panel26"; - this.panel26.Size = new System.Drawing.Size(352, 120); + this.panel26.Size = new System.Drawing.Size(375, 120); this.panel26.TabIndex = 1649; // // checkBox4 @@ -1701,7 +1966,7 @@ namespace AIMS.OperationAanesthesia this.label23.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label23.Location = new System.Drawing.Point(0, 120); this.label23.Name = "label23"; - this.label23.Size = new System.Drawing.Size(352, 30); + this.label23.Size = new System.Drawing.Size(375, 30); this.label23.TabIndex = 1648; this.label23.Text = "手术、麻醉风险预警"; this.label23.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -1715,7 +1980,7 @@ namespace AIMS.OperationAanesthesia this.panel45.Dock = System.Windows.Forms.DockStyle.Top; this.panel45.Location = new System.Drawing.Point(0, 90); this.panel45.Name = "panel45"; - this.panel45.Size = new System.Drawing.Size(352, 30); + this.panel45.Size = new System.Drawing.Size(375, 30); this.panel45.TabIndex = 1647; // // checkBox35 @@ -1761,7 +2026,7 @@ namespace AIMS.OperationAanesthesia this.panel46.Dock = System.Windows.Forms.DockStyle.Top; this.panel46.Location = new System.Drawing.Point(0, 60); this.panel46.Name = "panel46"; - this.panel46.Size = new System.Drawing.Size(352, 30); + this.panel46.Size = new System.Drawing.Size(375, 30); this.panel46.TabIndex = 1646; // // radioButton32 @@ -1808,7 +2073,7 @@ namespace AIMS.OperationAanesthesia this.panel47.Dock = System.Windows.Forms.DockStyle.Top; this.panel47.Location = new System.Drawing.Point(0, 30); this.panel47.Name = "panel47"; - this.panel47.Size = new System.Drawing.Size(352, 30); + this.panel47.Size = new System.Drawing.Size(375, 30); this.panel47.TabIndex = 1645; // // radioButton30 @@ -1855,7 +2120,7 @@ namespace AIMS.OperationAanesthesia this.panel48.Dock = System.Windows.Forms.DockStyle.Top; this.panel48.Location = new System.Drawing.Point(0, 0); this.panel48.Name = "panel48"; - this.panel48.Size = new System.Drawing.Size(352, 30); + this.panel48.Size = new System.Drawing.Size(375, 30); this.panel48.TabIndex = 1644; // // radioButton28 @@ -1893,16 +2158,83 @@ namespace AIMS.OperationAanesthesia this.label47.TabIndex = 1654; this.label47.Text = "患者姓名、性别、年龄正确:"; // + // tabItem2 + // + this.tabItem2.AttachedControl = this.tabControlPanel2; + this.tabItem2.Name = "tabItem2"; + this.tabItem2.Text = "手术开始"; + // + // tabControlPanel3 + // + this.tabControlPanel3.Controls.Add(this.panelEx3); + this.tabControlPanel3.DisabledBackColor = System.Drawing.Color.Empty; + this.tabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.tabControlPanel3.Location = new System.Drawing.Point(0, 26); + this.tabControlPanel3.Name = "tabControlPanel3"; + this.tabControlPanel3.Padding = new System.Windows.Forms.Padding(1); + this.tabControlPanel3.Size = new System.Drawing.Size(377, 645); + this.tabControlPanel3.Style.BackColor1.Color = System.Drawing.Color.FromArgb(((int)(((byte)(142)))), ((int)(((byte)(179)))), ((int)(((byte)(231))))); + this.tabControlPanel3.Style.BackColor2.Color = System.Drawing.Color.FromArgb(((int)(((byte)(223)))), ((int)(((byte)(237)))), ((int)(((byte)(254))))); + this.tabControlPanel3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.tabControlPanel3.Style.BorderColor.Color = System.Drawing.Color.FromArgb(((int)(((byte)(59)))), ((int)(((byte)(97)))), ((int)(((byte)(156))))); + this.tabControlPanel3.Style.BorderSide = ((DevComponents.DotNetBar.eBorderSide)(((DevComponents.DotNetBar.eBorderSide.Left | DevComponents.DotNetBar.eBorderSide.Right) + | DevComponents.DotNetBar.eBorderSide.Bottom))); + this.tabControlPanel3.Style.GradientAngle = 90; + this.tabControlPanel3.TabIndex = 9; + this.tabControlPanel3.TabItem = this.tabItem3; + // + // panelEx3 + // + this.panelEx3.CanvasColor = System.Drawing.SystemColors.Control; + this.panelEx3.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.panelEx3.Controls.Add(this.panel40); + this.panelEx3.Controls.Add(this.panel38); + this.panelEx3.Controls.Add(this.label34); + this.panelEx3.Controls.Add(this.panel37); + this.panelEx3.Controls.Add(this.panel36); + this.panelEx3.Controls.Add(this.panel35); + this.panelEx3.Controls.Add(this.panel34); + this.panelEx3.Controls.Add(this.panel69); + this.panelEx3.Controls.Add(this.panel70); + this.panelEx3.Controls.Add(this.panel71); + this.panelEx3.DisabledBackColor = System.Drawing.Color.Empty; + this.panelEx3.Dock = System.Windows.Forms.DockStyle.Fill; + this.panelEx3.Location = new System.Drawing.Point(1, 1); + this.panelEx3.Name = "panelEx3"; + this.panelEx3.Size = new System.Drawing.Size(375, 643); + this.panelEx3.Style.Alignment = System.Drawing.StringAlignment.Center; + this.panelEx3.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; + this.panelEx3.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; + this.panelEx3.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; + this.panelEx3.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; + this.panelEx3.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; + this.panelEx3.Style.GradientAngle = 90; + this.panelEx3.TabIndex = 4; + // // panel40 // this.panel40.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel40.Controls.Add(this.textBoxX1); this.panel40.Controls.Add(this.label36); this.panel40.Dock = System.Windows.Forms.DockStyle.Top; this.panel40.Location = new System.Drawing.Point(0, 390); this.panel40.Name = "panel40"; - this.panel40.Size = new System.Drawing.Size(352, 40); + this.panel40.Size = new System.Drawing.Size(375, 40); this.panel40.TabIndex = 1654; // + // textBoxX1 + // + // + // + // + this.textBoxX1.Border.Class = "TextBoxBorder"; + this.textBoxX1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.textBoxX1.Location = new System.Drawing.Point(52, 9); + this.textBoxX1.Name = "textBoxX1"; + this.textBoxX1.PreventEnterBeep = true; + this.textBoxX1.Size = new System.Drawing.Size(224, 21); + this.textBoxX1.TabIndex = 1573; + // // label36 // this.label36.Anchor = System.Windows.Forms.AnchorStyles.Left; @@ -1930,7 +2262,7 @@ namespace AIMS.OperationAanesthesia this.panel38.Dock = System.Windows.Forms.DockStyle.Top; this.panel38.Location = new System.Drawing.Point(0, 240); this.panel38.Name = "panel38"; - this.panel38.Size = new System.Drawing.Size(352, 150); + this.panel38.Size = new System.Drawing.Size(375, 150); this.panel38.TabIndex = 1653; // // checkBox20 @@ -2062,7 +2394,7 @@ namespace AIMS.OperationAanesthesia this.label34.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.label34.Location = new System.Drawing.Point(0, 210); this.label34.Name = "label34"; - this.label34.Size = new System.Drawing.Size(352, 30); + this.label34.Size = new System.Drawing.Size(375, 30); this.label34.TabIndex = 1652; this.label34.Text = "各种管路"; this.label34.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -2076,7 +2408,7 @@ namespace AIMS.OperationAanesthesia this.panel37.Dock = System.Windows.Forms.DockStyle.Top; this.panel37.Location = new System.Drawing.Point(0, 180); this.panel37.Name = "panel37"; - this.panel37.Size = new System.Drawing.Size(352, 30); + this.panel37.Size = new System.Drawing.Size(375, 30); this.panel37.TabIndex = 1651; // // checkBox39 @@ -2123,7 +2455,7 @@ namespace AIMS.OperationAanesthesia this.panel36.Dock = System.Windows.Forms.DockStyle.Top; this.panel36.Location = new System.Drawing.Point(0, 150); this.panel36.Name = "panel36"; - this.panel36.Size = new System.Drawing.Size(352, 30); + this.panel36.Size = new System.Drawing.Size(375, 30); this.panel36.TabIndex = 1650; // // radioButton44 @@ -2170,7 +2502,7 @@ namespace AIMS.OperationAanesthesia this.panel35.Dock = System.Windows.Forms.DockStyle.Top; this.panel35.Location = new System.Drawing.Point(0, 120); this.panel35.Name = "panel35"; - this.panel35.Size = new System.Drawing.Size(352, 30); + this.panel35.Size = new System.Drawing.Size(375, 30); this.panel35.TabIndex = 1649; // // radioButton42 @@ -2217,7 +2549,7 @@ namespace AIMS.OperationAanesthesia this.panel34.Dock = System.Windows.Forms.DockStyle.Top; this.panel34.Location = new System.Drawing.Point(0, 90); this.panel34.Name = "panel34"; - this.panel34.Size = new System.Drawing.Size(352, 30); + this.panel34.Size = new System.Drawing.Size(375, 30); this.panel34.TabIndex = 1648; // // radioButton40 @@ -2264,7 +2596,7 @@ namespace AIMS.OperationAanesthesia this.panel69.Dock = System.Windows.Forms.DockStyle.Top; this.panel69.Location = new System.Drawing.Point(0, 60); this.panel69.Name = "panel69"; - this.panel69.Size = new System.Drawing.Size(352, 30); + this.panel69.Size = new System.Drawing.Size(375, 30); this.panel69.TabIndex = 1647; // // radioButton38 @@ -2311,7 +2643,7 @@ namespace AIMS.OperationAanesthesia this.panel70.Dock = System.Windows.Forms.DockStyle.Top; this.panel70.Location = new System.Drawing.Point(0, 30); this.panel70.Name = "panel70"; - this.panel70.Size = new System.Drawing.Size(352, 30); + this.panel70.Size = new System.Drawing.Size(375, 30); this.panel70.TabIndex = 1646; // // radioButton36 @@ -2358,7 +2690,7 @@ namespace AIMS.OperationAanesthesia this.panel71.Dock = System.Windows.Forms.DockStyle.Top; this.panel71.Location = new System.Drawing.Point(0, 0); this.panel71.Name = "panel71"; - this.panel71.Size = new System.Drawing.Size(352, 30); + this.panel71.Size = new System.Drawing.Size(375, 30); this.panel71.TabIndex = 1645; // // radioButton34 @@ -2396,6 +2728,12 @@ namespace AIMS.OperationAanesthesia this.label70.TabIndex = 1654; this.label70.Text = "患者姓名、性别、年龄正确:"; // + // tabItem3 + // + this.tabItem3.AttachedControl = this.tabControlPanel3; + this.tabItem3.Name = "tabItem3"; + this.tabItem3.Text = "离手术室"; + // // frmSafetyExamine // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -2405,15 +2743,24 @@ namespace AIMS.OperationAanesthesia this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "frmSafetyExamine"; - this.Text = "安全核查表"; + this.ShowIcon = false; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "安全核查"; + this.Load += new System.EventHandler(this.frmSafetyExamine_Load); + this.panel1.ResumeLayout(false); + this.groupBox4.ResumeLayout(false); + this.groupBox4.PerformLayout(); + this.groupBox3.ResumeLayout(false); + this.groupBox3.PerformLayout(); + this.groupBox2.ResumeLayout(false); + this.groupBox2.PerformLayout(); + this.panel2.ResumeLayout(false); + this.groupBox1.ResumeLayout(false); + this.groupBox1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.tabControl1)).EndInit(); this.tabControl1.ResumeLayout(false); this.tabControlPanel1.ResumeLayout(false); this.panelEx1.ResumeLayout(false); - this.tabControlPanel2.ResumeLayout(false); - this.tabControlPanel3.ResumeLayout(false); - this.panelEx2.ResumeLayout(false); - this.panelEx3.ResumeLayout(false); this.panelOper.ResumeLayout(false); this.panel23.ResumeLayout(false); this.panel23.PerformLayout(); @@ -2457,6 +2804,8 @@ namespace AIMS.OperationAanesthesia this.panel4.PerformLayout(); this.panel3.ResumeLayout(false); this.panel3.PerformLayout(); + this.tabControlPanel2.ResumeLayout(false); + this.panelEx2.ResumeLayout(false); this.panel31.ResumeLayout(false); this.panel31.PerformLayout(); this.panel30.ResumeLayout(false); @@ -2475,6 +2824,8 @@ namespace AIMS.OperationAanesthesia this.panel47.PerformLayout(); this.panel48.ResumeLayout(false); this.panel48.PerformLayout(); + this.tabControlPanel3.ResumeLayout(false); + this.panelEx3.ResumeLayout(false); this.panel40.ResumeLayout(false); this.panel40.PerformLayout(); this.panel38.ResumeLayout(false); @@ -2675,5 +3026,31 @@ namespace AIMS.OperationAanesthesia private System.Windows.Forms.CheckBox radioButton33; public System.Windows.Forms.Label label70; private DevComponents.DotNetBar.TabItem tabItem3; + private DevComponents.DotNetBar.Controls.TextBoxX textBoxX3; + private DevComponents.DotNetBar.Controls.TextBoxX textBoxX2; + private DevComponents.DotNetBar.Controls.TextBoxX textBoxX1; + private System.Windows.Forms.GroupBox groupBox1; + private System.Windows.Forms.GroupBox groupBox2; + private System.Windows.Forms.CheckBox checkBox24; + private System.Windows.Forms.Label txtage; + private System.Windows.Forms.Label txtsex; + private System.Windows.Forms.Label txtNo; + private System.Windows.Forms.Label txtname; + private System.Windows.Forms.Label label2; + private System.Windows.Forms.Label label3; + private System.Windows.Forms.Label label4; + private System.Windows.Forms.Label label5; + private DevComponents.DotNetBar.ButtonX buttonX2; + private DevComponents.DotNetBar.ButtonX buttonX1; + private System.Windows.Forms.GroupBox groupBox4; + private System.Windows.Forms.GroupBox groupBox3; + private System.Windows.Forms.Label label6; + private System.Windows.Forms.TextBox txtAnesthesiaDoctor; + private System.Windows.Forms.Label label15; + private System.Windows.Forms.Label label7; + private System.Windows.Forms.TextBox txtInstrumentNurse; + private System.Windows.Forms.TextBox txtOperationDoctor; + private System.Windows.Forms.CheckBox checkBox26; + private System.Windows.Forms.CheckBox checkBox25; } } \ No newline at end of file diff --git a/AIMS/OperationAanesthesia/frmSafetyExamine.cs b/AIMS/OperationAanesthesia/frmSafetyExamine.cs index 6f7c867..fae63a4 100644 --- a/AIMS/OperationAanesthesia/frmSafetyExamine.cs +++ b/AIMS/OperationAanesthesia/frmSafetyExamine.cs @@ -1,19 +1,161 @@ -using System; +using AIMSBLL; +using DocumentManagement; +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 { public partial class frmSafetyExamine : Form { + public int PatientId; + public PatientRecord Patient; + + private PublicUI.UI.frmSelectPerson frmOperationDoctor = new PublicUI.UI.frmSelectPerson(); + private PublicUI.UI.frmSelectPerson frmtxtAnesthesiaDoctor = new PublicUI.UI.frmSelectPerson(); + private PublicUI.UI.frmSelectPerson frmInstrumentNurse = new PublicUI.UI.frmSelectPerson(); + private List SelectOperationDoctor = new List(); //主刀医生 + private List SelecttxtAnesthesiaDoctorData = new List(); //麻醉医生 + private List SelectInstrumentNurseData = new List(); //器械护士 + public frmSafetyExamine() { InitializeComponent(); } + + private void frmSafetyExamine_Load(object sender, EventArgs e) + { + Patient = PatientRecord.GetPatientRecord(PatientId); + txtNo.Text=Patient.MdrecNo; + txtname.Text = Patient.PatientName; + txtsex.Text = Patient.Sex; + txtage.Text = Patient.Age; + + txtAnesthesiaDoctor.Text=Patient.AnesthesiaDoctor; + txtOperationDoctor.Text=Patient.OperationDoctor; + txtInstrumentNurse.Text=Patient.InstrumentNurse; + } + + private void OperationDoctor_Click(object sender, EventArgs e) + { + frmOperationDoctor = new PublicUI.UI.frmSelectPerson(); + frmOperationDoctor.PersonType = "医生"; + frmOperationDoctor.SelectDepartmentName = Patient.ApplyDepName; + frmOperationDoctor.SelectPersonData = SelectOperationDoctor; + frmOperationDoctor.FormClosed += new FormClosedEventHandler(frmSelectPerson_FormClosed); + frmOperationDoctor.ShowDialog(); + } + + void frmSelectPerson_FormClosed(object sender, FormClosedEventArgs e) + { + txtOperationDoctor.Text = ""; + if (frmOperationDoctor.SelectPersonData.Count > 0) + { + SelectOperationDoctor = frmOperationDoctor.SelectPersonData; + foreach (int RowId in frmOperationDoctor.SelectPersonData) + { + txtOperationDoctor.Text += BPerson.SelectSingle(RowId).Name + " ,"; + } + int idxStart = txtOperationDoctor.Text.LastIndexOf(" ,"); + txtOperationDoctor.Text = txtOperationDoctor.Text.Substring(0, idxStart); + } + } + + private void txtAnesthesiaDoctor_Click(object sender, EventArgs e) + { + frmtxtAnesthesiaDoctor = new PublicUI.UI.frmSelectPerson(); + frmtxtAnesthesiaDoctor.PersonType = "医生"; + frmtxtAnesthesiaDoctor.SelectDepartmentName = Patient.ApplyDepName; + frmtxtAnesthesiaDoctor.SelectPersonData = SelecttxtAnesthesiaDoctorData; + frmtxtAnesthesiaDoctor.FormClosed += new FormClosedEventHandler(frmSelectPerson2_FormClosed); + frmtxtAnesthesiaDoctor.ShowDialog(); + } + + void frmSelectPerson2_FormClosed(object sender, FormClosedEventArgs e) + { + txtAnesthesiaDoctor.Text = ""; + if (frmtxtAnesthesiaDoctor.SelectPersonData.Count > 0) + { + SelecttxtAnesthesiaDoctorData = frmtxtAnesthesiaDoctor.SelectPersonData; + foreach (int RowId in frmtxtAnesthesiaDoctor.SelectPersonData) + { + txtAnesthesiaDoctor.Text += BPerson.SelectSingle(RowId).Name + " ,"; + } + int idxStart = txtAnesthesiaDoctor.Text.LastIndexOf(" ,"); + txtAnesthesiaDoctor.Text = txtAnesthesiaDoctor.Text.Substring(0, idxStart); + } + } + + private void txtInstrumentNurse_Click(object sender, EventArgs e) + { + frmInstrumentNurse = new PublicUI.UI.frmSelectPerson(); + frmInstrumentNurse.PersonType = "手术室护士"; + frmInstrumentNurse.SelectDepartmentName = "手术室"; + frmInstrumentNurse.SelectPersonData = SelectInstrumentNurseData; + frmInstrumentNurse.FormClosed += new FormClosedEventHandler(frmInstrumentNurse_FormClosed); + frmInstrumentNurse.ShowDialog(); + } + + void frmInstrumentNurse_FormClosed(object sender, FormClosedEventArgs e) + { + txtInstrumentNurse.Text = ""; + if (frmInstrumentNurse.SelectPersonData.Count > 0) + { + SelectInstrumentNurseData = frmInstrumentNurse.SelectPersonData; + foreach (int RowId in frmInstrumentNurse.SelectPersonData) + { + txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ","; + } + int idxStart = txtInstrumentNurse.Text.LastIndexOf(","); + txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, idxStart); + } + } + + private static void ClearControlsContent(Control cl) + { + for (int i = 0; i < cl.Controls.Count; i++) + { + if (cl.Controls[i].Controls.Count > 0) + { + ClearControlsContent(cl.Controls[i] as Control); + } + RadioButton radioButton = cl.Controls[i] as RadioButton; + if (radioButton != null) + { + if (radioButton.Text == "是") + { + radioButton.Checked = true; + } + } + else + { + CheckBox cb = cl.Controls[i] as CheckBox; + if (cb != null) + { + if (cb.Text == "是") + { + cb.Checked = true; + } + if (cb.Text == "有") + { + cb.Checked = true; + } + } + } + } + } + + private void checkBox24_CheckedChanged(object sender, EventArgs e) + { + ClearControlsContent(panelOper); + ClearControlsContent(panelEx2); + ClearControlsContent(panelEx3); + checkBox25.Checked = true; + } + + private void buttonX1_Click(object sender, EventArgs e) + { + + } } } diff --git a/AIMS/OperationAfter/frmOperationManage.cs b/AIMS/OperationAfter/frmOperationManage.cs index 4710996..cbe7119 100644 --- a/AIMS/OperationAfter/frmOperationManage.cs +++ b/AIMS/OperationAfter/frmOperationManage.cs @@ -56,7 +56,8 @@ namespace AIMS.OperationAfter.UI dtpEndDate.Value = DateTime.Parse(dtpEndDate.Value.ToString("yyyy-MM-dd")).AddDays(4); tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3,4,5,6,7,8,9,10,11", "全部")); - tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3,4,5", "已排程")); + tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("1,2,3", "待排程")); + tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("4,5", "已排程")); tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("6,7", "手术中")); tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("8,9", "手术结束")); tokenEditor1.Tokens.Add(new DevComponents.DotNetBar.Controls.EditToken("10,11", "手术停止")); @@ -162,10 +163,8 @@ namespace AIMS.OperationAfter.UI string asa = txtASALevel.Text; System.Data.DataTable dt = BOperationApply.GetOperationDoingDataTable(dtpBegInDate.Value.ToString("yyyy-MM-dd"), dtpEndDate.Value.AddDays(1).ToString("yyyy-MM-dd")); - string Where = " RecoverId=1 "; - if (state == "") - Where += " and StateId >1 "; - else + string Where = " (RecoverId is null or RecoverId=1 ) "; + if (state != "") Where += " and StateId IN (" + state + ") "; if (Department != "") Where += " and PatientDept LIKE '%" + Department + "%' "; diff --git a/AIMS/OperationAfter/frmPhysiologyLargeScreen.cs b/AIMS/OperationAfter/frmPhysiologyLargeScreen.cs index 94e1290..018c22c 100644 --- a/AIMS/OperationAfter/frmPhysiologyLargeScreen.cs +++ b/AIMS/OperationAfter/frmPhysiologyLargeScreen.cs @@ -14,6 +14,7 @@ using DCSoftDotfuscate; using DrawGraph; using System.Reflection; using Newtonsoft.Json; +using AIMS.OperationAanesthesia; namespace AIMS.OperationAfter.UI { @@ -85,7 +86,7 @@ namespace AIMS.OperationAfter.UI uc.OperationRoomIp = room.Ip; uc.lblRoom.Tag = room.Id; uc.panel2.Visible = false; - uc.Location = new Point(j * (this.Width / 5) + 10, i * (uc.Height + 20) + 10); + uc.Location = new Point(j * (this.Width / 5) + 5, i * (uc.Height + 20) + 5); tabControl.TabPages[tabPagesIndex].Controls.Add(uc); j++; if (j == 5) @@ -95,6 +96,18 @@ namespace AIMS.OperationAfter.UI } } } + + private void PlRefresh_Click(object sender, EventArgs e) + { + System.Windows.Forms.Panel plRefresh = sender as System.Windows.Forms.Panel; + OperationRecord apply = BOperationRecord.SelectSingle(Convert.ToInt32(plRefresh.Tag)); + frmAanesthesiaRecord frmAnasRecord = new frmAanesthesiaRecord(); + frmAnasRecord.PatientId = apply.PatientId.Value; + frmAnasRecord.ApplyId = apply.OperationApplyId.Value; + frmAnasRecord.State = AIMSExtension.EditState.BROWSE; + frmAnasRecord.Show(); + } + /// /// 将数据填充到信息卡 /// @@ -114,11 +127,15 @@ namespace AIMS.OperationAfter.UI { uc.panel2.Visible = true; uc.Tag = dr["Id"].ToString(); - uc.PatientName = dr["PatientName"].ToString(); + uc.plRefresh.Tag = dr["Id"].ToString(); + uc.PatientName = dr["PatientName"].ToString()+" "+ dr["Sex"].ToString()+" "+ dr["Age"].ToString(); uc.OperationName = dr["ApplyOperationInfoName"].ToString(); uc.AnaesthesiaMethod = dr["AnaesthesiaMethodName"].ToString(); uc.OperationDoctor = dr["OperationDoctor"].ToString(); + uc.AnaesthesiaDoctor = dr["AnesthesiaDoctor"].ToString(); uc.OperationTime = dr["InRoomTime"].ToString(); + uc.plRefresh.Click -= PlRefresh_Click; + uc.plRefresh.Click += PlRefresh_Click; FullPatientPhysiology(uc, Convert.ToInt32(uc.Tag)); break; } @@ -151,11 +168,15 @@ namespace AIMS.OperationAfter.UI key = true; uc.panel2.Visible = true; uc.Tag = dr["Id"].ToString(); - uc.PatientName = dr["PatientName"].ToString(); + uc.plRefresh.Tag = dr["Id"].ToString(); + uc.PatientName = dr["PatientName"].ToString() + " " + dr["Sex"].ToString() + " " + dr["Age"].ToString(); uc.OperationName = dr["ApplyOperationInfoName"].ToString(); uc.AnaesthesiaMethod = dr["AnaesthesiaMethodName"].ToString(); uc.OperationDoctor = dr["OperationDoctor"].ToString(); + uc.AnaesthesiaDoctor = dr["AnesthesiaDoctor"].ToString(); uc.OperationTime = dr["InRoomTime"].ToString(); + uc.plRefresh.Click -= PlRefresh_Click; + uc.plRefresh.Click += PlRefresh_Click; //刷新生命体征数据 FullPatientPhysiology(uc, Convert.ToInt32(uc.Tag)); break; diff --git a/AIMS/OremrUserControl/UCPatientPhysiology.cs b/AIMS/OremrUserControl/UCPatientPhysiology.cs index bf4aef1..dcbbbbd 100644 --- a/AIMS/OremrUserControl/UCPatientPhysiology.cs +++ b/AIMS/OremrUserControl/UCPatientPhysiology.cs @@ -5,7 +5,8 @@ using System.Drawing; using System.Data; using System.Linq; using System.Text; -using System.Windows.Forms; +using System.Windows.Forms; +using System.Drawing.Drawing2D; namespace AIMS.OremrUserControl { @@ -41,6 +42,11 @@ namespace AIMS.OremrUserControl get { return lblDoctor.Text; } set { lblDoctor.Text = value; } } + public string AnaesthesiaDoctor + { + get { return lblAnaesthesiaDoctor.Text; } + set { lblAnaesthesiaDoctor.Text = value; } + } public string OperationTime { get { return lblTime.Text; } @@ -75,5 +81,44 @@ namespace AIMS.OremrUserControl private void lblRoom_Click(object sender, EventArgs e) { } + + private void SetWindowRegion() + { + GraphicsPath FormPath = new GraphicsPath(); + Rectangle rect = new Rectangle(0, 4, this.Width, this.Height - 4); + FormPath = GetRoundedRectPath(rect, 19); + this.Region = new Region(FormPath); + + } + private GraphicsPath GetRoundedRectPath(Rectangle rect, int radius) + { + int diameter = radius; + Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter)); + GraphicsPath path = new GraphicsPath(); + //左上角 + path.AddArc(arcRect, 180, 90); + //右上角 + arcRect.X = rect.Right - diameter; + path.AddArc(arcRect, 270, 90); + //右下角 + arcRect.Y = rect.Bottom - diameter; + path.AddArc(arcRect, 0, 90); + //左下角 + arcRect.X = rect.Left; + path.AddArc(arcRect, 90, 90); + path.CloseFigure(); + return path; + + } + protected override void OnResize(System.EventArgs e) + { + this.Region = null; + SetWindowRegion(); + } + + private void plRefresh_Click(object sender, EventArgs e) + { + + } } } diff --git a/AIMS/OremrUserControl/UCPatientPhysiology.designer.cs b/AIMS/OremrUserControl/UCPatientPhysiology.designer.cs index 819c444..8222399 100644 --- a/AIMS/OremrUserControl/UCPatientPhysiology.designer.cs +++ b/AIMS/OremrUserControl/UCPatientPhysiology.designer.cs @@ -28,7 +28,9 @@ /// private void InitializeComponent() { + System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(UCPatientPhysiology)); this.panel1 = new System.Windows.Forms.Panel(); + this.plRefresh = new System.Windows.Forms.Panel(); this.lblRoom = new System.Windows.Forms.Label(); this.label1 = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); @@ -61,6 +63,8 @@ this.lblSpO2 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.lblAnaesthesiaDoctor = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); this.groupBoxEx2.SuspendLayout(); @@ -73,13 +77,26 @@ // panel1 // this.panel1.BackColor = System.Drawing.Color.Transparent; + this.panel1.Controls.Add(this.plRefresh); this.panel1.Controls.Add(this.lblRoom); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(240, 50); + this.panel1.Size = new System.Drawing.Size(240, 44); this.panel1.TabIndex = 1; // + // plRefresh + // + this.plRefresh.BackColor = System.Drawing.Color.CornflowerBlue; + this.plRefresh.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("plRefresh.BackgroundImage"))); + this.plRefresh.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom; + this.plRefresh.Cursor = System.Windows.Forms.Cursors.Hand; + this.plRefresh.Location = new System.Drawing.Point(195, 3); + this.plRefresh.Name = "plRefresh"; + this.plRefresh.Size = new System.Drawing.Size(34, 35); + this.plRefresh.TabIndex = 8; + this.plRefresh.Click += new System.EventHandler(this.plRefresh_Click); + // // lblRoom // this.lblRoom.BackColor = System.Drawing.Color.CornflowerBlue; @@ -87,7 +104,7 @@ this.lblRoom.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblRoom.Location = new System.Drawing.Point(0, 0); this.lblRoom.Name = "lblRoom"; - this.lblRoom.Size = new System.Drawing.Size(240, 50); + this.lblRoom.Size = new System.Drawing.Size(240, 44); this.lblRoom.TabIndex = 7; this.lblRoom.Text = "第XX手术间"; this.lblRoom.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; @@ -107,6 +124,8 @@ // panel2 // this.panel2.BackColor = System.Drawing.Color.Gainsboro; + this.panel2.Controls.Add(this.lblAnaesthesiaDoctor); + this.panel2.Controls.Add(this.label6); this.panel2.Controls.Add(this.lblTime); this.panel2.Controls.Add(this.label20); this.panel2.Controls.Add(this.lblDoctor); @@ -123,16 +142,16 @@ this.panel2.Controls.Add(this.groupBoxEx4); this.panel2.Controls.Add(this.groupBoxEx1); this.panel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.panel2.Location = new System.Drawing.Point(0, 50); + this.panel2.Location = new System.Drawing.Point(0, 44); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(240, 270); + this.panel2.Size = new System.Drawing.Size(240, 276); this.panel2.TabIndex = 5; this.panel2.Click += new System.EventHandler(this.lblRoom_Click); // // lblTime // this.lblTime.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblTime.Location = new System.Drawing.Point(82, 100); + this.lblTime.Location = new System.Drawing.Point(82, 114); this.lblTime.Name = "lblTime"; this.lblTime.Size = new System.Drawing.Size(150, 20); this.lblTime.TabIndex = 6; @@ -143,7 +162,7 @@ // this.label20.AutoSize = true; this.label20.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label20.Location = new System.Drawing.Point(8, 100); + this.label20.Location = new System.Drawing.Point(8, 114); this.label20.Name = "label20"; this.label20.Size = new System.Drawing.Size(68, 20); this.label20.TabIndex = 6; @@ -153,7 +172,7 @@ // lblDoctor // this.lblDoctor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblDoctor.Location = new System.Drawing.Point(82, 76); + this.lblDoctor.Location = new System.Drawing.Point(82, 70); this.lblDoctor.Name = "lblDoctor"; this.lblDoctor.Size = new System.Drawing.Size(150, 20); this.lblDoctor.TabIndex = 6; @@ -164,7 +183,7 @@ // this.label19.AutoSize = true; this.label19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label19.Location = new System.Drawing.Point(8, 76); + this.label19.Location = new System.Drawing.Point(8, 70); this.label19.Name = "label19"; this.label19.Size = new System.Drawing.Size(68, 20); this.label19.TabIndex = 6; @@ -174,7 +193,7 @@ // lblAnaesthesia // this.lblAnaesthesia.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblAnaesthesia.Location = new System.Drawing.Point(82, 52); + this.lblAnaesthesia.Location = new System.Drawing.Point(82, 48); this.lblAnaesthesia.Name = "lblAnaesthesia"; this.lblAnaesthesia.Size = new System.Drawing.Size(150, 20); this.lblAnaesthesia.TabIndex = 6; @@ -184,7 +203,7 @@ // lblOperation // this.lblOperation.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblOperation.Location = new System.Drawing.Point(82, 28); + this.lblOperation.Location = new System.Drawing.Point(82, 26); this.lblOperation.Name = "lblOperation"; this.lblOperation.Size = new System.Drawing.Size(150, 20); this.lblOperation.TabIndex = 6; @@ -195,7 +214,7 @@ // this.label18.AutoSize = true; this.label18.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label18.Location = new System.Drawing.Point(8, 52); + this.label18.Location = new System.Drawing.Point(8, 48); this.label18.Name = "label18"; this.label18.Size = new System.Drawing.Size(68, 20); this.label18.TabIndex = 6; @@ -216,7 +235,7 @@ // this.label17.AutoSize = true; this.label17.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label17.Location = new System.Drawing.Point(8, 28); + this.label17.Location = new System.Drawing.Point(8, 26); this.label17.Name = "label17"; this.label17.Size = new System.Drawing.Size(68, 20); this.label17.TabIndex = 6; @@ -240,7 +259,7 @@ this.groupBoxEx2.Controls.Add(this.lblSys); this.groupBoxEx2.Controls.Add(this.label4); this.groupBoxEx2.Controls.Add(this.label5); - this.groupBoxEx2.Location = new System.Drawing.Point(121, 132); + this.groupBoxEx2.Location = new System.Drawing.Point(121, 138); this.groupBoxEx2.Name = "groupBoxEx2"; this.groupBoxEx2.Radius = 20; this.groupBoxEx2.Size = new System.Drawing.Size(110, 60); @@ -290,7 +309,7 @@ this.groupBoxEx3.Controls.Add(this.lblHR); this.groupBoxEx3.Controls.Add(this.label2); this.groupBoxEx3.Controls.Add(this.label3); - this.groupBoxEx3.Location = new System.Drawing.Point(9, 132); + this.groupBoxEx3.Location = new System.Drawing.Point(9, 138); this.groupBoxEx3.Name = "groupBoxEx3"; this.groupBoxEx3.Radius = 20; this.groupBoxEx3.Size = new System.Drawing.Size(110, 60); @@ -337,7 +356,7 @@ this.groupBoxEx5.BorderWidth = 1; this.groupBoxEx5.Controls.Add(this.lblT); this.groupBoxEx5.Controls.Add(this.label14); - this.groupBoxEx5.Location = new System.Drawing.Point(161, 198); + this.groupBoxEx5.Location = new System.Drawing.Point(161, 204); this.groupBoxEx5.Name = "groupBoxEx5"; this.groupBoxEx5.Radius = 20; this.groupBoxEx5.Size = new System.Drawing.Size(75, 60); @@ -373,7 +392,7 @@ this.groupBoxEx4.Controls.Add(this.lblBR); this.groupBoxEx4.Controls.Add(this.label11); this.groupBoxEx4.Controls.Add(this.label12); - this.groupBoxEx4.Location = new System.Drawing.Point(83, 198); + this.groupBoxEx4.Location = new System.Drawing.Point(83, 204); this.groupBoxEx4.Name = "groupBoxEx4"; this.groupBoxEx4.Radius = 20; this.groupBoxEx4.Size = new System.Drawing.Size(75, 60); @@ -421,7 +440,7 @@ this.groupBoxEx1.Controls.Add(this.lblSpO2); this.groupBoxEx1.Controls.Add(this.label7); this.groupBoxEx1.Controls.Add(this.label8); - this.groupBoxEx1.Location = new System.Drawing.Point(6, 198); + this.groupBoxEx1.Location = new System.Drawing.Point(6, 204); this.groupBoxEx1.Name = "groupBoxEx1"; this.groupBoxEx1.Radius = 20; this.groupBoxEx1.Size = new System.Drawing.Size(75, 60); @@ -463,6 +482,27 @@ this.label8.Text = "%"; this.label8.Click += new System.EventHandler(this.lblRoom_Click); // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label6.Location = new System.Drawing.Point(8, 92); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(68, 20); + this.label6.TabIndex = 6; + this.label6.Text = "麻醉医生:"; + this.label6.Click += new System.EventHandler(this.lblRoom_Click); + // + // lblAnaesthesiaDoctor + // + this.lblAnaesthesiaDoctor.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblAnaesthesiaDoctor.Location = new System.Drawing.Point(82, 92); + this.lblAnaesthesiaDoctor.Name = "lblAnaesthesiaDoctor"; + this.lblAnaesthesiaDoctor.Size = new System.Drawing.Size(150, 20); + this.lblAnaesthesiaDoctor.TabIndex = 6; + this.lblAnaesthesiaDoctor.Text = "麻醉医生"; + this.lblAnaesthesiaDoctor.Click += new System.EventHandler(this.lblRoom_Click); + // // UCPatientPhysiology // this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); @@ -526,5 +566,8 @@ public System.Windows.Forms.Label lblSpO2; public System.Windows.Forms.Label label7; public System.Windows.Forms.Label label8; + public System.Windows.Forms.Panel plRefresh; + public System.Windows.Forms.Label lblAnaesthesiaDoctor; + public System.Windows.Forms.Label label6; } } diff --git a/AIMS/OremrUserControl/UCPatientPhysiology.resx b/AIMS/OremrUserControl/UCPatientPhysiology.resx index 1af7de1..82d6a4a 100644 --- a/AIMS/OremrUserControl/UCPatientPhysiology.resx +++ b/AIMS/OremrUserControl/UCPatientPhysiology.resx @@ -117,4 +117,17 @@ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAL + EAAACxABrSO9dQAAAYBJREFUWEfNlkFKA0EQRXOxOYFLGUFUCBONYNRzRMgR9AruPIBgFrpyLQ6zc+kJ + 1HZqUdi0r5JJpjPUh7fwJ/37YSLjKITgGiw9gaUnsPQElp7A0hNYegJLT2BpMb9ZhKvZdVZkM70nBksL + uiAH6T0xWFro4NPza2g+PnshGzsTpAubx9vQ3O3ZwJlhBYVVkvD+XoI7+YOYL/IJxsM5yS5Yv9ftj/0i + G7qXXTBXdG8Qwe+3+/D1cGJC0b1BBCWrJCm6N5igxJKk6N6ggj89BJcvPZ8k0WGMJSdQdI9ogw4ClkJ0 + +F9SOfmo44+bEgvFbP3fjA6kITmNSlKiPbzPAkvBEox/U7GchjrJYIISkbBErOxMMMujrv571LXB+yyw + FHQwN+k968BSODo8DuX+QVZkM71nHVh2pSzLEJO+ngMsu+JOcHZxid8rQt6bnt8GLC2qcYUyRDWetEd4 + ZxOwtDidnoeiKDoxOZu2R3hnE7D0BJaewNITWHoCS09g6Ycw+gV4Q7dSc+RNwQAAAABJRU5ErkJggg== + + \ No newline at end of file diff --git a/AIMS/OremrUserControl/ucPatientRecoverCard.Designer.cs b/AIMS/OremrUserControl/ucPatientRecoverCard.Designer.cs index e3158f7..4fe5a93 100644 --- a/AIMS/OremrUserControl/ucPatientRecoverCard.Designer.cs +++ b/AIMS/OremrUserControl/ucPatientRecoverCard.Designer.cs @@ -33,39 +33,51 @@ this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); this.labelName = new System.Windows.Forms.Label(); this.panel2 = new System.Windows.Forms.Panel(); + this.groupBoxEx2 = new AIMS.OremrUserControl.GroupBoxEx(); + this.lblSys = new System.Windows.Forms.Label(); + this.label4 = new System.Windows.Forms.Label(); + this.label5 = new System.Windows.Forms.Label(); + this.groupBoxEx3 = new AIMS.OremrUserControl.GroupBoxEx(); + this.lblHR = new System.Windows.Forms.Label(); + this.label1 = new System.Windows.Forms.Label(); + this.label3 = new System.Windows.Forms.Label(); + this.groupBoxEx5 = new AIMS.OremrUserControl.GroupBoxEx(); this.lblT = new System.Windows.Forms.Label(); this.label14 = new System.Windows.Forms.Label(); + this.label6 = new System.Windows.Forms.Label(); + this.groupBoxEx4 = new AIMS.OremrUserControl.GroupBoxEx(); this.lblBR = new System.Windows.Forms.Label(); this.label11 = new System.Windows.Forms.Label(); this.label12 = new System.Windows.Forms.Label(); + this.groupBoxEx1 = new AIMS.OremrUserControl.GroupBoxEx(); this.lblSpO2 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label(); - this.label9 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label(); - this.lblSys = new System.Windows.Forms.Label(); - this.label5 = new System.Windows.Forms.Label(); - this.label6 = new System.Windows.Forms.Label(); - this.lblHR = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.label4 = new System.Windows.Forms.Label(); this.lblSexAge = new System.Windows.Forms.Label(); this.label2 = new System.Windows.Forms.Label(); this.lblAnesDoctors = new System.Windows.Forms.Label(); this.label10 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label(); + this.lblAnaesthesiaMethodName = new System.Windows.Forms.Label(); this.panel1.SuspendLayout(); this.panel2.SuspendLayout(); + this.groupBoxEx2.SuspendLayout(); + this.groupBoxEx3.SuspendLayout(); + this.groupBoxEx5.SuspendLayout(); + this.groupBoxEx4.SuspendLayout(); + this.groupBoxEx1.SuspendLayout(); this.SuspendLayout(); // // panel1 // + this.panel1.BackColor = System.Drawing.Color.CornflowerBlue; this.panel1.Controls.Add(this.labPatientName); this.panel1.Controls.Add(this.buttonX1); this.panel1.Controls.Add(this.labelName); this.panel1.Dock = System.Windows.Forms.DockStyle.Top; this.panel1.Location = new System.Drawing.Point(0, 0); this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(237, 49); + this.panel1.Size = new System.Drawing.Size(239, 42); this.panel1.TabIndex = 0; this.panel1.Click += new System.EventHandler(this.ucPatientRecoverCard_Click); // @@ -105,190 +117,249 @@ // // panel2 // - this.panel2.Controls.Add(this.lblT); - this.panel2.Controls.Add(this.label14); - this.panel2.Controls.Add(this.lblBR); - this.panel2.Controls.Add(this.label11); - this.panel2.Controls.Add(this.label12); - this.panel2.Controls.Add(this.lblSpO2); - this.panel2.Controls.Add(this.label7); - this.panel2.Controls.Add(this.label9); - this.panel2.Controls.Add(this.label8); - this.panel2.Controls.Add(this.lblSys); - this.panel2.Controls.Add(this.label5); - this.panel2.Controls.Add(this.label6); - this.panel2.Controls.Add(this.lblHR); - this.panel2.Controls.Add(this.label1); - this.panel2.Controls.Add(this.label4); + this.panel2.Controls.Add(this.groupBoxEx2); + this.panel2.Controls.Add(this.groupBoxEx3); + this.panel2.Controls.Add(this.groupBoxEx5); + this.panel2.Controls.Add(this.groupBoxEx4); + this.panel2.Controls.Add(this.groupBoxEx1); this.panel2.Dock = System.Windows.Forms.DockStyle.Bottom; - this.panel2.Location = new System.Drawing.Point(0, 167); + this.panel2.Location = new System.Drawing.Point(0, 175); this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(237, 123); + this.panel2.Size = new System.Drawing.Size(239, 140); this.panel2.TabIndex = 8; this.panel2.Click += new System.EventHandler(this.labTabindex_Click); // - // lblT + // groupBoxEx2 // - this.lblT.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); - this.lblT.ForeColor = System.Drawing.Color.SeaGreen; - this.lblT.Location = new System.Drawing.Point(152, 80); - this.lblT.Name = "lblT"; - this.lblT.Size = new System.Drawing.Size(68, 28); - this.lblT.TabIndex = 19; - this.lblT.Text = "--"; - this.lblT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label14 - // - this.label14.AutoSize = true; - this.label14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label14.Location = new System.Drawing.Point(161, 60); - this.label14.Name = "label14"; - this.label14.Size = new System.Drawing.Size(37, 19); - this.label14.TabIndex = 20; - this.label14.Text = "体温"; - // - // lblBR - // - this.lblBR.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); - this.lblBR.ForeColor = System.Drawing.Color.DodgerBlue; - this.lblBR.Location = new System.Drawing.Point(80, 80); - this.lblBR.Name = "lblBR"; - this.lblBR.Size = new System.Drawing.Size(59, 28); - this.lblBR.TabIndex = 18; - this.lblBR.Text = "--"; - this.lblBR.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label11 - // - this.label11.AutoSize = true; - this.label11.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label11.Location = new System.Drawing.Point(83, 60); - this.label11.Name = "label11"; - this.label11.Size = new System.Drawing.Size(37, 19); - this.label11.TabIndex = 17; - this.label11.Text = "呼吸"; - // - // label12 - // - this.label12.AutoSize = true; - this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label12.Location = new System.Drawing.Point(122, 60); - this.label12.Name = "label12"; - this.label12.Size = new System.Drawing.Size(24, 17); - this.label12.TabIndex = 16; - this.label12.Text = "BR"; - // - // lblSpO2 - // - this.lblSpO2.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); - this.lblSpO2.ForeColor = System.Drawing.Color.Turquoise; - this.lblSpO2.Location = new System.Drawing.Point(9, 80); - this.lblSpO2.Name = "lblSpO2"; - this.lblSpO2.Size = new System.Drawing.Size(59, 28); - this.lblSpO2.TabIndex = 15; - this.lblSpO2.Text = "--"; - this.lblSpO2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; - // - // label7 - // - this.label7.AutoSize = true; - this.label7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label7.Location = new System.Drawing.Point(6, 60); - this.label7.Name = "label7"; - this.label7.Size = new System.Drawing.Size(37, 19); - this.label7.TabIndex = 13; - this.label7.Text = "血氧"; - // - // label9 - // - this.label9.AutoSize = true; - this.label9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label9.Location = new System.Drawing.Point(202, 60); - this.label9.Name = "label9"; - this.label9.Size = new System.Drawing.Size(20, 17); - this.label9.TabIndex = 14; - this.label9.Text = "℃"; - // - // label8 - // - this.label8.AutoSize = true; - this.label8.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label8.Location = new System.Drawing.Point(46, 60); - this.label8.Name = "label8"; - this.label8.Size = new System.Drawing.Size(19, 17); - this.label8.TabIndex = 14; - this.label8.Text = "%"; + this.groupBoxEx2.BorderWidth = 1; + this.groupBoxEx2.Controls.Add(this.lblSys); + this.groupBoxEx2.Controls.Add(this.label4); + this.groupBoxEx2.Controls.Add(this.label5); + this.groupBoxEx2.Location = new System.Drawing.Point(119, 5); + this.groupBoxEx2.Name = "groupBoxEx2"; + this.groupBoxEx2.Radius = 20; + this.groupBoxEx2.Size = new System.Drawing.Size(110, 60); + this.groupBoxEx2.TabIndex = 9; + this.groupBoxEx2.TabStop = false; + this.groupBoxEx2.TitleFont = new System.Drawing.Font("宋体", 10F); // // lblSys // - this.lblSys.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); + this.lblSys.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.lblSys.ForeColor = System.Drawing.Color.Red; - this.lblSys.Location = new System.Drawing.Point(117, 28); + this.lblSys.Location = new System.Drawing.Point(8, 31); this.lblSys.Name = "lblSys"; this.lblSys.Size = new System.Drawing.Size(94, 28); - this.lblSys.TabIndex = 10; - this.lblSys.Text = "--/--"; + this.lblSys.TabIndex = 6; + this.lblSys.Text = "120/80"; this.lblSys.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // + // label4 + // + this.label4.AutoSize = true; + this.label4.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label4.Location = new System.Drawing.Point(6, 8); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(42, 22); + this.label4.TabIndex = 6; + this.label4.Text = "血压"; + // // label5 // this.label5.AutoSize = true; - this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label5.Location = new System.Drawing.Point(118, 6); + this.label5.BackColor = System.Drawing.Color.Transparent; + this.label5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label5.Location = new System.Drawing.Point(53, 10); this.label5.Name = "label5"; - this.label5.Size = new System.Drawing.Size(37, 19); - this.label5.TabIndex = 11; - this.label5.Text = "血压"; + this.label5.Size = new System.Drawing.Size(55, 20); + this.label5.TabIndex = 6; + this.label5.Text = "mmHg"; + this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleRight; // - // label6 + // groupBoxEx3 // - this.label6.AutoSize = true; - this.label6.BackColor = System.Drawing.Color.Transparent; - this.label6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label6.Location = new System.Drawing.Point(158, 8); - this.label6.Name = "label6"; - this.label6.Size = new System.Drawing.Size(47, 17); - this.label6.TabIndex = 12; - this.label6.Text = "mmHg"; - this.label6.TextAlign = System.Drawing.ContentAlignment.MiddleRight; + this.groupBoxEx3.BorderWidth = 1; + this.groupBoxEx3.Controls.Add(this.lblHR); + this.groupBoxEx3.Controls.Add(this.label1); + this.groupBoxEx3.Controls.Add(this.label3); + this.groupBoxEx3.Location = new System.Drawing.Point(7, 5); + this.groupBoxEx3.Name = "groupBoxEx3"; + this.groupBoxEx3.Radius = 20; + this.groupBoxEx3.Size = new System.Drawing.Size(110, 60); + this.groupBoxEx3.TabIndex = 10; + this.groupBoxEx3.TabStop = false; + this.groupBoxEx3.TitleFont = new System.Drawing.Font("宋体", 10F); // // lblHR // - this.lblHR.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold); - this.lblHR.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(192)))), ((int)(((byte)(0)))), ((int)(((byte)(0))))); - this.lblHR.Location = new System.Drawing.Point(15, 30); + this.lblHR.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblHR.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0))))); + this.lblHR.Location = new System.Drawing.Point(21, 31); this.lblHR.Name = "lblHR"; this.lblHR.Size = new System.Drawing.Size(69, 28); - this.lblHR.TabIndex = 7; - this.lblHR.Text = "--"; + this.lblHR.TabIndex = 6; + this.lblHR.Text = "66"; this.lblHR.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; // // label1 // this.label1.AutoSize = true; - this.label1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label1.Location = new System.Drawing.Point(54, 10); + this.label1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label1.Location = new System.Drawing.Point(68, 10); this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(35, 17); - this.label1.TabIndex = 8; + this.label1.Size = new System.Drawing.Size(40, 20); + this.label1.TabIndex = 6; this.label1.Text = "bpm"; // - // label4 + // label3 // - this.label4.AutoSize = true; - this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label4.Location = new System.Drawing.Point(12, 8); - this.label4.Name = "label4"; - this.label4.Size = new System.Drawing.Size(41, 19); - this.label4.TabIndex = 9; - this.label4.Text = "心率 "; + this.label3.AutoSize = true; + this.label3.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label3.Location = new System.Drawing.Point(5, 8); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(47, 22); + this.label3.TabIndex = 6; + this.label3.Text = "心率 "; + // + // groupBoxEx5 + // + this.groupBoxEx5.BorderWidth = 1; + this.groupBoxEx5.Controls.Add(this.lblT); + this.groupBoxEx5.Controls.Add(this.label14); + this.groupBoxEx5.Controls.Add(this.label6); + this.groupBoxEx5.Location = new System.Drawing.Point(159, 71); + this.groupBoxEx5.Name = "groupBoxEx5"; + this.groupBoxEx5.Radius = 20; + this.groupBoxEx5.Size = new System.Drawing.Size(75, 60); + this.groupBoxEx5.TabIndex = 8; + this.groupBoxEx5.TabStop = false; + this.groupBoxEx5.TitleFont = new System.Drawing.Font("宋体", 10F); + // + // lblT + // + this.lblT.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblT.ForeColor = System.Drawing.Color.SteelBlue; + this.lblT.Location = new System.Drawing.Point(3, 27); + this.lblT.Name = "lblT"; + this.lblT.Size = new System.Drawing.Size(68, 28); + this.lblT.TabIndex = 0; + this.lblT.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label14 + // + this.label14.AutoSize = true; + this.label14.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label14.Location = new System.Drawing.Point(3, 7); + this.label14.Name = "label14"; + this.label14.Size = new System.Drawing.Size(42, 22); + this.label14.TabIndex = 12; + this.label14.Text = "体温"; + // + // label6 + // + this.label6.AutoSize = true; + this.label6.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label6.Location = new System.Drawing.Point(50, 9); + this.label6.Name = "label6"; + this.label6.Size = new System.Drawing.Size(23, 20); + this.label6.TabIndex = 8; + this.label6.Text = "℃"; + // + // groupBoxEx4 + // + this.groupBoxEx4.BorderWidth = 1; + this.groupBoxEx4.Controls.Add(this.lblBR); + this.groupBoxEx4.Controls.Add(this.label11); + this.groupBoxEx4.Controls.Add(this.label12); + this.groupBoxEx4.Location = new System.Drawing.Point(81, 71); + this.groupBoxEx4.Name = "groupBoxEx4"; + this.groupBoxEx4.Radius = 20; + this.groupBoxEx4.Size = new System.Drawing.Size(75, 60); + this.groupBoxEx4.TabIndex = 6; + this.groupBoxEx4.TabStop = false; + this.groupBoxEx4.TitleFont = new System.Drawing.Font("宋体", 10F); + // + // lblBR + // + this.lblBR.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblBR.ForeColor = System.Drawing.Color.MediumOrchid; + this.lblBR.Location = new System.Drawing.Point(8, 27); + this.lblBR.Name = "lblBR"; + this.lblBR.Size = new System.Drawing.Size(59, 28); + this.lblBR.TabIndex = 10; + this.lblBR.Text = "21"; + this.lblBR.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label11 + // + this.label11.AutoSize = true; + this.label11.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label11.Location = new System.Drawing.Point(4, 7); + this.label11.Name = "label11"; + this.label11.Size = new System.Drawing.Size(42, 22); + this.label11.TabIndex = 9; + this.label11.Text = "呼吸"; + // + // label12 + // + this.label12.AutoSize = true; + this.label12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label12.Location = new System.Drawing.Point(47, 9); + this.label12.Name = "label12"; + this.label12.Size = new System.Drawing.Size(27, 20); + this.label12.TabIndex = 8; + this.label12.Text = "BR"; + // + // groupBoxEx1 + // + this.groupBoxEx1.BorderWidth = 1; + this.groupBoxEx1.Controls.Add(this.lblSpO2); + this.groupBoxEx1.Controls.Add(this.label7); + this.groupBoxEx1.Controls.Add(this.label8); + this.groupBoxEx1.Location = new System.Drawing.Point(4, 71); + this.groupBoxEx1.Name = "groupBoxEx1"; + this.groupBoxEx1.Radius = 20; + this.groupBoxEx1.Size = new System.Drawing.Size(75, 60); + this.groupBoxEx1.TabIndex = 7; + this.groupBoxEx1.TabStop = false; + this.groupBoxEx1.TitleFont = new System.Drawing.Font("宋体", 10F); + // + // lblSpO2 + // + this.lblSpO2.Font = new System.Drawing.Font("微软雅黑", 15.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblSpO2.ForeColor = System.Drawing.Color.DarkOrange; + this.lblSpO2.Location = new System.Drawing.Point(8, 28); + this.lblSpO2.Name = "lblSpO2"; + this.lblSpO2.Size = new System.Drawing.Size(59, 28); + this.lblSpO2.TabIndex = 7; + this.lblSpO2.Text = "99"; + this.lblSpO2.TextAlign = System.Drawing.ContentAlignment.MiddleCenter; + // + // label7 + // + this.label7.AutoSize = true; + this.label7.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label7.Location = new System.Drawing.Point(1, 8); + this.label7.Name = "label7"; + this.label7.Size = new System.Drawing.Size(42, 22); + this.label7.TabIndex = 6; + this.label7.Text = "血氧"; + // + // label8 + // + this.label8.AutoSize = true; + this.label8.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.label8.Location = new System.Drawing.Point(53, 10); + this.label8.Name = "label8"; + this.label8.Size = new System.Drawing.Size(21, 20); + this.label8.TabIndex = 6; + this.label8.Text = "%"; // // lblSexAge // this.lblSexAge.AutoSize = true; this.lblSexAge.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblSexAge.Location = new System.Drawing.Point(10, 54); + this.lblSexAge.Location = new System.Drawing.Point(7, 50); this.lblSexAge.Name = "lblSexAge"; this.lblSexAge.Size = new System.Drawing.Size(0, 17); this.lblSexAge.TabIndex = 9; @@ -297,7 +368,7 @@ // this.label2.AutoSize = true; this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label2.Location = new System.Drawing.Point(7, 76); + this.label2.Location = new System.Drawing.Point(7, 90); this.label2.Name = "label2"; this.label2.Size = new System.Drawing.Size(68, 17); this.label2.TabIndex = 9; @@ -307,7 +378,7 @@ // this.lblAnesDoctors.AutoSize = true; this.lblAnesDoctors.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblAnesDoctors.Location = new System.Drawing.Point(7, 98); + this.lblAnesDoctors.Location = new System.Drawing.Point(7, 110); this.lblAnesDoctors.Name = "lblAnesDoctors"; this.lblAnesDoctors.Size = new System.Drawing.Size(68, 17); this.lblAnesDoctors.TabIndex = 9; @@ -317,7 +388,7 @@ // this.label10.AutoSize = true; this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label10.Location = new System.Drawing.Point(7, 120); + this.label10.Location = new System.Drawing.Point(7, 130); this.label10.Name = "label10"; this.label10.Size = new System.Drawing.Size(68, 17); this.label10.TabIndex = 9; @@ -327,12 +398,21 @@ // this.label13.AutoSize = true; this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label13.Location = new System.Drawing.Point(7, 142); + this.label13.Location = new System.Drawing.Point(7, 150); this.label13.Name = "label13"; this.label13.Size = new System.Drawing.Size(68, 17); this.label13.TabIndex = 9; this.label13.Text = "复苏时间:"; // + // lblAnaesthesiaMethodName + // + this.lblAnaesthesiaMethodName.AutoSize = true; + this.lblAnaesthesiaMethodName.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.lblAnaesthesiaMethodName.Location = new System.Drawing.Point(11, 70); + this.lblAnaesthesiaMethodName.Name = "lblAnaesthesiaMethodName"; + this.lblAnaesthesiaMethodName.Size = new System.Drawing.Size(0, 17); + this.lblAnaesthesiaMethodName.TabIndex = 9; + // // ucPatientRecoverCard // this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; @@ -340,15 +420,25 @@ this.Controls.Add(this.label13); this.Controls.Add(this.label10); this.Controls.Add(this.lblAnesDoctors); + this.Controls.Add(this.lblAnaesthesiaMethodName); this.Controls.Add(this.label2); this.Controls.Add(this.lblSexAge); this.Controls.Add(this.panel2); this.Controls.Add(this.panel1); this.Name = "ucPatientRecoverCard"; - this.Size = new System.Drawing.Size(237, 290); + this.Size = new System.Drawing.Size(239, 315); this.panel1.ResumeLayout(false); this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); + this.groupBoxEx2.ResumeLayout(false); + this.groupBoxEx2.PerformLayout(); + this.groupBoxEx3.ResumeLayout(false); + this.groupBoxEx3.PerformLayout(); + this.groupBoxEx5.ResumeLayout(false); + this.groupBoxEx5.PerformLayout(); + this.groupBoxEx4.ResumeLayout(false); + this.groupBoxEx4.PerformLayout(); + this.groupBoxEx1.ResumeLayout(false); + this.groupBoxEx1.PerformLayout(); this.ResumeLayout(false); this.PerformLayout(); @@ -361,25 +451,31 @@ public System.Windows.Forms.Label labPatientName; private System.Windows.Forms.Panel panel2; public DevComponents.DotNetBar.ButtonX buttonX1; - public System.Windows.Forms.Label lblT; - public System.Windows.Forms.Label label14; - public System.Windows.Forms.Label lblBR; - public System.Windows.Forms.Label label11; - public System.Windows.Forms.Label label12; - public System.Windows.Forms.Label lblSpO2; - public System.Windows.Forms.Label label7; - public System.Windows.Forms.Label label9; - public System.Windows.Forms.Label label8; - public System.Windows.Forms.Label lblSys; - public System.Windows.Forms.Label label5; - public System.Windows.Forms.Label label6; - public System.Windows.Forms.Label lblHR; - public System.Windows.Forms.Label label1; - public System.Windows.Forms.Label label4; private System.Windows.Forms.Label lblSexAge; private System.Windows.Forms.Label label2; private System.Windows.Forms.Label lblAnesDoctors; private System.Windows.Forms.Label label10; private System.Windows.Forms.Label label13; + public GroupBoxEx groupBoxEx2; + public System.Windows.Forms.Label lblSys; + public System.Windows.Forms.Label label4; + public System.Windows.Forms.Label label5; + public GroupBoxEx groupBoxEx3; + public System.Windows.Forms.Label lblHR; + public System.Windows.Forms.Label label1; + public System.Windows.Forms.Label label3; + public GroupBoxEx groupBoxEx5; + public System.Windows.Forms.Label lblT; + public System.Windows.Forms.Label label14; + public GroupBoxEx groupBoxEx4; + public System.Windows.Forms.Label lblBR; + public System.Windows.Forms.Label label11; + public System.Windows.Forms.Label label12; + public GroupBoxEx groupBoxEx1; + public System.Windows.Forms.Label lblSpO2; + public System.Windows.Forms.Label label7; + public System.Windows.Forms.Label label8; + public System.Windows.Forms.Label label6; + private System.Windows.Forms.Label lblAnaesthesiaMethodName; } } diff --git a/AIMS/OremrUserControl/ucPatientRecoverCard.cs b/AIMS/OremrUserControl/ucPatientRecoverCard.cs index f3b67a6..e8fdc35 100644 --- a/AIMS/OremrUserControl/ucPatientRecoverCard.cs +++ b/AIMS/OremrUserControl/ucPatientRecoverCard.cs @@ -34,12 +34,12 @@ namespace AIMS.OremrUserControl buttonX1.Text = "查看复苏"; _dr = dr; ApplyId = int.Parse(dr["ApplyId"].ToString()); - PatientId = int.Parse(dr["PatientId"].ToString()); - //label3.Text = dr["MdrecNo"].ToString(); - labPatientName.Text = dr["PatientName"].ToString(); - lblSexAge.Text = dr["MdrecNo"].ToString() + " " + dr["Sex"].ToString() + " " + dr["age"].ToString(); + PatientId = int.Parse(dr["PatientId"].ToString()); + labPatientName.Text = dr["PatientName"].ToString() + " " + dr["Sex"].ToString() + " " + dr["age"].ToString(); + lblSexAge.Text = dr["ApplyOperationInfoName"].ToString(); + lblAnaesthesiaMethodName.Text = dr["AnaesthesiaMethodName"].ToString(); - label2.Text = "手术医生:" + dr["ApplyOperationInfoName"].ToString(); + label2.Text = "手术医生:" + dr["OperationDoctor"].ToString(); lblAnesDoctors.Text = "麻醉医生:" + dr["AnesthesiaDoctor"].ToString(); label10.Text = "手术时间:" + dr["OutRoomTime"].ToString(); label13.Text = "复苏时间:" + dr["InRoomTime"].ToString(); @@ -95,8 +95,8 @@ namespace AIMS.OremrUserControl private void SetWindowRegion() { GraphicsPath FormPath = new GraphicsPath(); - Rectangle rect = new Rectangle(0, 4, this.Width, this.Height - 4); - FormPath = GetRoundedRectPath(rect, 10); + Rectangle rect = new Rectangle(0, 2, this.Width, this.Height - 2); + FormPath = GetRoundedRectPath(rect, 19); this.Region = new Region(FormPath); } diff --git a/AIMSEntity/Extensions/SelectPatient.cs b/AIMSEntity/Extensions/SelectPatient.cs index 964d758..f43bb33 100644 --- a/AIMSEntity/Extensions/SelectPatient.cs +++ b/AIMSEntity/Extensions/SelectPatient.cs @@ -54,12 +54,12 @@ namespace AIMSBLL } public static DataTable GetRecoverPatientDataTable(DateTime BeginDate) { - string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,of2.Whereabouts FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '手术结束') and (of2.Pulse='PACU' OR of2.Pulse='恢复室') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 and of2.Id not in (select iD from OperationRecord where RecoverId<>1)"; + string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,of2.Whereabouts,of2.AnaesthesiaMethodName FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '手术结束') and (of2.Pulse='PACU' OR of2.Pulse='恢复室') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1 and of2.Id not in (select iD from OperationRecord where RecoverId<>1)"; return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); } public static DataTable GetRecoverPatientOutDataTable(DateTime BeginDate, DateTime EndDate) { - string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '麻醉复苏结束') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + EndDate + "' and RecoverId=2 order by OutRoomTime desc "; + string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.OutRoomTime ,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,of2.AnaesthesiaMethodName FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of1.State in( '麻醉复苏结束') and of2.OutRoomTime >= '" + BeginDate + "' AND of2.OutRoomTime<'" + EndDate + "' and RecoverId=2 order by OutRoomTime desc "; return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); } public static DataTable GetSelectPatientDataTable(DateTime BeginDate, DateTime EndDate, bool isLoginPerson, string person, bool isEnOpe) @@ -105,7 +105,7 @@ namespace AIMSBLL public static DataTable GetRecoverLockingPatientDataTable(DateTime BeginDate) { - string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.InRoomTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,(select OutRoomTime from OperationRecord where OperationRecord.RecoverId=1 and OperationRecord.PatientId=of2.PatientId) OutRoomTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '麻醉复苏中') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=2 "; + string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,Age,of2.InRoomTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom,(select OutRoomTime from OperationRecord where OperationRecord.RecoverId=1 and OperationRecord.PatientId=of2.PatientId) OutRoomTime,of2.AnaesthesiaMethodName FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '麻醉复苏中') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=2 "; strSql += " order by [StateId] asc"; return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); } diff --git a/AIMSExtension/AIMSExtension.csproj b/AIMSExtension/AIMSExtension.csproj index 8a1ed69..6854874 100644 --- a/AIMSExtension/AIMSExtension.csproj +++ b/AIMSExtension/AIMSExtension.csproj @@ -66,6 +66,7 @@ + True True diff --git a/AIMSExtension/ProgramLogService.cs b/AIMSExtension/ProgramLogService.cs new file mode 100644 index 0000000..d7e3644 --- /dev/null +++ b/AIMSExtension/ProgramLogService.cs @@ -0,0 +1,110 @@ +using HelperDB; +using System; +using System.Collections.Generic; +using System.Data.SqlClient; +using System.Linq; +using System.Text; + +namespace AIMSExtension +{ + public class ProgramLog + { + public ProgramLog() { } + + public int ID { get; set; } + + public string Content { get; set; } + //[DBField("PatientID")] + public string PatientID { get; set; } + //[DBField("IsUpData")] + public int IsUpData { get; set; } + //[DBField("OperatorId")] + public int OperatorId { get; set; } + //[DBField("OperatorName")] + public string OperatorName { get; set; } + //[DBField("OperatorIP")] + public string OperatorIP { get; set; } + //[DBField("OperatorTime")] + public DateTime OperatorTime { get; set; } + //[DBField("Remark")] + public string Remark { get; set; } + } + public static partial class ProgramLogService + { + public static readonly string InsertSql = "INSERT ProgramLog (Content, PatientID, IsUpData, OperatorId, OperatorName, OperatorIP, OperatorTime, Remark)VALUES (@Content, @PatientID, @IsUpData, @OperatorId, @OperatorName, @OperatorIP, @OperatorTime, @Remark)"; + public static readonly string UpdateSql = "Update ProgramLog set Content=@Content, PatientID=@PatientID, IsUpData=@IsUpData, OperatorId=@OperatorId, OperatorName=@OperatorName, OperatorIP=@OperatorIP, OperatorTime=@OperatorTime, Remark=@Remark where ID=@ID"; + public static readonly string DeleteSql = "Delete FROM ProgramLog where ID=@ID"; + public static readonly string SelectSql = "Select * FROM ProgramLog"; + public static readonly string SelectSqlById = "Select * FROM ProgramLog where ID =@ID"; + public static int AddProgramLog(ProgramLog programLog) + { + string sql = InsertSql; + SqlParameter[] para = new SqlParameter[] + { + new SqlParameter("@Content",programLog.Content), new SqlParameter("@PatientID",programLog.PatientID), new SqlParameter("@IsUpData",programLog.IsUpData), new SqlParameter("@OperatorId",programLog.OperatorId), new SqlParameter("@OperatorName",programLog.OperatorName), new SqlParameter("@OperatorIP",programLog.OperatorIP), new SqlParameter("@OperatorTime",programLog.OperatorTime), new SqlParameter("@Remark",programLog.Remark) + }; + return DBHelper.ExecNonQuery(sql, para); + } + public static int UpdateProgramLog(ProgramLog programLog) + { + string sql = UpdateSql; + SqlParameter[] para = new SqlParameter[] + { + new SqlParameter("@ID",programLog.ID), new SqlParameter("@Content",programLog.Content), new SqlParameter("@PatientID",programLog.PatientID), new SqlParameter("@IsUpData",programLog.IsUpData), new SqlParameter("@OperatorId",programLog.OperatorId), new SqlParameter("@OperatorName",programLog.OperatorName), new SqlParameter("@OperatorIP",programLog.OperatorIP), new SqlParameter("@OperatorTime",programLog.OperatorTime), new SqlParameter("@Remark",programLog.Remark) + }; + return DBHelper.ExecNonQuery(sql, para); + } + public static int DelProgramLog(ProgramLog programLog) + { + string sql = DeleteSql; + SqlParameter[] para = new SqlParameter[] + { + new SqlParameter("@ID",programLog.ID) + }; + return DBHelper.ExecNonQuery(sql, para); + } + public static IList GetAllList() + { + string sql = SelectSql; + return GetListBySql(sql); + } + + + public static ProgramLog GetProgramLogByID(int ID) + { + string sql = SelectSqlById; + SqlParameter para = new SqlParameter("@ID", ID); + IList list = GetListBySql(sql, para); + if (list.Count > 0) + return list[0]; + else + return null; + } + + private static IList GetListBySql(string sql, params SqlParameter[] para) + { + IList list = new List(); + using (SqlDataReader reader = DBHelper.GetReader(sql, para)) + { + while (reader.Read()) + { + ProgramLog temp = new ProgramLog(); + + temp.ID = DBHelper.GetInt(reader["ID"]); + temp.Content = DBHelper.GetString(reader["Content"]); + temp.PatientID = DBHelper.GetString(reader["PatientID"]); + temp.IsUpData = DBHelper.GetInt(reader["IsUpData"]); + temp.OperatorId = DBHelper.GetInt(reader["OperatorId"]); + temp.OperatorName = DBHelper.GetString(reader["OperatorName"]); + temp.OperatorIP = DBHelper.GetString(reader["OperatorIP"]); + temp.OperatorTime = DBHelper.GetDateTime(reader["OperatorTime"]); + temp.Remark = DBHelper.GetString(reader["Remark"]); + + list.Add(temp); + } + reader.Close(); + return list; + } + } + } +} diff --git a/AIMSExtension/PublicMethod.cs b/AIMSExtension/PublicMethod.cs index 3452705..c85ccec 100644 --- a/AIMSExtension/PublicMethod.cs +++ b/AIMSExtension/PublicMethod.cs @@ -3,6 +3,7 @@ using System; using System.Collections.Generic; using System.Data; using System.IO; +using System.Net; using System.Runtime.InteropServices; using System.Security.Cryptography; using System.Text; @@ -22,9 +23,7 @@ namespace AIMSExtension public static int PermissionLevel = 0; public static string NowVersion; public static int SelectRoom; - - //private static char zdSplit = '|'; - //private static char nameValueSplit = '*'; + public static string LocalIP; [DllImport("kernel32.dll", SetLastError = true)] public static extern int SetLocalTime(ref SystemTime lpSystemTime); @@ -60,21 +59,6 @@ namespace AIMSExtension } } - public static string GetSystemName() - { - string strSql = "SELECT SystemName FROM dbo.HospitalInfo"; - DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql); - - if (dt.Rows.Count > 0) - { - return dt.Rows[0]["SystemName"].ToString(); - } - else - { - return ""; - } - } - public static string GetAge(DateTime Birthday) { @@ -155,7 +139,7 @@ namespace AIMSExtension } return strAge; - } + } public static string GetVersion() { @@ -394,7 +378,7 @@ namespace AIMSExtension byte[] bDec = decryptor.TransformFinalBlock(bEnc, 0, bEnc.Length); return utf.GetString(bDec); } - + /// /// 修改本地时间 @@ -412,12 +396,6 @@ namespace AIMSExtension SetLocalTime(ref NewTime); } - public static DataTable GetPlanNoticeNew1(DateTime dtBegin, DateTime dtEnd, string OpeTime) - { - string strSql = "select * from (select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'等待手术' [State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [dbo].[V_OperationRecordALL] where sqstate <6 and ((OrderOperationTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and OrderOperationTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术中'[State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [V_OperationRecordALL] where SZstate in(1) and ((InRoomTime >='" + dtBegin.ToString("yyyy-MM-dd 00:00:00") + "' and InRoomTime<='" + dtEnd.ToString("yyyy-MM-dd 23:59:59") + "')) and OutRoomTime is null union select ApplyId ,OperationRoom,ApplyDepName,SickBed,PatientName,'手术结束'[State],SQState,SZState,InRoomTime,OutRoomTime,OperationBeginTime,OperationEndTime,Pulse from [V_OperationRecordALL] where datediff(minute,CONVERT(DATETIME,outRoomTime,120),GETDATE())<" + OpeTime + ") as a order by a.ApplyDepName collate Chinese_PRC_CS_AS_KS_WS,a.SQState desc,a.SZState desc"; - return DBHelper.GetDataTable(strSql); - } - public static DataTable GetNewDataTable(DataTable dt, string condition, string sortstr) { DataTable newdt = new DataTable(); @@ -430,66 +408,60 @@ namespace AIMSExtension return newdt;//返回的查询结果 } - //public static string GetControlString(Control cls) - //{ - // string zqSpecial = ""; - // if (cls.Controls.Count <= 0) return ""; - // foreach (Control clTemp in cls.Controls) - // { - // if (clTemp.Controls.Count > 0) - // { - // zqSpecial += GetControlString(clTemp); - // } - // else if (clTemp is DateTimePicker) - // { - // if (((DateTimePicker)clTemp).Value.ToString() != "") - // { - // zqSpecial += ((DateTimePicker)clTemp).Name + nameValueSplit; - // zqSpecial += ((DateTimePicker)clTemp).Value.ToString() + zdSplit; - // } - // } - // else if (clTemp is TextBox) - // { - // { - // zqSpecial += ((TextBox)clTemp).Name + nameValueSplit; - // zqSpecial += ((TextBox)clTemp).Text.ToString() + zdSplit; - // } - // } - // else if (clTemp is RichTextBox) - // { - // if (((RichTextBox)clTemp).Text.ToString() != "") - // { - // zqSpecial += ((RichTextBox)clTemp).Name + nameValueSplit; - // zqSpecial += ((RichTextBox)clTemp).Text.ToString() + zdSplit; - // } - // } - // else if (clTemp is CheckBox) - // { - // zqSpecial += ((CheckBox)clTemp).Name + nameValueSplit; - // zqSpecial += ((CheckBox)clTemp).Checked.ToString() + zdSplit; - // } - // else if (clTemp is RadioButton) - // { - // zqSpecial += ((RadioButton)clTemp).Name + nameValueSplit; - // zqSpecial += ((RadioButton)clTemp).Checked.ToString() + zdSplit; - // } - // else if (clTemp is ComboBox) - // { - // zqSpecial += ((ComboBox)clTemp).Name + nameValueSplit; - // zqSpecial += ((ComboBox)clTemp).Text + zdSplit; - // } - // else if (clTemp is DevComponents.DotNetBar.Controls.TextBoxX) - // { + /// + /// 将流程写到日志 + /// + /// 异常 + /// 日志文件地址 + public static void WriteLog(string Content, int PatientId, int IsUpData = 0, string Remark = "") + { + try + { + ProgramLog plg = new ProgramLog(); + plg.Content = Content; + plg.PatientID = PatientId.ToString(); + plg.Remark = Remark; + plg.IsUpData = IsUpData; + plg.OperatorId = OperatorId; + plg.OperatorName = OperatorName; + plg.OperatorIP = LocalIP; //取得本机IP + plg.OperatorTime = DateTime.Now; + ProgramLogService.AddProgramLog(plg); + } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); + } + } - // zqSpecial += ((DevComponents.DotNetBar.Controls.TextBoxX)clTemp).Name + nameValueSplit; - // zqSpecial += ((DevComponents.DotNetBar.Controls.TextBoxX)clTemp).Text + zdSplit; - // } - // } + /// + /// 取本机主机ip + /// + /// + public static string GetLocalIP() + { + //本机IP地址 + string strLocalIP = ""; + //得到计算机名 + string strPcName = Dns.GetHostName(); + //得到本机IP地址数组 + IPHostEntry ipEntry = Dns.GetHostEntry(strPcName); + //遍历数组 + foreach (var IPadd in ipEntry.AddressList) + { + //判断当前字符串是否为正确IP地址 + if (IsRightIP(IPadd.ToString())) + { + //得到本地IP地址 + strLocalIP = IPadd.ToString(); + //结束循环 + break; + } + } + //返回本地IP地址 + return strLocalIP; + } - // return zqSpecial; - //} - - /// /// 将异常打印到LOG文件 ///