diff --git a/AIMS/AIMS.csproj b/AIMS/AIMS.csproj
index c90163f..f60e29f 100644
--- a/AIMS/AIMS.csproj
+++ b/AIMS/AIMS.csproj
@@ -297,6 +297,12 @@
frmNotesRecordExport.cs
+
+ Form
+
+
+ frmOperationCharg5.cs
+
Form
@@ -975,6 +981,9 @@
frmNotesRecordExport.cs
+
+ frmOperationCharg5.cs
+
frmReportExport.cs
@@ -1271,11 +1280,24 @@
True
-
-
-
-
-
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
diff --git a/AIMS/AIMS.xml b/AIMS/AIMS.xml
index 8fe8536..8facc04 100644
--- a/AIMS/AIMS.xml
+++ b/AIMS/AIMS.xml
@@ -1,6 +1,6 @@
- Data Source=.;Initial Catalog=AIMSDB_FJZPTFYY;User ID=sa;Password=Test2020;
+ Data Source=.;Initial Catalog=AIMSDB_DLSJZQZYYY;User ID=sa;Password=Test2020;
Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020;
Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39;
diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs b/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs
index c1323ac..7eb4843 100644
--- a/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs
+++ b/AIMS/OperationAanesthesia/frmAanesthesiaPainlessRecord.cs
@@ -847,6 +847,9 @@ namespace AIMS.OperationAanesthesia
_record.OutRoomTime = Inevent.EventBeginTime;
this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室_select;
BOperationRecord.Update("OutRoomTime=@OutRoom where Id=@id ", new AIMSModel.ParameterList("@OutRoom", _record.OutRoomTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id));
+
+ _record.AnalgesiaRecord.AssessmentTime = _record.OutRoomTime.Value.ToString("yyyy-MM-dd HH:mm");
+ BOperationRecordAnalgesia.Update(_record.AnalgesiaRecord);
}
}
}
@@ -2277,7 +2280,7 @@ namespace AIMS.OperationAanesthesia
_record.AnalgesiaRecord.AnesthesiaSurgeryHistory = "无";
_record.AnalgesiaRecord.CardiovascularSystem = "无";
_record.AnalgesiaRecord.RespiratorySystem = "无";
- _record.AnalgesiaRecord.EndocrineSystem = "有";
+ _record.AnalgesiaRecord.EndocrineSystem = "无";
_record.AnalgesiaRecord.OtherSpecialConditions = "无";
_record.AnalgesiaRecord.PatientOutcome = "病房";
_record.AnalgesiaRecord.PainScore = "0";
diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs
index 3b5f200..83bf966 100644
--- a/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs
+++ b/AIMS/OperationAanesthesia/frmInstrumentRecord.Designer.cs
@@ -48,6 +48,21 @@
this.btnTemplate = new System.Windows.Forms.Button();
this.btnSelectPatient = new System.Windows.Forms.Button();
this.panel4 = new System.Windows.Forms.Panel();
+ this.lblSpo2 = new System.Windows.Forms.Label();
+ this.lblRESP = new System.Windows.Forms.Label();
+ this.lblDia = new System.Windows.Forms.Label();
+ this.lblPR = new System.Windows.Forms.Label();
+ this.lblHR = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label8 = new System.Windows.Forms.Label();
+ this.label6 = new System.Windows.Forms.Label();
+ this.label10 = new System.Windows.Forms.Label();
+ this.label7 = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
this.btnChage = new System.Windows.Forms.Button();
this.btnsjzx = new System.Windows.Forms.Button();
this.btndptz = new System.Windows.Forms.Button();
@@ -168,21 +183,6 @@
this.txtInRoom1 = new System.Windows.Forms.Button();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
- this.lblSpo2 = new System.Windows.Forms.Label();
- this.lblRESP = new System.Windows.Forms.Label();
- this.lblDia = new System.Windows.Forms.Label();
- this.lblPR = new System.Windows.Forms.Label();
- this.lblHR = new System.Windows.Forms.Label();
- this.label9 = new System.Windows.Forms.Label();
- this.label8 = new System.Windows.Forms.Label();
- this.label6 = new System.Windows.Forms.Label();
- this.label10 = new System.Windows.Forms.Label();
- this.label7 = new System.Windows.Forms.Label();
- this.label5 = new System.Windows.Forms.Label();
- this.label3 = new System.Windows.Forms.Label();
- this.label2 = new System.Windows.Forms.Label();
- this.label4 = new System.Windows.Forms.Label();
- this.label1 = new System.Windows.Forms.Label();
this.panel3.SuspendLayout();
this.panel14.SuspendLayout();
this.panel4.SuspendLayout();
@@ -586,6 +586,181 @@
this.panel4.Size = new System.Drawing.Size(160, 931);
this.panel4.TabIndex = 3;
//
+ // lblSpo2
+ //
+ this.lblSpo2.AutoSize = true;
+ this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.lblSpo2.ForeColor = System.Drawing.Color.Cyan;
+ this.lblSpo2.Location = new System.Drawing.Point(40, 416);
+ this.lblSpo2.Name = "lblSpo2";
+ this.lblSpo2.Size = new System.Drawing.Size(50, 46);
+ this.lblSpo2.TabIndex = 54;
+ this.lblSpo2.Text = "--";
+ //
+ // lblRESP
+ //
+ this.lblRESP.AutoSize = true;
+ this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.lblRESP.ForeColor = System.Drawing.Color.DarkOrange;
+ this.lblRESP.Location = new System.Drawing.Point(50, 323);
+ this.lblRESP.Name = "lblRESP";
+ this.lblRESP.Size = new System.Drawing.Size(50, 46);
+ this.lblRESP.TabIndex = 52;
+ this.lblRESP.Text = "--";
+ //
+ // lblDia
+ //
+ this.lblDia.AutoSize = true;
+ this.lblDia.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.lblDia.ForeColor = System.Drawing.Color.Red;
+ this.lblDia.Location = new System.Drawing.Point(17, 230);
+ this.lblDia.Name = "lblDia";
+ this.lblDia.Size = new System.Drawing.Size(125, 46);
+ this.lblDia.TabIndex = 51;
+ this.lblDia.Text = "---/---";
+ //
+ // lblPR
+ //
+ this.lblPR.AutoSize = true;
+ this.lblPR.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.lblPR.ForeColor = System.Drawing.Color.Green;
+ this.lblPR.Location = new System.Drawing.Point(50, 137);
+ this.lblPR.Name = "lblPR";
+ this.lblPR.Size = new System.Drawing.Size(50, 46);
+ this.lblPR.TabIndex = 49;
+ this.lblPR.Text = "--";
+ //
+ // lblHR
+ //
+ this.lblHR.AutoSize = true;
+ this.lblHR.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.lblHR.ForeColor = System.Drawing.Color.Green;
+ this.lblHR.Location = new System.Drawing.Point(50, 44);
+ this.lblHR.Name = "lblHR";
+ this.lblHR.Size = new System.Drawing.Size(50, 46);
+ this.lblHR.TabIndex = 42;
+ this.lblHR.Text = "--";
+ //
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.BackColor = System.Drawing.Color.White;
+ this.label9.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label9.ForeColor = System.Drawing.Color.DimGray;
+ this.label9.Location = new System.Drawing.Point(34, 390);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(95, 24);
+ this.label9.TabIndex = 55;
+ this.label9.Text = "SPO2( % )";
+ //
+ // label8
+ //
+ this.label8.AutoSize = true;
+ this.label8.BackColor = System.Drawing.Color.White;
+ this.label8.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label8.ForeColor = System.Drawing.Color.DimGray;
+ this.label8.Location = new System.Drawing.Point(26, 297);
+ this.label8.Name = "label8";
+ this.label8.Size = new System.Drawing.Size(110, 24);
+ this.label8.TabIndex = 53;
+ this.label8.Text = "呼吸( 次/分 )";
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.BackColor = System.Drawing.Color.White;
+ this.label6.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label6.ForeColor = System.Drawing.Color.DimGray;
+ this.label6.Location = new System.Drawing.Point(18, 204);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(127, 24);
+ this.label6.TabIndex = 50;
+ this.label6.Text = "血压( mmHg )";
+ //
+ // label10
+ //
+ this.label10.AutoSize = true;
+ this.label10.BackColor = System.Drawing.Color.White;
+ this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label10.ForeColor = System.Drawing.Color.DimGray;
+ this.label10.Location = new System.Drawing.Point(44, 464);
+ this.label10.Name = "label10";
+ this.label10.Size = new System.Drawing.Size(70, 17);
+ this.label10.TabIndex = 43;
+ this.label10.Text = "90%-100%";
+ //
+ // label7
+ //
+ this.label7.AutoSize = true;
+ this.label7.BackColor = System.Drawing.Color.White;
+ this.label7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label7.ForeColor = System.Drawing.Color.DimGray;
+ this.label7.Location = new System.Drawing.Point(44, 371);
+ this.label7.Name = "label7";
+ this.label7.Size = new System.Drawing.Size(74, 17);
+ this.label7.TabIndex = 44;
+ this.label7.Text = "16-20 次/分";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.BackColor = System.Drawing.Color.White;
+ this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label5.ForeColor = System.Drawing.Color.DimGray;
+ this.label5.Location = new System.Drawing.Point(36, 278);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(91, 17);
+ this.label5.TabIndex = 45;
+ this.label5.Text = "60-140 mmHg";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.BackColor = System.Drawing.Color.White;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label3.ForeColor = System.Drawing.Color.DimGray;
+ this.label3.Location = new System.Drawing.Point(41, 185);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(81, 17);
+ this.label3.TabIndex = 46;
+ this.label3.Text = "60-100 次/分";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.BackColor = System.Drawing.Color.White;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label2.ForeColor = System.Drawing.Color.DimGray;
+ this.label2.Location = new System.Drawing.Point(41, 92);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(81, 17);
+ this.label2.TabIndex = 47;
+ this.label2.Text = "60-100 次/分";
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.BackColor = System.Drawing.Color.White;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label4.ForeColor = System.Drawing.Color.DimGray;
+ this.label4.Location = new System.Drawing.Point(26, 111);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(110, 24);
+ this.label4.TabIndex = 48;
+ this.label4.Text = "脉搏( 次/分 )";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.BackColor = System.Drawing.Color.White;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label1.ForeColor = System.Drawing.Color.DimGray;
+ this.label1.Location = new System.Drawing.Point(26, 18);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(110, 24);
+ this.label1.TabIndex = 41;
+ this.label1.Text = "心率( 次/分 )";
+ //
// btnChage
//
this.btnChage.BackColor = System.Drawing.Color.Transparent;
@@ -605,6 +780,7 @@
this.btnChage.Text = " 收费记录";
this.btnChage.UseVisualStyleBackColor = false;
this.btnChage.Visible = false;
+ this.btnChage.Click += new System.EventHandler(this.btnChage_Click);
//
// btnsjzx
//
@@ -2326,181 +2502,6 @@
this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71);
this.flowLayoutPanel1.TabIndex = 0;
//
- // lblSpo2
- //
- this.lblSpo2.AutoSize = true;
- this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblSpo2.ForeColor = System.Drawing.Color.Cyan;
- this.lblSpo2.Location = new System.Drawing.Point(40, 416);
- this.lblSpo2.Name = "lblSpo2";
- this.lblSpo2.Size = new System.Drawing.Size(50, 46);
- this.lblSpo2.TabIndex = 54;
- this.lblSpo2.Text = "--";
- //
- // lblRESP
- //
- this.lblRESP.AutoSize = true;
- this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblRESP.ForeColor = System.Drawing.Color.DarkOrange;
- this.lblRESP.Location = new System.Drawing.Point(50, 323);
- this.lblRESP.Name = "lblRESP";
- this.lblRESP.Size = new System.Drawing.Size(50, 46);
- this.lblRESP.TabIndex = 52;
- this.lblRESP.Text = "--";
- //
- // lblDia
- //
- this.lblDia.AutoSize = true;
- this.lblDia.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblDia.ForeColor = System.Drawing.Color.Red;
- this.lblDia.Location = new System.Drawing.Point(17, 230);
- this.lblDia.Name = "lblDia";
- this.lblDia.Size = new System.Drawing.Size(125, 46);
- this.lblDia.TabIndex = 51;
- this.lblDia.Text = "---/---";
- //
- // lblPR
- //
- this.lblPR.AutoSize = true;
- this.lblPR.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblPR.ForeColor = System.Drawing.Color.Green;
- this.lblPR.Location = new System.Drawing.Point(50, 137);
- this.lblPR.Name = "lblPR";
- this.lblPR.Size = new System.Drawing.Size(50, 46);
- this.lblPR.TabIndex = 49;
- this.lblPR.Text = "--";
- //
- // lblHR
- //
- this.lblHR.AutoSize = true;
- this.lblHR.Font = new System.Drawing.Font("微软雅黑", 26.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.lblHR.ForeColor = System.Drawing.Color.Green;
- this.lblHR.Location = new System.Drawing.Point(50, 44);
- this.lblHR.Name = "lblHR";
- this.lblHR.Size = new System.Drawing.Size(50, 46);
- this.lblHR.TabIndex = 42;
- this.lblHR.Text = "--";
- //
- // label9
- //
- this.label9.AutoSize = true;
- this.label9.BackColor = System.Drawing.Color.White;
- this.label9.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label9.ForeColor = System.Drawing.Color.DimGray;
- this.label9.Location = new System.Drawing.Point(34, 390);
- this.label9.Name = "label9";
- this.label9.Size = new System.Drawing.Size(95, 24);
- this.label9.TabIndex = 55;
- this.label9.Text = "SPO2( % )";
- //
- // label8
- //
- this.label8.AutoSize = true;
- this.label8.BackColor = System.Drawing.Color.White;
- this.label8.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label8.ForeColor = System.Drawing.Color.DimGray;
- this.label8.Location = new System.Drawing.Point(26, 297);
- this.label8.Name = "label8";
- this.label8.Size = new System.Drawing.Size(110, 24);
- this.label8.TabIndex = 53;
- this.label8.Text = "呼吸( 次/分 )";
- //
- // label6
- //
- this.label6.AutoSize = true;
- this.label6.BackColor = System.Drawing.Color.White;
- this.label6.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label6.ForeColor = System.Drawing.Color.DimGray;
- this.label6.Location = new System.Drawing.Point(18, 204);
- this.label6.Name = "label6";
- this.label6.Size = new System.Drawing.Size(127, 24);
- this.label6.TabIndex = 50;
- this.label6.Text = "血压( mmHg )";
- //
- // label10
- //
- this.label10.AutoSize = true;
- this.label10.BackColor = System.Drawing.Color.White;
- this.label10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label10.ForeColor = System.Drawing.Color.DimGray;
- this.label10.Location = new System.Drawing.Point(44, 464);
- this.label10.Name = "label10";
- this.label10.Size = new System.Drawing.Size(70, 17);
- this.label10.TabIndex = 43;
- this.label10.Text = "90%-100%";
- //
- // label7
- //
- this.label7.AutoSize = true;
- this.label7.BackColor = System.Drawing.Color.White;
- this.label7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label7.ForeColor = System.Drawing.Color.DimGray;
- this.label7.Location = new System.Drawing.Point(44, 371);
- this.label7.Name = "label7";
- this.label7.Size = new System.Drawing.Size(74, 17);
- this.label7.TabIndex = 44;
- this.label7.Text = "16-20 次/分";
- //
- // label5
- //
- this.label5.AutoSize = true;
- this.label5.BackColor = System.Drawing.Color.White;
- this.label5.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label5.ForeColor = System.Drawing.Color.DimGray;
- this.label5.Location = new System.Drawing.Point(36, 278);
- this.label5.Name = "label5";
- this.label5.Size = new System.Drawing.Size(91, 17);
- this.label5.TabIndex = 45;
- this.label5.Text = "60-140 mmHg";
- //
- // label3
- //
- this.label3.AutoSize = true;
- this.label3.BackColor = System.Drawing.Color.White;
- this.label3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label3.ForeColor = System.Drawing.Color.DimGray;
- this.label3.Location = new System.Drawing.Point(41, 185);
- this.label3.Name = "label3";
- this.label3.Size = new System.Drawing.Size(81, 17);
- this.label3.TabIndex = 46;
- this.label3.Text = "60-100 次/分";
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.BackColor = System.Drawing.Color.White;
- this.label2.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label2.ForeColor = System.Drawing.Color.DimGray;
- this.label2.Location = new System.Drawing.Point(41, 92);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(81, 17);
- this.label2.TabIndex = 47;
- this.label2.Text = "60-100 次/分";
- //
- // label4
- //
- this.label4.AutoSize = true;
- this.label4.BackColor = System.Drawing.Color.White;
- this.label4.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label4.ForeColor = System.Drawing.Color.DimGray;
- this.label4.Location = new System.Drawing.Point(26, 111);
- this.label4.Name = "label4";
- this.label4.Size = new System.Drawing.Size(110, 24);
- this.label4.TabIndex = 48;
- this.label4.Text = "脉搏( 次/分 )";
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.BackColor = System.Drawing.Color.White;
- this.label1.Font = new System.Drawing.Font("微软雅黑", 12.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.label1.ForeColor = System.Drawing.Color.DimGray;
- this.label1.Location = new System.Drawing.Point(26, 18);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(110, 24);
- this.label1.TabIndex = 41;
- this.label1.Text = "心率( 次/分 )";
- //
// frmInstrumentRecord
//
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord.cs
index 74443e0..47340f0 100644
--- a/AIMS/OperationAanesthesia/frmInstrumentRecord.cs
+++ b/AIMS/OperationAanesthesia/frmInstrumentRecord.cs
@@ -2215,6 +2215,13 @@ namespace AIMS.OperationAanesthesia
DBManage.AddOperation(_record, SelectOperationData);
}
+ private void btnChage_Click(object sender, EventArgs e)
+ {
+ frmFeesRecord frmchargRecord = new frmFeesRecord(_record, "护士");
+ frmchargRecord.Show();
+ frmchargRecord.BringToFront();
+ }
+
private void frmAnasRecordInstrument_VisibleChanged(object sender, EventArgs e)
{
if (this.Visible == false)
diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs
index 2949f38..487bdc3 100644
--- a/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs
+++ b/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs
@@ -1397,7 +1397,7 @@ namespace AIMS.OperationAanesthesia
var BillText = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
&& (x as XTextInputFieldElement).Name == QXList[nulli]).FirstOrDefault();
if (BillText != null)
- {
+ {
var BillText2 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
&& (x as XTextInputFieldElement).Name == QXList[nulli] + "A").FirstOrDefault();
if (BillText2 != null && BillText2.Text != "")
@@ -1621,10 +1621,8 @@ namespace AIMS.OperationAanesthesia
_record.InstrumentList.TagPicture = "";// Convert.ToBase64String(PublicToDoument.ImageToBytes(pictureBox1.Image));
_record.InstrumentList.JsonTextData = "";// PublicToDoument.SerializeControl(panel18, _record, new List ());
- //_record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text;
- //_record.InstrumentList.TourNurse = txtTourNurse.Text;
var operation = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20180604142607822").FirstOrDefault();
- if (operation != null && operation.Text != "")
+ if (operation != null && operation.Text != "" && operation.Text != Patient.OperationInfoName)
{
_record.InstrumentList.Remark = operation.Text;
DBManage.AddOperation(_record, GetOperationId(operation.Text));
@@ -1634,6 +1632,18 @@ namespace AIMS.OperationAanesthesia
{
DBManage.AddOperationSite(_record, GetOperationSiteId(OperationSite.Text));
}
+
+ var TourNurse = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20211213195424058").FirstOrDefault();//7
+ if (TourNurse != null && TourNurse.Text != "" && TourNurse.Text != Patient.TourNurse)
+ {
+ DBManage.AddPerson(_record, GetPersonId(TourNurse.Text), 7);
+ }
+ var InstrumentNurse = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20221028190620022").FirstOrDefault();//6
+ if (InstrumentNurse != null && InstrumentNurse.Text != "" && InstrumentNurse.Text != Patient.InstrumentNurse)
+ {
+ DBManage.AddPerson(_record, GetPersonId(InstrumentNurse.Text), 6);
+ }
+
_record.InstrumentList.OperatorNo = PublicMethod.OperatorNo;
_record.InstrumentList.OperatorName = PublicMethod.OperatorName;
_record.InstrumentList.OperateDate = DateTime.Now;
@@ -1736,6 +1746,40 @@ namespace AIMS.OperationAanesthesia
}
return string.Join(",", result.ToArray());
}
+ private string GetPersonId(string namestr)
+ {
+ List result = new List();
+ List names = new List();
+ if (namestr.Contains(","))
+ {
+ names = namestr.Split(',').ToList();
+ }
+ else if (namestr.Contains(","))
+ {
+ names = namestr.Split(',').ToList();
+ }
+ else if (namestr.Contains("+"))
+ {
+ names = namestr.Split('+').ToList();
+ }
+ else
+ {
+ names.Add(namestr);
+ }
+ foreach (var name in names)
+ {
+ DataTable dt = DBHelper.GetDataTable("select * from Person where Name ='" + name + "' and PersonType='手术室护士' and isvalid=1");
+
+ if (dt.Rows.Count > 0)
+ {
+ for (int j = 0; j < dt.Rows.Count; j++)
+ {
+ result.Add(dt.Rows[0]["Id"].ToString());
+ }
+ }
+ }
+ return string.Join(",", result.ToArray());
+ }
///
/// 得到当前使用的器械对象集合
///
@@ -1876,7 +1920,7 @@ namespace AIMS.OperationAanesthesia
try
{
myEditControl.ExecuteCommand("FilePrint", false, null);
- plRefresh_Click(null, null);
+ plRefresh_Click(null, null);
new frmMessageBox("打印完成!").Show();
}
catch (Exception exp)
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs b/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs
index e2b3810..012506e 100644
--- a/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs
+++ b/AIMS/OperationAanesthesia/frmSelectPatientNew2.cs
@@ -257,7 +257,13 @@ namespace AIMS.OperationAanesthesia
MessageBox.Show("当前手术已停止 ,请确认后重新选择!", "系统提示");
FillDgv();
return;
- }
+ }
+ if (operA.State == 6)
+ {
+ MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示");
+ FillDgv();
+ return;
+ }
if (operA.OrderOperationTime.Value.Date != DateTime.Now.Date)// && operA.OrderOperationTime.Value.Hour < 20)
{
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs b/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs
index dbf71e4..ec7c554 100644
--- a/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs
+++ b/AIMS/OperationAanesthesia/frmSelectPatientNew3.cs
@@ -267,12 +267,12 @@ namespace AIMS.OperationAanesthesia
return;
}
- if (operA.State == 5 || operA.State == 6)
+ if (operA.State == 6)
{
- MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示");
+ MessageBox.Show("当前手术已开始 ,请确认后重新选择!", "系统提示");
FillDgv();
return;
- }
+ }
frmAanesthesiaPainlessRecord frmAnasRecord = null;
if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null)
diff --git a/AIMS/OperationAfter/frmNotesRecordExport.cs b/AIMS/OperationAfter/frmNotesRecordExport.cs
index 4d3aa41..143127c 100644
--- a/AIMS/OperationAfter/frmNotesRecordExport.cs
+++ b/AIMS/OperationAfter/frmNotesRecordExport.cs
@@ -1,19 +1,8 @@
-using AIMS.OperationAanesthesia;
-using AIMS.OperationAfter.UI;
-using AIMSBLL;
+using AIMSBLL;
using AIMSExtension;
using AIMSModel;
-using DocumentManagement;
-using DrawGraph;
-using Microsoft.Office.Interop.Excel;
-using Newtonsoft.Json;
using System;
using System.Collections.Generic;
-using System.Data;
-using System.Diagnostics;
-using System.Linq;
-using System.Reflection;
-using System.Text;
using System.Windows.Forms;
namespace AIMS
@@ -29,8 +18,8 @@ namespace AIMS
dgvtReport.AutoGenerateColumns = false;
dgvtReport2.AutoGenerateColumns = false;
dgvtReport3.AutoGenerateColumns = false;
+ dgvtReport4.AutoGenerateColumns = false;
}
-
private void frmOperationDruggCheck_Load(object sender, EventArgs e)
{
try
@@ -40,103 +29,24 @@ namespace AIMS
dtpOpeTime.Value = firstDayOfMonth;
dtpOpeTime2.Value = firstDayOfMonth;
dtpOpeTime3.Value = firstDayOfMonth;
+ dtpOpeTime4.Value = firstDayOfMonth;
- dtpEnd2.Value =DateTime.Now;
- dtpEnd3.Value = DateTime.Now;
+ dtpEnd2.Value = DateTime.Now;
+ dtpEnd3.Value = DateTime.Now;
dtpEnd.Value = DateTime.Now;
+ dtpEnd4.Value = DateTime.Now;
- btn手术例数按月统计_Click(null,null);
+ btn手术例数按月统计_Click(null, null);
}
catch (Exception exp)
{
PublicMethod.WriteLog(exp);
}
}
-
private void toolStripButton1_Click(object sender, EventArgs e)
{
- if (selectdgv.Rows.Count <= 0) return;
- List records = new List();
- for (int i = 0; i < selectdgv.Rows.Count; i++)
- {
- DataGridViewRow dr = selectdgv.Rows[i];
- NotesRecord record = new NotesRecord();
- record.RecordTime = Convert.ToDateTime(dr.Cells[1].EditedFormattedValue.ToString());
- record.Content1 = dr.Cells[2].EditedFormattedValue.ToString();
- record.Content2 = dr.Cells[3].EditedFormattedValue.ToString();
- record.Content3 = dr.Cells[4].EditedFormattedValue.ToString();
- record.Content4 = dr.Cells[5].EditedFormattedValue.ToString();
- record.Content5 = dr.Cells[6].EditedFormattedValue.ToString();
- if (selectdgv.Columns.Count == 9)
- {
- record.Content6 = dr.Cells[7].EditedFormattedValue.ToString();
- record.ExecWork = dr.Cells[8].EditedFormattedValue.ToString();
- }
- else
- record.ExecWork = dr.Cells[7].EditedFormattedValue.ToString();
- records.Add(record);
- }
-
- int n = 31;
- List> groupedLists = new List>();
- for (int i = 0; i < records.Count; i += n)
- {
- List group = records.GetRange(i, Math.Min(n, records.Count - i));
- groupedLists.Add(group);
- }
-
- foreach (var item in groupedLists)
- {
- string fileName = superTabControl1.SelectedTab.Text;
- GoldPrinter.ExcelAccess excel = new GoldPrinter.ExcelAccess();
- string strFileName = fileName + ".xlt"; //模板文件名
- string strExcelTemplateFile = System.Windows.Forms.Application.StartupPath;
- strExcelTemplateFile += @"\Template\" + strFileName;
- excel.Open(strExcelTemplateFile); //用模板文件
-
- int rowNum = 6;
- if (selectdgv.Columns.Count == 8)
- {
- foreach (var record in item)
- {
- excel.GetRange(rowNum, "A", rowNum, "G").Value = new string[]
- {
- record.RecordTime.Value.ToString("yyyy-MM-dd"),
- record.Content1,
- record.Content2,
- record.Content3,
- record.Content4,
- record.Content5,
- record.ExecWork
- };
- rowNum++;
- }
- }
- else
- {
- rowNum = 7;
- foreach (var record in item)
- {
- excel.GetRange(rowNum, "A", rowNum, "H").Value = new string[]
- {
- record.RecordTime.Value.ToString("yyyy-MM-dd"),
- record.Content1,
- record.Content2,
- record.Content3,
- record.Content4,
- record.Content5,
- record.Content6,
- record.ExecWork
- };
- rowNum++;
- }
- }
- excel.Print();
- excel.Close();
- this.Focus();
- }
+ PrintORVirew(false);
}
-
private void LoadNoteData(string beginTime, string endTime, string notename)
{
System.Data.DataTable dataResult = BNotesRecords.GetMonthDayTable(beginTime, endTime);
@@ -159,7 +69,6 @@ namespace AIMS
}
selectdgv.DataSource = records;
}
-
private void NewMethod(string notename)
{
for (int i = 0; i < selectdgv.Rows.Count; i++)
@@ -173,7 +82,14 @@ namespace AIMS
record.Content3 = dr.Cells[4].EditedFormattedValue.ToString();
record.Content4 = dr.Cells[5].EditedFormattedValue.ToString();
record.Content5 = dr.Cells[6].EditedFormattedValue.ToString();
- if (selectdgv.Columns.Count == 9)
+ if (selectdgv.Columns.Count == 11)
+ {
+ record.Content6 = dr.Cells[7].EditedFormattedValue.ToString();
+ record.Content7 = dr.Cells[8].EditedFormattedValue.ToString();
+ record.Content8 = dr.Cells[9].EditedFormattedValue.ToString();
+ record.ExecWork = dr.Cells[10].EditedFormattedValue.ToString();
+ }
+ else if (selectdgv.Columns.Count == 9)
{
record.Content6 = dr.Cells[7].EditedFormattedValue.ToString();
record.ExecWork = dr.Cells[8].EditedFormattedValue.ToString();
@@ -218,7 +134,6 @@ namespace AIMS
this.dgvtReport2.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色
this.dgvtReport2.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色
}
-
private void btn麻醉贵重物品清点本_Click(object sender, EventArgs e)
{
selectdgv = dgvtReport3;
@@ -227,7 +142,6 @@ namespace AIMS
LoadNoteData(beginTime, endTime, "麻醉贵重物品清点本");
}
-
private void btn麻醉贵重物品清点本Save_Click(object sender, EventArgs e)
{
NewMethod("麻醉贵重物品清点本");
@@ -250,7 +164,6 @@ namespace AIMS
this.dgvtReport3.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色
this.dgvtReport3.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色
}
-
private void btn手术例数按月统计_Click(object sender, EventArgs e)
{
selectdgv = dgvtReport;
@@ -312,7 +225,6 @@ namespace AIMS
}
selectdgv.DataSource = records;
}
-
private void buttonX1_Click(object sender, EventArgs e)
{
NewMethod("麻醉机及心电监护仪使用消毒记录");
@@ -335,10 +247,13 @@ namespace AIMS
this.dgvtReport.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色
this.dgvtReport.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色
}
-
private void toolStripButton2_Click(object sender, EventArgs e)
{
+ PrintORVirew(true);
+ }
+ private void PrintORVirew(bool isprintview)
+ {
if (selectdgv.Rows.Count <= 0) return;
List records = new List();
for (int i = 0; i < selectdgv.Rows.Count; i++)
@@ -351,7 +266,14 @@ namespace AIMS
record.Content3 = dr.Cells[4].EditedFormattedValue.ToString();
record.Content4 = dr.Cells[5].EditedFormattedValue.ToString();
record.Content5 = dr.Cells[6].EditedFormattedValue.ToString();
- if (selectdgv.Columns.Count == 9)
+ if (selectdgv.Columns.Count == 11)
+ {
+ record.Content6 = dr.Cells[7].EditedFormattedValue.ToString();
+ record.Content7 = dr.Cells[8].EditedFormattedValue.ToString();
+ record.Content8 = dr.Cells[9].EditedFormattedValue.ToString();
+ record.ExecWork = dr.Cells[10].EditedFormattedValue.ToString();
+ }
+ else if (selectdgv.Columns.Count == 9)
{
record.Content6 = dr.Cells[7].EditedFormattedValue.ToString();
record.ExecWork = dr.Cells[8].EditedFormattedValue.ToString();
@@ -362,6 +284,8 @@ namespace AIMS
}
int n = 31;
+ if (selectdgv.Columns.Count == 11)
+ n = 26;
List> groupedLists = new List>();
for (int i = 0; i < records.Count; i += n)
{
@@ -379,7 +303,28 @@ namespace AIMS
excel.Open(strExcelTemplateFile); //用模板文件
int rowNum = 6;
- if (selectdgv.Columns.Count == 8)
+ if (selectdgv.Columns.Count == 11)
+ {
+ rowNum = 8;
+ foreach (var record in item)
+ {
+ excel.GetRange(rowNum, "A", rowNum, "J").Value = new string[]
+ {
+ record.RecordTime.Value.ToString("yyyy-MM-dd"),
+ record.Content1,
+ record.Content2,
+ record.Content3,
+ record.Content4,
+ record.Content5,
+ record.Content6,
+ record.Content7,
+ record.Content8,
+ record.ExecWork
+ };
+ rowNum++;
+ }
+ }
+ else if (selectdgv.Columns.Count == 8)
{
foreach (var record in item)
{
@@ -415,10 +360,44 @@ namespace AIMS
rowNum++;
}
}
+ if (isprintview==true)
excel.PrintPreview();
+ else
+ excel.Print();
excel.Close();
break;
}
}
+
+ private void btn手术间保养维修记录_Click(object sender, EventArgs e)
+ {
+ selectdgv = dgvtReport4;
+ string beginTime = Convert.ToDateTime(dtpOpeTime4.Value).ToString("yyyy-MM-dd 00:00:00");
+ string endTime = Convert.ToDateTime(dtpEnd4.Value).AddDays(1).ToString("yyyy-MM-dd 00:00:00");
+
+ LoadNoteData(beginTime, endTime, "手术间保养维修记录");
+ }
+ private void btn手术间保养维修记录Save_Click(object sender, EventArgs e)
+ {
+ NewMethod("手术间保养维修记录");
+ }
+ private void dgvtReport4_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+ {
+ DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo);
+ if (dialog == DialogResult.Yes)
+ {
+ string batchNo = dgvtReport4.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString();
+ for (int i = 0; i < dgvtReport4.Rows.Count; i++)
+ {
+ dgvtReport4.Rows[i].Cells[e.ColumnIndex].Value = batchNo;
+ }
+ }
+ }
+ private void dgvtReport4_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
+ {
+ //隔行换色
+ this.dgvtReport4.RowsDefaultCellStyle.BackColor = System.Drawing.Color.White;//设置背景为白色
+ this.dgvtReport4.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(242)))), (((int)(((byte)242)))));//青色
+ }
}
}
diff --git a/AIMS/OperationAfter/frmNotesRecordExport.designer.cs b/AIMS/OperationAfter/frmNotesRecordExport.designer.cs
index 1fd7730..069640e 100644
--- a/AIMS/OperationAfter/frmNotesRecordExport.designer.cs
+++ b/AIMS/OperationAfter/frmNotesRecordExport.designer.cs
@@ -28,18 +28,32 @@
///
private void InitializeComponent()
{
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl();
+ this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.dgvtReport4 = new System.Windows.Forms.DataGridView();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.btn手术间保养维修记录Save = new DevComponents.DotNetBar.ButtonX();
+ this.dtpEnd4 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.dtpOpeTime4 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.label5 = new System.Windows.Forms.Label();
+ this.btn手术间保养维修记录 = new DevComponents.DotNetBar.ButtonX();
+ this.label6 = new System.Windows.Forms.Label();
+ this.superTabItem1 = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvtReport = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -58,6 +72,24 @@
this.btn手术例数按月统计 = new DevComponents.DotNetBar.ButtonX();
this.labDate = new System.Windows.Forms.Label();
this.R1 = new DevComponents.DotNetBar.SuperTabItem();
+ this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.dgvtReport2 = new System.Windows.Forms.DataGridView();
+ this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.RecordTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Content5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.ExecWork = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.btn冰箱监测Save = new DevComponents.DotNetBar.ButtonX();
+ this.dtpEnd2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.dtpOpeTime2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.label1 = new System.Windows.Forms.Label();
+ this.btn冰箱监测 = new DevComponents.DotNetBar.ButtonX();
+ this.label2 = new System.Windows.Forms.Label();
+ this.R2 = new DevComponents.DotNetBar.SuperTabItem();
this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel();
this.dgvtReport3 = new System.Windows.Forms.DataGridView();
this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -77,24 +109,6 @@
this.btn麻醉贵重物品清点本 = new DevComponents.DotNetBar.ButtonX();
this.label4 = new System.Windows.Forms.Label();
this.R3 = new DevComponents.DotNetBar.SuperTabItem();
- this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
- this.dgvtReport2 = new System.Windows.Forms.DataGridView();
- this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.RecordTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Content1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Content2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Content3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Content4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.Content5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.ExecWork = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.panel1 = new System.Windows.Forms.Panel();
- this.btn冰箱监测Save = new DevComponents.DotNetBar.ButtonX();
- this.dtpEnd2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
- this.dtpOpeTime2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
- this.label1 = new System.Windows.Forms.Label();
- this.btn冰箱监测 = new DevComponents.DotNetBar.ButtonX();
- this.label2 = new System.Windows.Forms.Label();
- this.R2 = new DevComponents.DotNetBar.SuperTabItem();
this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -103,25 +117,40 @@
this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
+ this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.Column4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.toolStrip1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit();
this.superTabControl1.SuspendLayout();
+ this.superTabControlPanel4.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport4)).BeginInit();
+ this.panel4.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd4)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime4)).BeginInit();
this.superTabControlPanel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).BeginInit();
this.panel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).BeginInit();
- this.superTabControlPanel3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dgvtReport3)).BeginInit();
- this.panel3.SuspendLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dtpEnd3)).BeginInit();
- ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime3)).BeginInit();
this.superTabControlPanel2.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dgvtReport2)).BeginInit();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dtpEnd2)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime2)).BeginInit();
+ this.superTabControlPanel3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport3)).BeginInit();
+ this.panel3.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd3)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime3)).BeginInit();
this.SuspendLayout();
//
// toolStrip1
@@ -138,6 +167,18 @@
this.toolStrip1.TabIndex = 37;
this.toolStrip1.Text = "toolStrip1";
//
+ // toolStripButton2
+ //
+ this.toolStripButton2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.toolStripButton2.Image = global::AIMS.Properties.Resources.图标_预览;
+ this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton2.Name = "toolStripButton2";
+ this.toolStripButton2.Size = new System.Drawing.Size(60, 46);
+ this.toolStripButton2.Text = "打印预览";
+ this.toolStripButton2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.toolStripButton2.ToolTipText = "打印登记本";
+ this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
+ //
// toolStripButton1
//
this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
@@ -168,9 +209,10 @@
this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.superTabControl1.ControlBox.MenuBox,
this.superTabControl1.ControlBox.CloseBox});
+ this.superTabControl1.Controls.Add(this.superTabControlPanel4);
this.superTabControl1.Controls.Add(this.superTabControlPanel1);
- this.superTabControl1.Controls.Add(this.superTabControlPanel3);
this.superTabControl1.Controls.Add(this.superTabControlPanel2);
+ this.superTabControl1.Controls.Add(this.superTabControlPanel3);
this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill;
this.superTabControl1.ForeColor = System.Drawing.Color.Black;
this.superTabControl1.Location = new System.Drawing.Point(0, 49);
@@ -184,9 +226,216 @@
this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
this.R1,
this.R3,
- this.R2});
+ this.R2,
+ this.superTabItem1});
this.superTabControl1.Text = "superTabControl1";
//
+ // superTabControlPanel4
+ //
+ this.superTabControlPanel4.Controls.Add(this.dgvtReport4);
+ this.superTabControlPanel4.Controls.Add(this.panel4);
+ this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControlPanel4.Location = new System.Drawing.Point(0, 32);
+ this.superTabControlPanel4.Name = "superTabControlPanel4";
+ this.superTabControlPanel4.Size = new System.Drawing.Size(1350, 460);
+ this.superTabControlPanel4.TabIndex = 2;
+ this.superTabControlPanel4.TabItem = this.superTabItem1;
+ //
+ // dgvtReport4
+ //
+ this.dgvtReport4.AllowUserToAddRows = false;
+ this.dgvtReport4.AllowUserToResizeColumns = false;
+ this.dgvtReport4.AllowUserToResizeRows = false;
+ this.dgvtReport4.BackgroundColor = System.Drawing.Color.White;
+ this.dgvtReport4.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ this.dgvtReport4.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1;
+ this.dgvtReport4.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvtReport4.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.dataGridViewTextBoxColumn25,
+ this.dataGridViewTextBoxColumn26,
+ this.dataGridViewTextBoxColumn27,
+ this.dataGridViewTextBoxColumn29,
+ this.dataGridViewTextBoxColumn30,
+ this.dataGridViewTextBoxColumn31,
+ this.Column1,
+ this.Column2,
+ this.Column3,
+ this.Column4,
+ this.dataGridViewTextBoxColumn32});
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvtReport4.DefaultCellStyle = dataGridViewCellStyle2;
+ this.dgvtReport4.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvtReport4.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+ this.dgvtReport4.GridColor = System.Drawing.Color.Black;
+ this.dgvtReport4.Location = new System.Drawing.Point(0, 45);
+ this.dgvtReport4.MultiSelect = false;
+ this.dgvtReport4.Name = "dgvtReport4";
+ dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvtReport4.RowHeadersDefaultCellStyle = dataGridViewCellStyle3;
+ this.dgvtReport4.RowHeadersVisible = false;
+ this.dgvtReport4.RowTemplate.Height = 23;
+ this.dgvtReport4.ShowCellErrors = false;
+ this.dgvtReport4.ShowCellToolTips = false;
+ this.dgvtReport4.Size = new System.Drawing.Size(1350, 415);
+ this.dgvtReport4.TabIndex = 393;
+ this.dgvtReport4.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport4_CellDoubleClick);
+ this.dgvtReport4.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport4_RowPostPaint);
+ //
+ // panel4
+ //
+ this.panel4.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.panel4.Controls.Add(this.btn手术间保养维修记录Save);
+ this.panel4.Controls.Add(this.dtpEnd4);
+ this.panel4.Controls.Add(this.dtpOpeTime4);
+ this.panel4.Controls.Add(this.label5);
+ this.panel4.Controls.Add(this.btn手术间保养维修记录);
+ this.panel4.Controls.Add(this.label6);
+ this.panel4.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel4.Location = new System.Drawing.Point(0, 0);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(1350, 45);
+ this.panel4.TabIndex = 392;
+ //
+ // btn手术间保养维修记录Save
+ //
+ this.btn手术间保养维修记录Save.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn手术间保养维修记录Save.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn手术间保养维修记录Save.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn手术间保养维修记录Save.Location = new System.Drawing.Point(452, 7);
+ this.btn手术间保养维修记录Save.Name = "btn手术间保养维修记录Save";
+ this.btn手术间保养维修记录Save.Size = new System.Drawing.Size(90, 29);
+ this.btn手术间保养维修记录Save.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn手术间保养维修记录Save.TabIndex = 474;
+ this.btn手术间保养维修记录Save.Text = "保存";
+ this.btn手术间保养维修记录Save.Click += new System.EventHandler(this.btn手术间保养维修记录Save_Click);
+ //
+ // dtpEnd4
+ //
+ //
+ //
+ //
+ this.dtpEnd4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd4.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpEnd4.ButtonDropDown.Visible = true;
+ this.dtpEnd4.CustomFormat = "yyyy-MM-dd";
+ this.dtpEnd4.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpEnd4.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpEnd4.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpEnd4.IsPopupCalendarOpen = false;
+ this.dtpEnd4.Location = new System.Drawing.Point(224, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpEnd4.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpEnd4.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd4.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpEnd4.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd4.Name = "dtpEnd4";
+ this.dtpEnd4.Size = new System.Drawing.Size(114, 23);
+ this.dtpEnd4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpEnd4.TabIndex = 472;
+ //
+ // dtpOpeTime4
+ //
+ //
+ //
+ //
+ this.dtpOpeTime4.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime4.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpOpeTime4.ButtonDropDown.Visible = true;
+ this.dtpOpeTime4.CustomFormat = "yyyy-MM-dd";
+ this.dtpOpeTime4.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpOpeTime4.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpOpeTime4.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpOpeTime4.IsPopupCalendarOpen = false;
+ this.dtpOpeTime4.Location = new System.Drawing.Point(91, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpOpeTime4.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpOpeTime4.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime4.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpOpeTime4.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime4.Name = "dtpOpeTime4";
+ this.dtpOpeTime4.Size = new System.Drawing.Size(114, 23);
+ this.dtpOpeTime4.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpOpeTime4.TabIndex = 471;
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(208, 11);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(15, 20);
+ this.label5.TabIndex = 470;
+ this.label5.Text = "-";
+ //
+ // btn手术间保养维修记录
+ //
+ this.btn手术间保养维修记录.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn手术间保养维修记录.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn手术间保养维修记录.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn手术间保养维修记录.Location = new System.Drawing.Point(356, 7);
+ this.btn手术间保养维修记录.Name = "btn手术间保养维修记录";
+ this.btn手术间保养维修记录.Size = new System.Drawing.Size(90, 29);
+ this.btn手术间保养维修记录.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn手术间保养维修记录.TabIndex = 467;
+ this.btn手术间保养维修记录.Text = "查询";
+ this.btn手术间保养维修记录.Click += new System.EventHandler(this.btn手术间保养维修记录_Click);
+ //
+ // label6
+ //
+ this.label6.AutoSize = true;
+ this.label6.Location = new System.Drawing.Point(17, 9);
+ this.label6.Name = "label6";
+ this.label6.Size = new System.Drawing.Size(68, 20);
+ this.label6.TabIndex = 421;
+ this.label6.Text = "查询时间:";
+ //
+ // superTabItem1
+ //
+ this.superTabItem1.AttachedControl = this.superTabControlPanel4;
+ this.superTabItem1.GlobalItem = false;
+ this.superTabItem1.Name = "superTabItem1";
+ this.superTabItem1.Text = "手术间保养维修记录";
+ //
// superTabControlPanel1
//
this.superTabControlPanel1.Controls.Add(this.dgvtReport);
@@ -205,13 +454,13 @@
this.dgvtReport.AllowUserToResizeRows = false;
this.dgvtReport.BackgroundColor = System.Drawing.Color.White;
this.dgvtReport.BorderStyle = System.Windows.Forms.BorderStyle.None;
- dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- this.dgvtReport.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ this.dgvtReport.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4;
this.dgvtReport.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvtReport.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn17,
@@ -222,28 +471,28 @@
this.dataGridViewTextBoxColumn22,
this.dataGridViewTextBoxColumn23,
this.dataGridViewTextBoxColumn24});
- dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F);
- dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvtReport.DefaultCellStyle = dataGridViewCellStyle11;
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F);
+ dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvtReport.DefaultCellStyle = dataGridViewCellStyle5;
this.dgvtReport.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvtReport.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.dgvtReport.GridColor = System.Drawing.Color.Black;
this.dgvtReport.Location = new System.Drawing.Point(0, 45);
this.dgvtReport.MultiSelect = false;
this.dgvtReport.Name = "dgvtReport";
- dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvtReport.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
+ dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvtReport.RowHeadersDefaultCellStyle = dataGridViewCellStyle6;
this.dgvtReport.RowHeadersVisible = false;
this.dgvtReport.RowTemplate.Height = 23;
this.dgvtReport.ShowCellErrors = false;
@@ -444,6 +693,258 @@
this.R1.Name = "R1";
this.R1.Text = "麻醉机及心电监护仪使用消毒记录";
//
+ // superTabControlPanel2
+ //
+ this.superTabControlPanel2.Controls.Add(this.dgvtReport2);
+ this.superTabControlPanel2.Controls.Add(this.panel1);
+ this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControlPanel2.Location = new System.Drawing.Point(0, 32);
+ this.superTabControlPanel2.Name = "superTabControlPanel2";
+ this.superTabControlPanel2.Size = new System.Drawing.Size(1350, 460);
+ this.superTabControlPanel2.TabIndex = 0;
+ this.superTabControlPanel2.TabItem = this.R2;
+ //
+ // dgvtReport2
+ //
+ this.dgvtReport2.AllowUserToAddRows = false;
+ this.dgvtReport2.AllowUserToResizeColumns = false;
+ this.dgvtReport2.AllowUserToResizeRows = false;
+ this.dgvtReport2.BackgroundColor = System.Drawing.Color.White;
+ this.dgvtReport2.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ this.dgvtReport2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
+ this.dgvtReport2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvtReport2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.Id,
+ this.RecordTime,
+ this.Content1,
+ this.Content2,
+ this.Content3,
+ this.Content4,
+ this.Content5,
+ this.ExecWork});
+ dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F);
+ dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvtReport2.DefaultCellStyle = dataGridViewCellStyle8;
+ this.dgvtReport2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvtReport2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+ this.dgvtReport2.GridColor = System.Drawing.Color.Black;
+ this.dgvtReport2.Location = new System.Drawing.Point(0, 45);
+ this.dgvtReport2.MultiSelect = false;
+ this.dgvtReport2.Name = "dgvtReport2";
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvtReport2.RowHeadersDefaultCellStyle = dataGridViewCellStyle9;
+ this.dgvtReport2.RowHeadersVisible = false;
+ this.dgvtReport2.RowTemplate.Height = 23;
+ this.dgvtReport2.ShowCellErrors = false;
+ this.dgvtReport2.ShowCellToolTips = false;
+ this.dgvtReport2.Size = new System.Drawing.Size(1350, 415);
+ this.dgvtReport2.TabIndex = 393;
+ this.dgvtReport2.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport2_CellDoubleClick);
+ this.dgvtReport2.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport2_RowPostPaint);
+ //
+ // Id
+ //
+ this.Id.DataPropertyName = "Id";
+ this.Id.HeaderText = "Id";
+ this.Id.Name = "Id";
+ this.Id.Visible = false;
+ //
+ // RecordTime
+ //
+ this.RecordTime.DataPropertyName = "RecordTime";
+ this.RecordTime.HeaderText = "日期";
+ this.RecordTime.Name = "RecordTime";
+ //
+ // Content1
+ //
+ this.Content1.DataPropertyName = "Content1";
+ this.Content1.HeaderText = "班次";
+ this.Content1.Name = "Content1";
+ //
+ // Content2
+ //
+ this.Content2.DataPropertyName = "Content2";
+ this.Content2.HeaderText = "监测温度";
+ this.Content2.Name = "Content2";
+ //
+ // Content3
+ //
+ this.Content3.DataPropertyName = "Content3";
+ this.Content3.HeaderText = "监测人";
+ this.Content3.Name = "Content3";
+ //
+ // Content4
+ //
+ this.Content4.DataPropertyName = "Content4";
+ this.Content4.HeaderText = "除霜人";
+ this.Content4.Name = "Content4";
+ //
+ // Content5
+ //
+ this.Content5.DataPropertyName = "Content5";
+ this.Content5.HeaderText = "消毒人";
+ this.Content5.Name = "Content5";
+ //
+ // ExecWork
+ //
+ this.ExecWork.DataPropertyName = "ExecWork";
+ this.ExecWork.HeaderText = "主任";
+ this.ExecWork.Name = "ExecWork";
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.panel1.Controls.Add(this.btn冰箱监测Save);
+ this.panel1.Controls.Add(this.dtpEnd2);
+ this.panel1.Controls.Add(this.dtpOpeTime2);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Controls.Add(this.btn冰箱监测);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(1350, 45);
+ this.panel1.TabIndex = 392;
+ //
+ // btn冰箱监测Save
+ //
+ this.btn冰箱监测Save.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn冰箱监测Save.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn冰箱监测Save.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn冰箱监测Save.Location = new System.Drawing.Point(452, 7);
+ this.btn冰箱监测Save.Name = "btn冰箱监测Save";
+ this.btn冰箱监测Save.Size = new System.Drawing.Size(90, 29);
+ this.btn冰箱监测Save.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn冰箱监测Save.TabIndex = 474;
+ this.btn冰箱监测Save.Text = "保存";
+ this.btn冰箱监测Save.Click += new System.EventHandler(this.btn冰箱监测Save_Click);
+ //
+ // dtpEnd2
+ //
+ //
+ //
+ //
+ this.dtpEnd2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpEnd2.ButtonDropDown.Visible = true;
+ this.dtpEnd2.CustomFormat = "yyyy-MM-dd";
+ this.dtpEnd2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpEnd2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpEnd2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpEnd2.IsPopupCalendarOpen = false;
+ this.dtpEnd2.Location = new System.Drawing.Point(224, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpEnd2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpEnd2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpEnd2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd2.Name = "dtpEnd2";
+ this.dtpEnd2.Size = new System.Drawing.Size(114, 23);
+ this.dtpEnd2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpEnd2.TabIndex = 472;
+ //
+ // dtpOpeTime2
+ //
+ //
+ //
+ //
+ this.dtpOpeTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpOpeTime2.ButtonDropDown.Visible = true;
+ this.dtpOpeTime2.CustomFormat = "yyyy-MM-dd";
+ this.dtpOpeTime2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpOpeTime2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.dtpOpeTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpOpeTime2.IsPopupCalendarOpen = false;
+ this.dtpOpeTime2.Location = new System.Drawing.Point(91, 9);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpOpeTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpOpeTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpOpeTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime2.Name = "dtpOpeTime2";
+ this.dtpOpeTime2.Size = new System.Drawing.Size(114, 23);
+ this.dtpOpeTime2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpOpeTime2.TabIndex = 471;
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Location = new System.Drawing.Point(208, 11);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(15, 20);
+ this.label1.TabIndex = 470;
+ this.label1.Text = "-";
+ //
+ // btn冰箱监测
+ //
+ this.btn冰箱监测.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btn冰箱监测.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btn冰箱监测.Font = new System.Drawing.Font("微软雅黑", 11.5F);
+ this.btn冰箱监测.Location = new System.Drawing.Point(356, 7);
+ this.btn冰箱监测.Name = "btn冰箱监测";
+ this.btn冰箱监测.Size = new System.Drawing.Size(90, 29);
+ this.btn冰箱监测.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btn冰箱监测.TabIndex = 467;
+ this.btn冰箱监测.Text = "查询";
+ this.btn冰箱监测.Click += new System.EventHandler(this.btn冰箱监测_Click);
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Location = new System.Drawing.Point(17, 9);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(68, 20);
+ this.label2.TabIndex = 421;
+ this.label2.Text = "查询时间:";
+ //
+ // R2
+ //
+ this.R2.AttachedControl = this.superTabControlPanel2;
+ this.R2.GlobalItem = false;
+ this.R2.Name = "R2";
+ this.R2.Text = "冰箱监测";
+ //
// superTabControlPanel3
//
this.superTabControlPanel3.Controls.Add(this.dgvtReport3);
@@ -462,13 +963,13 @@
this.dgvtReport3.AllowUserToResizeRows = false;
this.dgvtReport3.BackgroundColor = System.Drawing.Color.White;
this.dgvtReport3.BorderStyle = System.Windows.Forms.BorderStyle.None;
- dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle13.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- this.dgvtReport3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle13;
+ dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ this.dgvtReport3.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10;
this.dgvtReport3.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvtReport3.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn9,
@@ -480,28 +981,28 @@
this.dataGridViewTextBoxColumn15,
this.Content6,
this.dataGridViewTextBoxColumn16});
- dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 9F);
- dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvtReport3.DefaultCellStyle = dataGridViewCellStyle14;
+ dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F);
+ dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.ControlText;
+ dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvtReport3.DefaultCellStyle = dataGridViewCellStyle11;
this.dgvtReport3.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvtReport3.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.dgvtReport3.GridColor = System.Drawing.Color.Black;
this.dgvtReport3.Location = new System.Drawing.Point(0, 45);
this.dgvtReport3.MultiSelect = false;
this.dgvtReport3.Name = "dgvtReport3";
- dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvtReport3.RowHeadersDefaultCellStyle = dataGridViewCellStyle15;
+ dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvtReport3.RowHeadersDefaultCellStyle = dataGridViewCellStyle12;
this.dgvtReport3.RowHeadersVisible = false;
this.dgvtReport3.RowTemplate.Height = 23;
this.dgvtReport3.ShowCellErrors = false;
@@ -706,258 +1207,6 @@
this.R3.Name = "R3";
this.R3.Text = "麻醉贵重物品清点本";
//
- // superTabControlPanel2
- //
- this.superTabControlPanel2.Controls.Add(this.dgvtReport2);
- this.superTabControlPanel2.Controls.Add(this.panel1);
- this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.superTabControlPanel2.Location = new System.Drawing.Point(0, 32);
- this.superTabControlPanel2.Name = "superTabControlPanel2";
- this.superTabControlPanel2.Size = new System.Drawing.Size(1350, 460);
- this.superTabControlPanel2.TabIndex = 0;
- this.superTabControlPanel2.TabItem = this.R2;
- //
- // dgvtReport2
- //
- this.dgvtReport2.AllowUserToAddRows = false;
- this.dgvtReport2.AllowUserToResizeColumns = false;
- this.dgvtReport2.AllowUserToResizeRows = false;
- this.dgvtReport2.BackgroundColor = System.Drawing.Color.White;
- this.dgvtReport2.BorderStyle = System.Windows.Forms.BorderStyle.None;
- dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle16.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle16.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- this.dgvtReport2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle16;
- this.dgvtReport2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
- this.dgvtReport2.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
- this.Id,
- this.RecordTime,
- this.Content1,
- this.Content2,
- this.Content3,
- this.Content4,
- this.Content5,
- this.ExecWork});
- dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 9F);
- dataGridViewCellStyle17.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.ControlText;
- dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvtReport2.DefaultCellStyle = dataGridViewCellStyle17;
- this.dgvtReport2.Dock = System.Windows.Forms.DockStyle.Fill;
- this.dgvtReport2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
- this.dgvtReport2.GridColor = System.Drawing.Color.Black;
- this.dgvtReport2.Location = new System.Drawing.Point(0, 45);
- this.dgvtReport2.MultiSelect = false;
- this.dgvtReport2.Name = "dgvtReport2";
- dataGridViewCellStyle18.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle18.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle18.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle18.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle18.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle18.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle18.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvtReport2.RowHeadersDefaultCellStyle = dataGridViewCellStyle18;
- this.dgvtReport2.RowHeadersVisible = false;
- this.dgvtReport2.RowTemplate.Height = 23;
- this.dgvtReport2.ShowCellErrors = false;
- this.dgvtReport2.ShowCellToolTips = false;
- this.dgvtReport2.Size = new System.Drawing.Size(1350, 415);
- this.dgvtReport2.TabIndex = 393;
- this.dgvtReport2.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvtReport2_CellDoubleClick);
- this.dgvtReport2.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvtReport2_RowPostPaint);
- //
- // Id
- //
- this.Id.DataPropertyName = "Id";
- this.Id.HeaderText = "Id";
- this.Id.Name = "Id";
- this.Id.Visible = false;
- //
- // RecordTime
- //
- this.RecordTime.DataPropertyName = "RecordTime";
- this.RecordTime.HeaderText = "日期";
- this.RecordTime.Name = "RecordTime";
- //
- // Content1
- //
- this.Content1.DataPropertyName = "Content1";
- this.Content1.HeaderText = "班次";
- this.Content1.Name = "Content1";
- //
- // Content2
- //
- this.Content2.DataPropertyName = "Content2";
- this.Content2.HeaderText = "监测温度";
- this.Content2.Name = "Content2";
- //
- // Content3
- //
- this.Content3.DataPropertyName = "Content3";
- this.Content3.HeaderText = "监测人";
- this.Content3.Name = "Content3";
- //
- // Content4
- //
- this.Content4.DataPropertyName = "Content4";
- this.Content4.HeaderText = "除霜人";
- this.Content4.Name = "Content4";
- //
- // Content5
- //
- this.Content5.DataPropertyName = "Content5";
- this.Content5.HeaderText = "消毒人";
- this.Content5.Name = "Content5";
- //
- // ExecWork
- //
- this.ExecWork.DataPropertyName = "ExecWork";
- this.ExecWork.HeaderText = "主任";
- this.ExecWork.Name = "ExecWork";
- //
- // panel1
- //
- this.panel1.BackColor = System.Drawing.Color.WhiteSmoke;
- this.panel1.Controls.Add(this.btn冰箱监测Save);
- this.panel1.Controls.Add(this.dtpEnd2);
- this.panel1.Controls.Add(this.dtpOpeTime2);
- this.panel1.Controls.Add(this.label1);
- this.panel1.Controls.Add(this.btn冰箱监测);
- this.panel1.Controls.Add(this.label2);
- this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
- this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- this.panel1.Location = new System.Drawing.Point(0, 0);
- this.panel1.Name = "panel1";
- this.panel1.Size = new System.Drawing.Size(1350, 45);
- this.panel1.TabIndex = 392;
- //
- // btn冰箱监测Save
- //
- this.btn冰箱监测Save.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btn冰箱监测Save.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.btn冰箱监测Save.Font = new System.Drawing.Font("微软雅黑", 11.5F);
- this.btn冰箱监测Save.Location = new System.Drawing.Point(452, 7);
- this.btn冰箱监测Save.Name = "btn冰箱监测Save";
- this.btn冰箱监测Save.Size = new System.Drawing.Size(90, 29);
- this.btn冰箱监测Save.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btn冰箱监测Save.TabIndex = 474;
- this.btn冰箱监测Save.Text = "保存";
- this.btn冰箱监测Save.Click += new System.EventHandler(this.btn冰箱监测Save_Click);
- //
- // dtpEnd2
- //
- //
- //
- //
- this.dtpEnd2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dtpEnd2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
- this.dtpEnd2.ButtonDropDown.Visible = true;
- this.dtpEnd2.CustomFormat = "yyyy-MM-dd";
- this.dtpEnd2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
- this.dtpEnd2.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.dtpEnd2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
- this.dtpEnd2.IsPopupCalendarOpen = false;
- this.dtpEnd2.Location = new System.Drawing.Point(224, 9);
- //
- //
- //
- //
- //
- //
- this.dtpEnd2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.dtpEnd2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dtpEnd2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
- //
- //
- //
- this.dtpEnd2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dtpEnd2.Name = "dtpEnd2";
- this.dtpEnd2.Size = new System.Drawing.Size(114, 23);
- this.dtpEnd2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.dtpEnd2.TabIndex = 472;
- //
- // dtpOpeTime2
- //
- //
- //
- //
- this.dtpOpeTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dtpOpeTime2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
- this.dtpOpeTime2.ButtonDropDown.Visible = true;
- this.dtpOpeTime2.CustomFormat = "yyyy-MM-dd";
- this.dtpOpeTime2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
- this.dtpOpeTime2.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.dtpOpeTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
- this.dtpOpeTime2.IsPopupCalendarOpen = false;
- this.dtpOpeTime2.Location = new System.Drawing.Point(91, 9);
- //
- //
- //
- //
- //
- //
- this.dtpOpeTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- //
- //
- //
- this.dtpOpeTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dtpOpeTime2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
- //
- //
- //
- this.dtpOpeTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.dtpOpeTime2.Name = "dtpOpeTime2";
- this.dtpOpeTime2.Size = new System.Drawing.Size(114, 23);
- this.dtpOpeTime2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.dtpOpeTime2.TabIndex = 471;
- //
- // label1
- //
- this.label1.AutoSize = true;
- this.label1.Location = new System.Drawing.Point(208, 11);
- this.label1.Name = "label1";
- this.label1.Size = new System.Drawing.Size(15, 20);
- this.label1.TabIndex = 470;
- this.label1.Text = "-";
- //
- // btn冰箱监测
- //
- this.btn冰箱监测.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btn冰箱监测.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
- this.btn冰箱监测.Font = new System.Drawing.Font("微软雅黑", 11.5F);
- this.btn冰箱监测.Location = new System.Drawing.Point(356, 7);
- this.btn冰箱监测.Name = "btn冰箱监测";
- this.btn冰箱监测.Size = new System.Drawing.Size(90, 29);
- this.btn冰箱监测.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.btn冰箱监测.TabIndex = 467;
- this.btn冰箱监测.Text = "查询";
- this.btn冰箱监测.Click += new System.EventHandler(this.btn冰箱监测_Click);
- //
- // label2
- //
- this.label2.AutoSize = true;
- this.label2.Location = new System.Drawing.Point(17, 9);
- this.label2.Name = "label2";
- this.label2.Size = new System.Drawing.Size(68, 20);
- this.label2.TabIndex = 421;
- this.label2.Text = "查询时间:";
- //
- // R2
- //
- this.R2.AttachedControl = this.superTabControlPanel2;
- this.R2.GlobalItem = false;
- this.R2.Name = "R2";
- this.R2.Text = "冰箱监测";
- //
// dataGridViewTextBoxColumn1
//
this.dataGridViewTextBoxColumn1.DataPropertyName = "Id";
@@ -1007,17 +1256,77 @@
this.dataGridViewTextBoxColumn8.HeaderText = "主任";
this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
//
- // toolStripButton2
+ // dataGridViewTextBoxColumn25
//
- this.toolStripButton2.Font = new System.Drawing.Font("微软雅黑", 9F);
- this.toolStripButton2.Image = global::AIMS.Properties.Resources.图标_预览;
- this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
- this.toolStripButton2.Name = "toolStripButton2";
- this.toolStripButton2.Size = new System.Drawing.Size(60, 46);
- this.toolStripButton2.Text = "打印预览";
- this.toolStripButton2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
- this.toolStripButton2.ToolTipText = "打印登记本";
- this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
+ this.dataGridViewTextBoxColumn25.DataPropertyName = "Id";
+ this.dataGridViewTextBoxColumn25.HeaderText = "Id";
+ this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
+ this.dataGridViewTextBoxColumn25.Visible = false;
+ //
+ // dataGridViewTextBoxColumn26
+ //
+ this.dataGridViewTextBoxColumn26.DataPropertyName = "RecordTime";
+ this.dataGridViewTextBoxColumn26.HeaderText = "日期";
+ this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
+ //
+ // dataGridViewTextBoxColumn27
+ //
+ this.dataGridViewTextBoxColumn27.DataPropertyName = "Content1";
+ this.dataGridViewTextBoxColumn27.HeaderText = "机器屏幕清洁";
+ this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
+ //
+ // dataGridViewTextBoxColumn29
+ //
+ this.dataGridViewTextBoxColumn29.DataPropertyName = "Content2";
+ this.dataGridViewTextBoxColumn29.HeaderText = "清洁呼气阀呼气阀膜";
+ this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29";
+ this.dataGridViewTextBoxColumn29.Width = 150;
+ //
+ // dataGridViewTextBoxColumn30
+ //
+ this.dataGridViewTextBoxColumn30.DataPropertyName = "Content3";
+ this.dataGridViewTextBoxColumn30.HeaderText = "气源连接无误";
+ this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30";
+ //
+ // dataGridViewTextBoxColumn31
+ //
+ this.dataGridViewTextBoxColumn31.DataPropertyName = "Content4";
+ this.dataGridViewTextBoxColumn31.HeaderText = "呼吸回路及其附件连接正确";
+ this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
+ this.dataGridViewTextBoxColumn31.Width = 170;
+ //
+ // Column1
+ //
+ this.Column1.DataPropertyName = "Content5";
+ this.Column1.HeaderText = "流量传感器是否干燥";
+ this.Column1.Name = "Column1";
+ this.Column1.Width = 150;
+ //
+ // Column2
+ //
+ this.Column2.DataPropertyName = "Content6";
+ this.Column2.HeaderText = "麻醉机是否消毒";
+ this.Column2.Name = "Column2";
+ //
+ // Column3
+ //
+ this.Column3.DataPropertyName = "Content7";
+ this.Column3.HeaderText = "机器工作是否正常";
+ this.Column3.Name = "Column3";
+ this.Column3.Width = 120;
+ //
+ // Column4
+ //
+ this.Column4.DataPropertyName = "Content8";
+ this.Column4.HeaderText = "快速自检,漏气试验";
+ this.Column4.Name = "Column4";
+ this.Column4.Width = 140;
+ //
+ // dataGridViewTextBoxColumn32
+ //
+ this.dataGridViewTextBoxColumn32.DataPropertyName = "ExecWork";
+ this.dataGridViewTextBoxColumn32.HeaderText = "保养人签字:";
+ this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32";
//
// frmNotesRecordExport
//
@@ -1032,24 +1341,30 @@
this.toolStrip1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit();
this.superTabControl1.ResumeLayout(false);
+ this.superTabControlPanel4.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport4)).EndInit();
+ this.panel4.ResumeLayout(false);
+ this.panel4.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd4)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime4)).EndInit();
this.superTabControlPanel1.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).EndInit();
this.panel2.ResumeLayout(false);
this.panel2.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).EndInit();
- this.superTabControlPanel3.ResumeLayout(false);
- ((System.ComponentModel.ISupportInitialize)(this.dgvtReport3)).EndInit();
- this.panel3.ResumeLayout(false);
- this.panel3.PerformLayout();
- ((System.ComponentModel.ISupportInitialize)(this.dtpEnd3)).EndInit();
- ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime3)).EndInit();
this.superTabControlPanel2.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.dgvtReport2)).EndInit();
this.panel1.ResumeLayout(false);
this.panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.dtpEnd2)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime2)).EndInit();
+ this.superTabControlPanel3.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.dgvtReport3)).EndInit();
+ this.panel3.ResumeLayout(false);
+ this.panel3.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd3)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime3)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
@@ -1124,5 +1439,26 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23;
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24;
private System.Windows.Forms.ToolStripButton toolStripButton2;
+ private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel4;
+ private System.Windows.Forms.DataGridView dgvtReport4;
+ private System.Windows.Forms.Panel panel4;
+ private DevComponents.DotNetBar.ButtonX btn手术间保养维修记录Save;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd4;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime4;
+ public System.Windows.Forms.Label label5;
+ private DevComponents.DotNetBar.ButtonX btn手术间保养维修记录;
+ public System.Windows.Forms.Label label6;
+ private DevComponents.DotNetBar.SuperTabItem superTabItem1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn26;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn27;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn30;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column3;
+ private System.Windows.Forms.DataGridViewTextBoxColumn Column4;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn32;
}
}
\ No newline at end of file
diff --git a/AIMS/OperationAfter/frmNotesRecordExport.resx b/AIMS/OperationAfter/frmNotesRecordExport.resx
index d8b3977..025aace 100644
--- a/AIMS/OperationAfter/frmNotesRecordExport.resx
+++ b/AIMS/OperationAfter/frmNotesRecordExport.resx
@@ -120,6 +120,39 @@
17, 17
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
True
@@ -144,6 +177,30 @@
True
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
+
+ True
+
True
@@ -171,28 +228,4 @@
True
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
-
- True
-
\ No newline at end of file
diff --git a/AIMS/OperationAfter/frmOperationCharg2.cs b/AIMS/OperationAfter/frmOperationCharg2.cs
index cfee05c..6c4d569 100644
--- a/AIMS/OperationAfter/frmOperationCharg2.cs
+++ b/AIMS/OperationAfter/frmOperationCharg2.cs
@@ -292,8 +292,14 @@ namespace AIMS.OperationAfter.UI
private void button3_Click(object sender, EventArgs e)
{
- frmOperationCharg3 document = new frmOperationCharg3();
+ frmOperationCharg5 document = new frmOperationCharg5();
document.Show();
}
+
+ private void toolStripButton2_Click(object sender, EventArgs e)
+ {
+ frmOperationCharg3 document = new frmOperationCharg3();
+ document.Show();
+ }
}
}
diff --git a/AIMS/OperationAfter/frmOperationCharg2.designer.cs b/AIMS/OperationAfter/frmOperationCharg2.designer.cs
index 14e78d7..aaca2b7 100644
--- a/AIMS/OperationAfter/frmOperationCharg2.designer.cs
+++ b/AIMS/OperationAfter/frmOperationCharg2.designer.cs
@@ -32,6 +32,8 @@
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
+ this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
+ this.labelSite = new System.Windows.Forms.Label();
this.toolStrip1 = new System.Windows.Forms.ToolStrip();
this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
@@ -126,8 +128,7 @@
this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx();
- this.labelSite = new System.Windows.Forms.Label();
+ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
this.panel1.SuspendLayout();
this.toolStrip1.SuspendLayout();
this.panel2.SuspendLayout();
@@ -157,6 +158,33 @@
this.panel1.Size = new System.Drawing.Size(1428, 54);
this.panel1.TabIndex = 0;
//
+ // CboOperationSite
+ //
+ this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.CboOperationSite.DisplayMember = "Text";
+ this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
+ this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
+ this.CboOperationSite.FormattingEnabled = true;
+ this.CboOperationSite.ItemHeight = 19;
+ this.CboOperationSite.Location = new System.Drawing.Point(1290, 16);
+ this.CboOperationSite.Name = "CboOperationSite";
+ this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
+ this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.CboOperationSite.TabIndex = 504;
+ //
+ // labelSite
+ //
+ this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.labelSite.AutoSize = true;
+ this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
+ this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.labelSite.Location = new System.Drawing.Point(1224, 18);
+ this.labelSite.Name = "labelSite";
+ this.labelSite.Size = new System.Drawing.Size(65, 20);
+ this.labelSite.TabIndex = 505;
+ this.labelSite.Text = "手术地点";
+ this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+ //
// toolStrip1
//
this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue;
@@ -165,6 +193,7 @@
this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
this.toolStripButton1,
this.toolStripSeparator5,
+ this.toolStripButton2,
this.tsbExportExcel,
this.toolStripSeparator3,
this.tsbPrint,
@@ -197,8 +226,8 @@
this.tsbExportExcel.Image = global::AIMS.Properties.Resources.图标_排程通过;
this.tsbExportExcel.ImageTransparentColor = System.Drawing.Color.Magenta;
this.tsbExportExcel.Name = "tsbExportExcel";
- this.tsbExportExcel.Size = new System.Drawing.Size(92, 46);
- this.tsbExportExcel.Text = " 药品使用登记";
+ this.tsbExportExcel.Size = new System.Drawing.Size(99, 46);
+ this.tsbExportExcel.Text = " 药品使用登记2";
this.tsbExportExcel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.tsbExportExcel.Click += new System.EventHandler(this.button3_Click);
//
@@ -1125,32 +1154,16 @@
this.dataGridViewTextBoxColumn31.HeaderText = "收费状态";
this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
//
- // CboOperationSite
+ // toolStripButton2
//
- this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.CboOperationSite.DisplayMember = "Text";
- this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
- this.CboOperationSite.Font = new System.Drawing.Font("微软雅黑", 10F);
- this.CboOperationSite.FormattingEnabled = true;
- this.CboOperationSite.ItemHeight = 19;
- this.CboOperationSite.Location = new System.Drawing.Point(1290, 16);
- this.CboOperationSite.Name = "CboOperationSite";
- this.CboOperationSite.Size = new System.Drawing.Size(115, 25);
- this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.CboOperationSite.TabIndex = 504;
- //
- // labelSite
- //
- this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
- this.labelSite.AutoSize = true;
- this.labelSite.BackColor = System.Drawing.Color.AliceBlue;
- this.labelSite.Font = new System.Drawing.Font("微软雅黑", 10.5F);
- this.labelSite.Location = new System.Drawing.Point(1224, 18);
- this.labelSite.Name = "labelSite";
- this.labelSite.Size = new System.Drawing.Size(65, 20);
- this.labelSite.TabIndex = 505;
- this.labelSite.Text = "手术地点";
- this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
+ this.toolStripButton2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.toolStripButton2.Image = global::AIMS.Properties.Resources.图标_排程通过;
+ this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton2.Name = "toolStripButton2";
+ this.toolStripButton2.Size = new System.Drawing.Size(92, 46);
+ this.toolStripButton2.Text = " 药品使用登记";
+ this.toolStripButton2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
//
// frmOperationCharg2
//
@@ -1280,5 +1293,6 @@
private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite;
private System.Windows.Forms.Label labelSite;
+ private System.Windows.Forms.ToolStripButton toolStripButton2;
}
}
\ No newline at end of file
diff --git a/AIMS/OperationAfter/frmOperationCharg3.cs b/AIMS/OperationAfter/frmOperationCharg3.cs
index 6204650..9b74271 100644
--- a/AIMS/OperationAfter/frmOperationCharg3.cs
+++ b/AIMS/OperationAfter/frmOperationCharg3.cs
@@ -445,52 +445,13 @@ namespace AIMS.OperationAfter.UI
private void dgvDrugs_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
{
- if (e.ColumnIndex == 10)
+ DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo);
+ if (dialog == DialogResult.Yes)
{
- DialogResult dialog = MessageBox.Show("是否批量填写批号?", "系统提示", MessageBoxButtons.YesNo);
- if (dialog == DialogResult.Yes)
+ string batchNo = dgvDrugs.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString();
+ for (int i = 0; i < dgvDrugs.Rows.Count; i++)
{
- string batchNo = dgvDrugs.Rows[e.RowIndex].Cells[10].EditedFormattedValue.ToString();
- for (int i = 0; i < dgvDrugs.Rows.Count; i++)
- {
- dgvDrugs.Rows[i].Cells[10].Value = batchNo;
- }
- }
- }
- else if (e.ColumnIndex == 13)
- {
- DialogResult dialog = MessageBox.Show("是否批量填写发药人?", "系统提示", MessageBoxButtons.YesNo);
- if (dialog == DialogResult.Yes)
- {
- string batchNo = dgvDrugs.Rows[e.RowIndex].Cells[13].EditedFormattedValue.ToString();
- for (int i = 0; i < dgvDrugs.Rows.Count; i++)
- {
- dgvDrugs.Rows[i].Cells[13].Value = batchNo;
- }
- }
- }
- else if (e.ColumnIndex == 14)
- {
- DialogResult dialog = MessageBox.Show("是否批量填写?", "系统提示", MessageBoxButtons.YesNo);
- if (dialog == DialogResult.Yes)
- {
- string batchNo = dgvDrugs.Rows[e.RowIndex].Cells[14].EditedFormattedValue.ToString();
- for (int i = 0; i < dgvDrugs.Rows.Count; i++)
- {
- dgvDrugs.Rows[i].Cells[14].Value = batchNo;
- }
- }
- }
- else if (e.ColumnIndex == 15)
- {
- DialogResult dialog = MessageBox.Show("是否批量填写?", "系统提示", MessageBoxButtons.YesNo);
- if (dialog == DialogResult.Yes)
- {
- string batchNo = dgvDrugs.Rows[e.RowIndex].Cells[15].EditedFormattedValue.ToString();
- for (int i = 0; i < dgvDrugs.Rows.Count; i++)
- {
- dgvDrugs.Rows[i].Cells[15].Value = batchNo;
- }
+ dgvDrugs.Rows[i].Cells[e.ColumnIndex].Value = batchNo;
}
}
}
diff --git a/AIMS/OperationAfter/frmOperationCharg5.cs b/AIMS/OperationAfter/frmOperationCharg5.cs
new file mode 100644
index 0000000..6c81026
--- /dev/null
+++ b/AIMS/OperationAfter/frmOperationCharg5.cs
@@ -0,0 +1,380 @@
+using AIMS.OperationAanesthesia;
+using AIMSBLL;
+using AIMSDAL;
+using AIMSExtension;
+using AIMSModel;
+using DCSoftDotfuscate;
+using DevComponents.Editors;
+using Microsoft.Office.Interop.Excel;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Diagnostics;
+using System.Drawing;
+using System.Linq;
+using System.Reflection;
+using System.Text;
+using System.Windows.Forms;
+
+namespace AIMS.OperationAfter.UI
+{
+ public partial class frmOperationCharg5 : Form
+ {
+
+ System.Data.DataTable operationApplys;
+ public string FeeType = "麻醉";
+ public List upHisDrugs;
+ public string DataGridViewPath = "";
+ public SysConfig exportConfig;
+
+ public frmOperationCharg5()
+ {
+ InitializeComponent();
+ }
+
+ private void frmOperationDruggCheck_Load(object sender, EventArgs e)
+ {
+ try
+ {
+ dtpOpeTime.Value = DateTime.Now;
+ dtpEnd.Value = dtpOpeTime.Value;
+ DataGridViewPath = GetControlPath(dgvDrugs);
+ exportConfig = BSysConfig.SelectSingle(" Note='" + DataGridViewPath + "'", null, RecursiveType.None, 0);
+
+ if (exportConfig != null)
+ ConfigDataGridView(exportConfig);
+
+ if (upHisDrugs != null && upHisDrugs.Count > 0)
+ {
+ dtpOpeTime.Value = upHisDrugs[0].EndTime.Value;
+ }
+ }
+ catch (Exception exp)
+ {
+ PublicMethod.WriteLog(exp);
+ }
+ }
+
+ private void btnOK_Click(object sender, EventArgs e)
+ {
+ //if (comboBoxExType.Text == "") return;
+ //if (cnoDrugName.Text == "") return;
+ string beginTime = Convert.ToDateTime(dtpOpeTime.Value).ToString("yyyy-MM-dd 00:00:00");
+ string endTime = Convert.ToDateTime(dtpEnd.Value).ToString("yyyy-MM-dd 23:59:59");
+ string sql = string.Format(" ExecTime>='{0}' and ExecTime<'{1}'", beginTime, endTime);
+ if (comboBoxExType.SelectedItem != null)
+ {
+ ComboItem chargitem = comboBoxExType.SelectedItem as ComboItem;
+ sql += " and (FeeTypeId = '" + chargitem.Value + "' ) ";
+ }
+ if (cnoDrugName.SelectedItem != null)
+ {
+ ComboItem chargitem = cnoDrugName.SelectedItem as ComboItem;
+ sql += " and (ChargName = '" + chargitem.Value + "' ) ";
+ }
+ if (FeeType != "")
+ {
+ sql += " and (FeeType = '" + FeeType + "' ) ";
+ }
+ operationApplys = BFeesRecordReport.GetUpListByWhere3(sql);
+ dgvDrugs.DataSource = operationApplys;
+ if (exportConfig != null)
+ ConfigDataGridView(exportConfig);
+ }
+
+ private void toolStripButton10_Click(object sender, EventArgs e)
+ {
+ this.Close();
+ }
+
+ ///
+ /// 表格配置
+ ///
+ ///
+ ///
+ private void tsbSettingDGV_Click(object sender, EventArgs e)
+ {
+ }
+ private static string GetControlPath(Control control)
+ {
+ StringBuilder controlPathStringBuilder = new StringBuilder();
+ controlPathStringBuilder.Append(control.Name);
+ while (control.Parent != null)
+ {
+ control = control.Parent;
+ controlPathStringBuilder.Append("." + control.Name);
+ }
+ return controlPathStringBuilder.ToString();
+ }
+ public ExportConfig dataGridViewSetting;
+ private void ConfigDataGridView(SysConfig exportConfig)
+ {
+ try
+ {
+ dataGridViewSetting = JsonConvert.DeserializeObject(exportConfig.Value);
+ foreach (DataGridViewColumn column in dgvDrugs.Columns)
+ {
+ foreach (var item in dataGridViewSetting.Exports)
+ {
+ if (column.Name == "Id")
+ {
+ column.Visible = false;
+ }
+ else if (column.Name == item.Name)
+ {
+ column.Visible = item.IsVisible;
+ column.Width = item.Width;
+ }
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ PublicMethod.WriteLog(ex);
+ }
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ KillAllExcel();
+ ExprotExcel2();
+ }
+ private Microsoft.Office.Interop.Excel.Application myExcel = null;
+ private void ExprotExcel2(bool isPrint = false)
+ {
+ //自定义表头
+ string title = "麻醉、精一药品注射剂使用、及残余液处理登记表";
+
+ //是否横向
+ bool xlLandscape = true;
+ if (dataGridViewSetting != null && dataGridViewSetting.Landscape == false) xlLandscape = false;
+ //主体字体大小
+ int BodySize = 9;
+ if (dataGridViewSetting != null && dataGridViewSetting.FontSize > 0) BodySize = dataGridViewSetting.FontSize;
+
+ myExcel = new Microsoft.Office.Interop.Excel.Application();
+ this.Cursor = Cursors.WaitCursor;
+ //保存文化环境
+ System.Globalization.CultureInfo CurrentCI = System.Threading.Thread.CurrentThread.CurrentCulture;
+ System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
+
+ Workbook workbookData = myExcel.Workbooks.Add(Missing.Value);
+ Worksheet xlSheet = (Microsoft.Office.Interop.Excel.Worksheet)workbookData.Worksheets[1];
+
+ xlSheet.Name = title;
+
+ if (isPrint == false)
+ myExcel.Visible = true;
+
+ myExcel.Cells[1, 1] = title;//默认的就是在sheet1里面的。
+ string DrugName = "科室:麻醉科";
+ myExcel.Cells[2, 1] = DrugName;//默认的就是在sheet1里面的。
+ int startIndex = 3;
+
+ WorksheetClass wsClass = new WorksheetClass();
+
+ Dictionary Columns = new Dictionary();
+ //填充标题
+ for (int i = 0; i < dgvDrugs.Columns.Count; i++)
+ {
+ if (dataGridViewSetting != null)
+ {
+ foreach (var item in dataGridViewSetting.Exports)
+ {
+ if (dgvDrugs.Columns[i].Name == item.Name)
+ {
+ if (item.IsPrint == true)
+ {
+ Columns.Add(i, dgvDrugs.Columns[i].HeaderText);
+ continue;
+ }
+
+ }
+ }
+ }
+ else
+ {
+ if (dgvDrugs.Columns[i].Visible == true)
+ Columns.Add(i, dgvDrugs.Columns[i].HeaderText);
+ }
+ }
+
+ List> ColumnsStr = Columns.ToList();
+
+ for (int i = 0; i < ColumnsStr.Count; i++)
+ {
+ myExcel.Cells[startIndex, i + 1] = ColumnsStr[i].Value;
+ if (dataGridViewSetting != null)
+ {
+ foreach (var item in dataGridViewSetting.Exports)
+ {
+ if (ColumnsStr[i].Value == item.Text)
+ {
+ xlSheet.get_Range(xlSheet.Cells[startIndex, i + 1], xlSheet.Cells[startIndex, i + 1]).ColumnWidth = item.PrintWidth;//列宽
+ }
+ }
+ }
+ else
+ {
+ xlSheet.get_Range(xlSheet.Cells[startIndex, i + 1], xlSheet.Cells[startIndex, i + 1]).ColumnWidth = 5;//列宽
+ }
+ }
+ //获得数据表的值
+ int RowCount = dgvDrugs.Rows.Count;
+ int colCount = ColumnsStr.Count;
+ //设置填充单元格样式
+ xlSheet.get_Range(xlSheet.Cells[startIndex, 1], xlSheet.Cells[RowCount + startIndex, colCount]).Borders.LineStyle = XlLineStyle.xlContinuous;//边框的样式
+ object[,] objData = new object[RowCount, colCount];
+
+ //将DataTable里的值填充到对象数组中
+ for (int i = 0; i < RowCount; i++)
+ {
+ for (int j = 0; j < colCount; j++)
+ {
+ if (dgvDrugs.Columns[ColumnsStr[j].Key].Name == "序号" || dgvDrugs.Columns[ColumnsStr[j].Key].Name == "ApplyId")
+ objData[i, j] = i + 1;
+ else if (dgvDrugs.Rows[i].Cells[ColumnsStr[j].Key].Value != null)
+ objData[i, j] = dgvDrugs.Rows[i].Cells[ColumnsStr[j].Key].Value.ToString().Trim();
+ }
+ System.Windows.Forms.Application.DoEvents();
+ }
+
+ //将对象数组的值赋值给Excel
+ Range range = xlSheet.get_Range(xlSheet.Cells[4, 1], xlSheet.Cells[RowCount + startIndex, colCount]);
+ range.NumberFormat = "@";
+ range.Value2 = objData;
+ range.RowHeight = 19;
+ //xlSheet.get_Range(xlSheet.Cells[2, 1], xlSheet.Cells[RowCount + 2, colCount]).Font.Size = BodySize;//字体大小
+
+ //设置主标题单元格的样式
+ xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[1, colCount]).MergeCells = true;//合并单元格
+ xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[1, colCount]).HorizontalAlignment = XlHAlign.xlHAlignCenter;//水平对齐方式
+ xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[1, colCount]).VerticalAlignment = XlVAlign.xlVAlignCenter;//垂直对齐方式
+ xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[1, colCount]).Font.Bold = true;//字体加粗
+ xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[1, colCount]).Font.ColorIndex = 0;//字体颜色
+ //xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[1, colCount]).Font.Italic = true;//是否斜体
+ xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[1, colCount]).Font.Size = 20;//字体大小
+ //xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[2, colCount]).Borders.LineStyle = XlLineStyle.xlContinuous;//边框样式
+ xlSheet.get_Range(xlSheet.Cells[1, 1], xlSheet.Cells[1, colCount]).RowHeight = 33.75;//行高
+
+ xlSheet.get_Range(xlSheet.Cells[2, 1], xlSheet.Cells[2, colCount]).MergeCells = true;//合并单元格
+
+ //设置标题单元格样式
+ xlSheet.get_Range(xlSheet.Cells[2, 1], xlSheet.Cells[startIndex, colCount]).RowHeight = 21;//行高
+
+ if (xlLandscape == true)
+ xlSheet.PageSetup.Orientation = XlPageOrientation.xlLandscape;//页面方向为横向
+ //复苏文化环境
+ System.Threading.Thread.CurrentThread.CurrentCulture = CurrentCI;
+ try
+ {
+ if (isPrint == true)
+ xlSheet.PrintOutEx();
+ //myExcel.Save(@"D:a.xls");
+ //myExcel.Quit();
+ this.Cursor = Cursors.Default;
+ //MessageBox.Show("导出成功!", "系统提示", MessageBoxButtons.OK, MessageBoxIcon.Asterisk);
+ }
+ finally
+ {
+ if (isPrint == true)
+ {
+ //释放资源
+ System.Runtime.InteropServices.Marshal.ReleaseComObject(xlSheet);
+ System.Runtime.InteropServices.Marshal.ReleaseComObject(workbookData);
+ System.Runtime.InteropServices.Marshal.ReleaseComObject(range);
+ System.Runtime.InteropServices.Marshal.ReleaseComObject(myExcel);
+ GC.Collect();
+ range = null;
+ xlSheet = null;
+ workbookData = null;
+ myExcel = null;
+ KillAllExcel();
+ }
+ }
+ }
+ private void KillAllExcel()
+ {
+ List excelProcess = GetExcelProcesses();
+ for (int i = 0; i < excelProcess.Count; i++)
+ {
+ excelProcess[i].Kill();
+ }
+ }
+ private List GetExcelProcesses()
+ {
+ Process[] processes = Process.GetProcesses();
+ List excelProcesses = new List();
+
+ for (int i = 0; i < processes.Length; i++)
+ {
+ if (processes[i].ProcessName.ToUpper() == "EXCEL")
+ excelProcesses.Add(processes[i]);
+ }
+
+ return excelProcesses;
+ }
+
+ private void cboRoom_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ System.Data.DataTable table = BFeesRecordReport.GetDrugByType(comboBoxExType.Text);
+ cnoDrugName.Items.Clear();
+ for (int i = 0; i < table.Rows.Count; i++)
+ {
+ ComboItem item = new ComboItem();
+ item.Text = table.Rows[i][0].ToString();
+ item.Value = table.Rows[i][0].ToString();
+ cnoDrugName.Items.Add(item);
+ }
+ }
+ private void btnSave_Click(object sender, EventArgs e)
+ {
+ if (comboBoxExType.Text == "") return;
+ if (cnoDrugName.Text == "") return;
+ foreach (DataGridViewRow item in dgvDrugs.Rows)
+ {
+ string feerid = item.Cells[0].EditedFormattedValue.ToString();
+ FeesRecord report = BFeesRecord.SelectSingle(Convert.ToInt32(feerid));
+ report.InsureNO = item.Cells[6].EditedFormattedValue.ToString();
+ report.Extend5 = item.Cells[12].EditedFormattedValue.ToString();
+ report.Conclusion = item.Cells[10].EditedFormattedValue.ToString();
+ report.IsInsure = item.Cells[9].EditedFormattedValue.ToString();
+ //report.LimitDrug = item.Cells[2].EditedFormattedValue.ToString();
+ BFeesRecord.Update(report);
+ }
+ MessageBox.Show("保存成功!", "系统提示");
+ }
+
+ private void dgvDrugs_RowPostPaint(object sender, DataGridViewRowPostPaintEventArgs e)
+ {
+ //隔行换色
+ this.dgvDrugs.RowsDefaultCellStyle.BackColor = Color.White;//设置背景为白色
+ this.dgvDrugs.AlternatingRowsDefaultCellStyle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(212)))), ((int)(((byte)(222)))), (((int)(((byte)242)))));//青色
+ }
+
+ private void dgvDrugs_CellDoubleClick(object sender, DataGridViewCellEventArgs e)
+ {
+ DialogResult dialog = MessageBox.Show("是否批量填写数据?", "系统提示", MessageBoxButtons.YesNo);
+ if (dialog == DialogResult.Yes)
+ {
+ string batchNo = dgvDrugs.Rows[e.RowIndex].Cells[e.ColumnIndex].EditedFormattedValue.ToString();
+ for (int i = 0; i < dgvDrugs.Rows.Count; i++)
+ {
+ dgvDrugs.Rows[i].Cells[e.ColumnIndex].Value = batchNo;
+ }
+ }
+ }
+
+ private void toolStripButton2_Click(object sender, EventArgs e)
+ {
+ frmExportConfig formDataGridViewConfig = new frmExportConfig(dgvDrugs, exportConfig, DataGridViewPath, this.Text);
+ if (formDataGridViewConfig.ShowDialog() == DialogResult.OK)
+ {
+ exportConfig = formDataGridViewConfig.exportConfig;
+ ConfigDataGridView(formDataGridViewConfig.exportConfig);
+ }
+
+ }
+ }
+}
diff --git a/AIMS/OperationAfter/frmOperationCharg5.designer.cs b/AIMS/OperationAfter/frmOperationCharg5.designer.cs
new file mode 100644
index 0000000..dff8b7c
--- /dev/null
+++ b/AIMS/OperationAfter/frmOperationCharg5.designer.cs
@@ -0,0 +1,852 @@
+namespace AIMS.OperationAfter.UI
+{
+ partial class frmOperationCharg5
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+ this.toolStripButton2 = new System.Windows.Forms.ToolStripButton();
+ this.toolStripButton1 = new System.Windows.Forms.ToolStripButton();
+ this.cboRoom = new DevComponents.DotNetBar.Controls.ComboBoxEx();
+ this.label22 = new System.Windows.Forms.Label();
+ this.tsbSettingDGV = new System.Windows.Forms.Button();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel4 = new System.Windows.Forms.Panel();
+ this.rdoHs = new System.Windows.Forms.RadioButton();
+ this.rdoMz = new System.Windows.Forms.RadioButton();
+ this.cnoDrugName = new DevComponents.DotNetBar.Controls.ComboBoxEx();
+ this.comboItem5 = new DevComponents.Editors.ComboItem();
+ this.comboItem6 = new DevComponents.Editors.ComboItem();
+ this.comboItem7 = new DevComponents.Editors.ComboItem();
+ this.comboItem8 = new DevComponents.Editors.ComboItem();
+ this.comboBoxExType = new DevComponents.DotNetBar.Controls.ComboBoxEx();
+ this.comboItem1 = new DevComponents.Editors.ComboItem();
+ this.comboItem2 = new DevComponents.Editors.ComboItem();
+ this.comboItem4 = new DevComponents.Editors.ComboItem();
+ this.dtpEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.dtpOpeTime = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.label24 = new System.Windows.Forms.Label();
+ this.btnSave = new DevComponents.DotNetBar.ButtonX();
+ this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
+ this.label3 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.labDate = new System.Windows.Forms.Label();
+ this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.dgvDrugs = new DevComponents.DotNetBar.Controls.DataGridViewX();
+ this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn();
+ this.panel1.SuspendLayout();
+ this.toolStrip1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.panel4.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvDrugs)).BeginInit();
+ this.SuspendLayout();
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.Transparent;
+ this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
+ this.panel1.Controls.Add(this.toolStrip1);
+ this.panel1.Controls.Add(this.cboRoom);
+ this.panel1.Controls.Add(this.label22);
+ this.panel1.Controls.Add(this.tsbSettingDGV);
+ 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(1350, 51);
+ this.panel1.TabIndex = 0;
+ //
+ // toolStrip1
+ //
+ this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue;
+ this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25);
+ this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.toolStripButton2,
+ this.toolStripButton1});
+ this.toolStrip1.Location = new System.Drawing.Point(0, 0);
+ this.toolStrip1.Name = "toolStrip1";
+ this.toolStrip1.Size = new System.Drawing.Size(1350, 49);
+ this.toolStrip1.TabIndex = 36;
+ this.toolStrip1.Text = "toolStrip1";
+ //
+ // toolStripButton2
+ //
+ this.toolStripButton2.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.toolStripButton2.Image = global::AIMS.Properties.Resources.图标_设置;
+ this.toolStripButton2.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton2.Name = "toolStripButton2";
+ this.toolStripButton2.Size = new System.Drawing.Size(60, 46);
+ this.toolStripButton2.Text = "导出设置";
+ this.toolStripButton2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.toolStripButton2.Click += new System.EventHandler(this.toolStripButton2_Click);
+ //
+ // toolStripButton1
+ //
+ this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.toolStripButton1.Image = global::AIMS.Properties.Resources.图标_手术排程;
+ this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.toolStripButton1.Name = "toolStripButton1";
+ this.toolStripButton1.Size = new System.Drawing.Size(65, 46);
+ this.toolStripButton1.Text = "导出Excel";
+ this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.toolStripButton1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // cboRoom
+ //
+ this.cboRoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.cboRoom.DisplayMember = "Text";
+ this.cboRoom.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
+ this.cboRoom.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.cboRoom.ForeColor = System.Drawing.Color.Black;
+ this.cboRoom.FormattingEnabled = true;
+ this.cboRoom.ItemHeight = 17;
+ this.cboRoom.Location = new System.Drawing.Point(994, 12);
+ this.cboRoom.Name = "cboRoom";
+ this.cboRoom.Size = new System.Drawing.Size(150, 23);
+ this.cboRoom.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.cboRoom.TabIndex = 32;
+ this.cboRoom.Visible = false;
+ //
+ // label22
+ //
+ this.label22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.label22.AutoSize = true;
+ this.label22.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label22.Location = new System.Drawing.Point(923, 13);
+ this.label22.Name = "label22";
+ this.label22.Size = new System.Drawing.Size(65, 20);
+ this.label22.TabIndex = 31;
+ this.label22.Text = "手术地点";
+ this.label22.Visible = false;
+ //
+ // tsbSettingDGV
+ //
+ this.tsbSettingDGV.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
+ this.tsbSettingDGV.BackColor = System.Drawing.Color.Transparent;
+ this.tsbSettingDGV.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.tsbSettingDGV.FlatAppearance.BorderSize = 0;
+ this.tsbSettingDGV.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.tsbSettingDGV.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.tsbSettingDGV.Location = new System.Drawing.Point(1257, 8);
+ this.tsbSettingDGV.Name = "tsbSettingDGV";
+ this.tsbSettingDGV.Size = new System.Drawing.Size(85, 30);
+ this.tsbSettingDGV.TabIndex = 4;
+ this.tsbSettingDGV.Text = "导出设置";
+ this.tsbSettingDGV.UseVisualStyleBackColor = false;
+ this.tsbSettingDGV.Click += new System.EventHandler(this.tsbSettingDGV_Click);
+ //
+ // panel2
+ //
+ this.panel2.BackColor = System.Drawing.Color.WhiteSmoke;
+ this.panel2.Controls.Add(this.panel4);
+ this.panel2.Controls.Add(this.cnoDrugName);
+ this.panel2.Controls.Add(this.comboBoxExType);
+ this.panel2.Controls.Add(this.dtpEnd);
+ this.panel2.Controls.Add(this.dtpOpeTime);
+ this.panel2.Controls.Add(this.label24);
+ this.panel2.Controls.Add(this.btnSave);
+ this.panel2.Controls.Add(this.buttonX1);
+ this.panel2.Controls.Add(this.label3);
+ this.panel2.Controls.Add(this.label1);
+ this.panel2.Controls.Add(this.labDate);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel2.Location = new System.Drawing.Point(0, 51);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(1350, 81);
+ this.panel2.TabIndex = 387;
+ //
+ // panel4
+ //
+ this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel4.Controls.Add(this.rdoHs);
+ this.panel4.Controls.Add(this.rdoMz);
+ this.panel4.Location = new System.Drawing.Point(704, 32);
+ this.panel4.Name = "panel4";
+ this.panel4.Size = new System.Drawing.Size(177, 33);
+ this.panel4.TabIndex = 474;
+ this.panel4.Visible = false;
+ //
+ // rdoHs
+ //
+ this.rdoHs.AutoSize = true;
+ this.rdoHs.Location = new System.Drawing.Point(93, 5);
+ this.rdoHs.Name = "rdoHs";
+ this.rdoHs.Size = new System.Drawing.Size(83, 24);
+ this.rdoHs.TabIndex = 0;
+ this.rdoHs.Text = "护士收费";
+ this.rdoHs.UseVisualStyleBackColor = true;
+ //
+ // rdoMz
+ //
+ this.rdoMz.AutoSize = true;
+ this.rdoMz.Checked = true;
+ this.rdoMz.Location = new System.Drawing.Point(2, 5);
+ this.rdoMz.Name = "rdoMz";
+ this.rdoMz.Size = new System.Drawing.Size(83, 24);
+ this.rdoMz.TabIndex = 0;
+ this.rdoMz.TabStop = true;
+ this.rdoMz.Text = "麻醉收费";
+ this.rdoMz.UseVisualStyleBackColor = true;
+ //
+ // cnoDrugName
+ //
+ this.cnoDrugName.DisplayMember = "Text";
+ this.cnoDrugName.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
+ this.cnoDrugName.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.cnoDrugName.ForeColor = System.Drawing.Color.Black;
+ this.cnoDrugName.FormattingEnabled = true;
+ this.cnoDrugName.ItemHeight = 20;
+ this.cnoDrugName.Items.AddRange(new object[] {
+ this.comboItem5,
+ this.comboItem6,
+ this.comboItem7,
+ this.comboItem8});
+ this.cnoDrugName.Location = new System.Drawing.Point(352, 12);
+ this.cnoDrugName.Name = "cnoDrugName";
+ this.cnoDrugName.Size = new System.Drawing.Size(174, 26);
+ this.cnoDrugName.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.cnoDrugName.TabIndex = 32;
+ //
+ // comboItem5
+ //
+ this.comboItem5.Text = "毒麻药品";
+ this.comboItem5.Value = "122";
+ //
+ // comboItem6
+ //
+ this.comboItem6.Text = "一类精神药品";
+ this.comboItem6.Value = "123";
+ //
+ // comboItem7
+ //
+ this.comboItem7.Text = "二类精神药品";
+ this.comboItem7.Value = "121";
+ //
+ // comboItem8
+ //
+ this.comboItem8.Text = "常规药,液";
+ this.comboItem8.Value = "64";
+ //
+ // comboBoxExType
+ //
+ this.comboBoxExType.DisplayMember = "Text";
+ this.comboBoxExType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed;
+ this.comboBoxExType.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.comboBoxExType.ForeColor = System.Drawing.Color.Black;
+ this.comboBoxExType.FormattingEnabled = true;
+ this.comboBoxExType.ItemHeight = 20;
+ this.comboBoxExType.Items.AddRange(new object[] {
+ this.comboItem1,
+ this.comboItem2,
+ this.comboItem4});
+ this.comboBoxExType.Location = new System.Drawing.Point(94, 12);
+ this.comboBoxExType.Name = "comboBoxExType";
+ this.comboBoxExType.Size = new System.Drawing.Size(150, 26);
+ this.comboBoxExType.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.comboBoxExType.TabIndex = 32;
+ this.comboBoxExType.SelectedIndexChanged += new System.EventHandler(this.cboRoom_SelectedIndexChanged);
+ //
+ // comboItem1
+ //
+ this.comboItem1.Text = "精神I类";
+ this.comboItem1.Value = "精神I类";
+ //
+ // comboItem2
+ //
+ this.comboItem2.Text = "精神II类";
+ this.comboItem2.Value = "精神II类";
+ //
+ // comboItem4
+ //
+ this.comboItem4.Text = "麻醉药";
+ this.comboItem4.Value = "麻醉药";
+ //
+ // dtpEnd
+ //
+ //
+ //
+ //
+ this.dtpEnd.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpEnd.ButtonDropDown.Visible = true;
+ this.dtpEnd.CustomFormat = "yyyy-MM-dd";
+ this.dtpEnd.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpEnd.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.dtpEnd.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpEnd.IsPopupCalendarOpen = false;
+ this.dtpEnd.Location = new System.Drawing.Point(284, 45);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpEnd.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpEnd.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpEnd.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpEnd.Name = "dtpEnd";
+ this.dtpEnd.Size = new System.Drawing.Size(146, 26);
+ this.dtpEnd.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpEnd.TabIndex = 472;
+ //
+ // dtpOpeTime
+ //
+ //
+ //
+ //
+ this.dtpOpeTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.dtpOpeTime.ButtonDropDown.Visible = true;
+ this.dtpOpeTime.CustomFormat = "yyyy-MM-dd";
+ this.dtpOpeTime.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179)))));
+ this.dtpOpeTime.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.dtpOpeTime.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.dtpOpeTime.IsPopupCalendarOpen = false;
+ this.dtpOpeTime.Location = new System.Drawing.Point(94, 44);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.dtpOpeTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ //
+ //
+ //
+ this.dtpOpeTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ //
+ //
+ //
+ this.dtpOpeTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.dtpOpeTime.Name = "dtpOpeTime";
+ this.dtpOpeTime.Size = new System.Drawing.Size(150, 26);
+ this.dtpOpeTime.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.dtpOpeTime.TabIndex = 471;
+ //
+ // label24
+ //
+ this.label24.AutoSize = true;
+ this.label24.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.label24.Location = new System.Drawing.Point(259, 45);
+ this.label24.Name = "label24";
+ this.label24.Size = new System.Drawing.Size(15, 20);
+ this.label24.TabIndex = 470;
+ this.label24.Text = "-";
+ //
+ // btnSave
+ //
+ this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btnSave.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btnSave.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.btnSave.Location = new System.Drawing.Point(556, 42);
+ this.btnSave.Name = "btnSave";
+ this.btnSave.Size = new System.Drawing.Size(90, 29);
+ this.btnSave.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnSave.TabIndex = 467;
+ this.btnSave.Text = "保存";
+ this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
+ //
+ // 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);
+ this.buttonX1.Location = new System.Drawing.Point(449, 42);
+ this.buttonX1.Name = "buttonX1";
+ this.buttonX1.Size = new System.Drawing.Size(90, 29);
+ this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.buttonX1.TabIndex = 467;
+ this.buttonX1.Text = "查询";
+ this.buttonX1.Click += new System.EventHandler(this.btnOK_Click);
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.label3.Location = new System.Drawing.Point(278, 13);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(68, 20);
+ this.label3.TabIndex = 421;
+ this.label3.Text = "药品名称:";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.label1.Location = new System.Drawing.Point(20, 13);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(68, 20);
+ this.label1.TabIndex = 421;
+ this.label1.Text = "药品类型:";
+ //
+ // labDate
+ //
+ this.labDate.AutoSize = true;
+ this.labDate.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.labDate.Location = new System.Drawing.Point(20, 48);
+ this.labDate.Name = "labDate";
+ this.labDate.Size = new System.Drawing.Size(68, 20);
+ this.labDate.TabIndex = 421;
+ this.labDate.Text = "上传时间:";
+ //
+ // dataGridViewTextBoxColumn1
+ //
+ this.dataGridViewTextBoxColumn1.DataPropertyName = "OperationRecordId";
+ this.dataGridViewTextBoxColumn1.HeaderText = "手术ID";
+ this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
+ this.dataGridViewTextBoxColumn1.ReadOnly = true;
+ this.dataGridViewTextBoxColumn1.Visible = false;
+ this.dataGridViewTextBoxColumn1.Width = 167;
+ //
+ // dataGridViewTextBoxColumn2
+ //
+ this.dataGridViewTextBoxColumn2.DataPropertyName = "OperationApplyId";
+ this.dataGridViewTextBoxColumn2.HeaderText = "申请ID";
+ this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2";
+ this.dataGridViewTextBoxColumn2.ReadOnly = true;
+ this.dataGridViewTextBoxColumn2.Visible = false;
+ this.dataGridViewTextBoxColumn2.Width = 166;
+ //
+ // dataGridViewTextBoxColumn3
+ //
+ this.dataGridViewTextBoxColumn3.DataPropertyName = "PatientId";
+ this.dataGridViewTextBoxColumn3.HeaderText = "病人ID";
+ this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3";
+ this.dataGridViewTextBoxColumn3.ReadOnly = true;
+ this.dataGridViewTextBoxColumn3.Visible = false;
+ this.dataGridViewTextBoxColumn3.Width = 60;
+ //
+ // dataGridViewTextBoxColumn4
+ //
+ this.dataGridViewTextBoxColumn4.DataPropertyName = "code";
+ this.dataGridViewTextBoxColumn4.HeaderText = "序号";
+ this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
+ this.dataGridViewTextBoxColumn4.ReadOnly = true;
+ this.dataGridViewTextBoxColumn4.Visible = false;
+ this.dataGridViewTextBoxColumn4.Width = 75;
+ //
+ // dataGridViewTextBoxColumn5
+ //
+ this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None;
+ this.dataGridViewTextBoxColumn5.DataPropertyName = "OperationPriority";
+ this.dataGridViewTextBoxColumn5.FillWeight = 137.1497F;
+ this.dataGridViewTextBoxColumn5.HeaderText = "手术分类";
+ this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5";
+ this.dataGridViewTextBoxColumn5.ReadOnly = true;
+ this.dataGridViewTextBoxColumn5.Visible = false;
+ this.dataGridViewTextBoxColumn5.Width = 112;
+ //
+ // dataGridViewTextBoxColumn6
+ //
+ this.dataGridViewTextBoxColumn6.DataPropertyName = "DepartmentName";
+ this.dataGridViewTextBoxColumn6.FillWeight = 80.11563F;
+ this.dataGridViewTextBoxColumn6.HeaderText = "科室";
+ this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6";
+ this.dataGridViewTextBoxColumn6.ReadOnly = true;
+ this.dataGridViewTextBoxColumn6.Visible = false;
+ this.dataGridViewTextBoxColumn6.Width = 66;
+ //
+ // dataGridViewTextBoxColumn7
+ //
+ this.dataGridViewTextBoxColumn7.DataPropertyName = "SZOperationRoom";
+ this.dataGridViewTextBoxColumn7.FillWeight = 65.36763F;
+ this.dataGridViewTextBoxColumn7.HeaderText = "手术间";
+ this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7";
+ this.dataGridViewTextBoxColumn7.ReadOnly = true;
+ this.dataGridViewTextBoxColumn7.Width = 82;
+ //
+ // dataGridViewTextBoxColumn8
+ //
+ this.dataGridViewTextBoxColumn8.DataPropertyName = "InHospitalNo";
+ this.dataGridViewTextBoxColumn8.FillWeight = 93.9558F;
+ this.dataGridViewTextBoxColumn8.HeaderText = "住院号";
+ this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8";
+ this.dataGridViewTextBoxColumn8.ReadOnly = true;
+ this.dataGridViewTextBoxColumn8.Width = 77;
+ //
+ // dataGridViewTextBoxColumn9
+ //
+ this.dataGridViewTextBoxColumn9.DataPropertyName = "MedicalHistoryNo";
+ this.dataGridViewTextBoxColumn9.FillWeight = 92.42704F;
+ this.dataGridViewTextBoxColumn9.HeaderText = "病历号";
+ this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9";
+ this.dataGridViewTextBoxColumn9.ReadOnly = true;
+ this.dataGridViewTextBoxColumn9.Visible = false;
+ this.dataGridViewTextBoxColumn9.Width = 76;
+ //
+ // dataGridViewTextBoxColumn10
+ //
+ this.dataGridViewTextBoxColumn10.DataPropertyName = "PatientName";
+ this.dataGridViewTextBoxColumn10.FillWeight = 73.51968F;
+ this.dataGridViewTextBoxColumn10.HeaderText = "姓名";
+ this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10";
+ this.dataGridViewTextBoxColumn10.ReadOnly = true;
+ this.dataGridViewTextBoxColumn10.Visible = false;
+ this.dataGridViewTextBoxColumn10.Width = 60;
+ //
+ // dataGridViewTextBoxColumn11
+ //
+ this.dataGridViewTextBoxColumn11.DataPropertyName = "Sex";
+ this.dataGridViewTextBoxColumn11.FillWeight = 73.70361F;
+ this.dataGridViewTextBoxColumn11.HeaderText = "性别";
+ this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11";
+ this.dataGridViewTextBoxColumn11.ReadOnly = true;
+ this.dataGridViewTextBoxColumn11.Visible = false;
+ this.dataGridViewTextBoxColumn11.Width = 61;
+ //
+ // dataGridViewTextBoxColumn12
+ //
+ this.dataGridViewTextBoxColumn12.DataPropertyName = "Bed";
+ this.dataGridViewTextBoxColumn12.FillWeight = 73.20498F;
+ this.dataGridViewTextBoxColumn12.HeaderText = "床号";
+ this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12";
+ this.dataGridViewTextBoxColumn12.ReadOnly = true;
+ this.dataGridViewTextBoxColumn12.Visible = false;
+ this.dataGridViewTextBoxColumn12.Width = 60;
+ //
+ // dataGridViewTextBoxColumn13
+ //
+ this.dataGridViewTextBoxColumn13.DataPropertyName = "SZDiagnose";
+ this.dataGridViewTextBoxColumn13.FillWeight = 134.5945F;
+ this.dataGridViewTextBoxColumn13.HeaderText = "术后诊断";
+ this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13";
+ this.dataGridViewTextBoxColumn13.ReadOnly = true;
+ this.dataGridViewTextBoxColumn13.Visible = false;
+ this.dataGridViewTextBoxColumn13.Width = 110;
+ //
+ // dataGridViewTextBoxColumn14
+ //
+ this.dataGridViewTextBoxColumn14.DataPropertyName = "SZOperation";
+ this.dataGridViewTextBoxColumn14.FillWeight = 131.7017F;
+ this.dataGridViewTextBoxColumn14.HeaderText = "实施手术";
+ this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14";
+ this.dataGridViewTextBoxColumn14.ReadOnly = true;
+ this.dataGridViewTextBoxColumn14.Visible = false;
+ this.dataGridViewTextBoxColumn14.Width = 108;
+ //
+ // dataGridViewTextBoxColumn15
+ //
+ this.dataGridViewTextBoxColumn15.DataPropertyName = "SZAnaesthesiaMethod";
+ this.dataGridViewTextBoxColumn15.FillWeight = 128.4264F;
+ this.dataGridViewTextBoxColumn15.HeaderText = "麻醉方式";
+ this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15";
+ this.dataGridViewTextBoxColumn15.ReadOnly = true;
+ this.dataGridViewTextBoxColumn15.Visible = false;
+ this.dataGridViewTextBoxColumn15.Width = 106;
+ //
+ // dataGridViewTextBoxColumn16
+ //
+ this.dataGridViewTextBoxColumn16.DataPropertyName = "SZOperationDoctor";
+ this.dataGridViewTextBoxColumn16.FillWeight = 81.201F;
+ this.dataGridViewTextBoxColumn16.HeaderText = "术者";
+ this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16";
+ this.dataGridViewTextBoxColumn16.ReadOnly = true;
+ this.dataGridViewTextBoxColumn16.Visible = false;
+ this.dataGridViewTextBoxColumn16.Width = 67;
+ //
+ // dataGridViewTextBoxColumn17
+ //
+ this.dataGridViewTextBoxColumn17.DataPropertyName = "SZAnesthesiaDoctor";
+ this.dataGridViewTextBoxColumn17.HeaderText = "麻醉医生";
+ this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17";
+ this.dataGridViewTextBoxColumn17.ReadOnly = true;
+ this.dataGridViewTextBoxColumn17.Visible = false;
+ this.dataGridViewTextBoxColumn17.Width = 82;
+ //
+ // dataGridViewTextBoxColumn18
+ //
+ this.dataGridViewTextBoxColumn18.DataPropertyName = "AnesthesiaEndTime";
+ this.dataGridViewTextBoxColumn18.HeaderText = "麻醉结束";
+ this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
+ this.dataGridViewTextBoxColumn18.ReadOnly = true;
+ this.dataGridViewTextBoxColumn18.Visible = false;
+ this.dataGridViewTextBoxColumn18.Width = 96;
+ //
+ // dataGridViewTextBoxColumn19
+ //
+ this.dataGridViewTextBoxColumn19.DataPropertyName = "OutRoomTime";
+ this.dataGridViewTextBoxColumn19.HeaderText = "出室时间";
+ this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19";
+ this.dataGridViewTextBoxColumn19.Visible = false;
+ this.dataGridViewTextBoxColumn19.Width = 96;
+ //
+ // dataGridViewTextBoxColumn20
+ //
+ this.dataGridViewTextBoxColumn20.DataPropertyName = "chagestate";
+ this.dataGridViewTextBoxColumn20.FillWeight = 65.36763F;
+ this.dataGridViewTextBoxColumn20.HeaderText = "收费状态";
+ this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20";
+ this.dataGridViewTextBoxColumn20.Visible = false;
+ this.dataGridViewTextBoxColumn20.Width = 63;
+ //
+ // dataGridViewTextBoxColumn25
+ //
+ this.dataGridViewTextBoxColumn25.HeaderText = "单位";
+ this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25";
+ this.dataGridViewTextBoxColumn25.Visible = false;
+ this.dataGridViewTextBoxColumn25.Width = 60;
+ //
+ // dataGridViewTextBoxColumn26
+ //
+ this.dataGridViewTextBoxColumn26.DataPropertyName = "DrugPrice";
+ this.dataGridViewTextBoxColumn26.HeaderText = "单价";
+ this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26";
+ this.dataGridViewTextBoxColumn26.ReadOnly = true;
+ this.dataGridViewTextBoxColumn26.Width = 70;
+ //
+ // dataGridViewTextBoxColumn27
+ //
+ this.dataGridViewTextBoxColumn27.DataPropertyName = "display_name";
+ this.dataGridViewTextBoxColumn27.HeaderText = "单号";
+ this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27";
+ this.dataGridViewTextBoxColumn27.Visible = false;
+ this.dataGridViewTextBoxColumn27.Width = 80;
+ //
+ // dataGridViewTextBoxColumn28
+ //
+ this.dataGridViewTextBoxColumn28.DataPropertyName = "specification";
+ this.dataGridViewTextBoxColumn28.HeaderText = "医嘱号";
+ this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28";
+ this.dataGridViewTextBoxColumn28.Width = 160;
+ //
+ // dataGridViewTextBoxColumn29
+ //
+ this.dataGridViewTextBoxColumn29.DataPropertyName = "qty";
+ this.dataGridViewTextBoxColumn29.HeaderText = "His医嘱号";
+ this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29";
+ this.dataGridViewTextBoxColumn29.Width = 60;
+ //
+ // dataGridViewTextBoxColumn30
+ //
+ this.dataGridViewTextBoxColumn30.DataPropertyName = "qty_unit";
+ this.dataGridViewTextBoxColumn30.HeaderText = "His数量";
+ this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30";
+ this.dataGridViewTextBoxColumn30.Visible = false;
+ this.dataGridViewTextBoxColumn30.Width = 60;
+ //
+ // dataGridViewTextBoxColumn31
+ //
+ this.dataGridViewTextBoxColumn31.DataPropertyName = "qty_unit";
+ this.dataGridViewTextBoxColumn31.HeaderText = "收费状态";
+ this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31";
+ this.dataGridViewTextBoxColumn31.Visible = false;
+ this.dataGridViewTextBoxColumn31.Width = 60;
+ //
+ // dgvDrugs
+ //
+ this.dgvDrugs.AllowUserToAddRows = false;
+ this.dgvDrugs.AllowUserToResizeColumns = false;
+ this.dgvDrugs.AllowUserToResizeRows = false;
+ dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream;
+ this.dgvDrugs.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
+ this.dgvDrugs.BackgroundColor = System.Drawing.Color.White;
+ this.dgvDrugs.BorderStyle = System.Windows.Forms.BorderStyle.None;
+ dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvDrugs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
+ this.dgvDrugs.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
+ this.dgvDrugs.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+ this.dataGridViewTextBoxColumn21});
+ dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvDrugs.DefaultCellStyle = dataGridViewCellStyle4;
+ this.dgvDrugs.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.dgvDrugs.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
+ this.dgvDrugs.EnableHeadersVisualStyles = false;
+ this.dgvDrugs.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229)))));
+ this.dgvDrugs.Location = new System.Drawing.Point(0, 132);
+ this.dgvDrugs.Margin = new System.Windows.Forms.Padding(0);
+ this.dgvDrugs.MultiSelect = false;
+ this.dgvDrugs.Name = "dgvDrugs";
+ dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvDrugs.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
+ this.dgvDrugs.RowHeadersVisible = false;
+ this.dgvDrugs.RowTemplate.Height = 25;
+ this.dgvDrugs.ShowCellErrors = false;
+ this.dgvDrugs.ShowCellToolTips = false;
+ this.dgvDrugs.Size = new System.Drawing.Size(1350, 409);
+ this.dgvDrugs.TabIndex = 389;
+ this.dgvDrugs.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvDrugs_CellDoubleClick);
+ this.dgvDrugs.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvDrugs_RowPostPaint);
+ //
+ // dataGridViewTextBoxColumn21
+ //
+ this.dataGridViewTextBoxColumn21.DataPropertyName = "id";
+ dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Red;
+ this.dataGridViewTextBoxColumn21.DefaultCellStyle = dataGridViewCellStyle3;
+ this.dataGridViewTextBoxColumn21.HeaderText = "ID";
+ this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21";
+ this.dataGridViewTextBoxColumn21.Visible = false;
+ this.dataGridViewTextBoxColumn21.Width = 30;
+ //
+ // frmOperationCharg5
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1350, 541);
+ this.Controls.Add(this.dgvDrugs);
+ this.Controls.Add(this.panel2);
+ this.Controls.Add(this.panel1);
+ this.Name = "frmOperationCharg5";
+ this.Text = "药品使用登记2";
+ this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
+ this.Load += new System.EventHandler(this.frmOperationDruggCheck_Load);
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ this.toolStrip1.ResumeLayout(false);
+ this.toolStrip1.PerformLayout();
+ this.panel2.ResumeLayout(false);
+ this.panel2.PerformLayout();
+ this.panel4.ResumeLayout(false);
+ this.panel4.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.dgvDrugs)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel2;
+ public System.Windows.Forms.Label labDate;
+ private System.Windows.Forms.Button tsbSettingDGV;
+ private DevComponents.DotNetBar.ButtonX buttonX1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime;
+ public System.Windows.Forms.Label label24;
+ private DevComponents.DotNetBar.Controls.ComboBoxEx cboRoom;
+ private System.Windows.Forms.Label label22;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn26;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn27;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn28;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn30;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31;
+ private DevComponents.DotNetBar.Controls.ComboBoxEx comboBoxExType;
+ public System.Windows.Forms.Label label1;
+ private DevComponents.Editors.ComboItem comboItem1;
+ private DevComponents.Editors.ComboItem comboItem2;
+ private DevComponents.Editors.ComboItem comboItem4;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.RadioButton rdoHs;
+ private System.Windows.Forms.RadioButton rdoMz;
+ private DevComponents.DotNetBar.ButtonX btnSave;
+ private DevComponents.DotNetBar.Controls.ComboBoxEx cnoDrugName;
+ private DevComponents.Editors.ComboItem comboItem5;
+ private DevComponents.Editors.ComboItem comboItem6;
+ private DevComponents.Editors.ComboItem comboItem7;
+ private DevComponents.Editors.ComboItem comboItem8;
+ public System.Windows.Forms.Label label3;
+ private DevComponents.DotNetBar.Controls.DataGridViewX dgvDrugs;
+ private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21;
+ private System.Windows.Forms.ToolStrip toolStrip1;
+ private System.Windows.Forms.ToolStripButton toolStripButton1;
+ private System.Windows.Forms.ToolStripButton toolStripButton2;
+ }
+}
\ No newline at end of file
diff --git a/AIMS/OperationAfter/frmOperationCharg5.resx b/AIMS/OperationAfter/frmOperationCharg5.resx
new file mode 100644
index 0000000..5da7a24
--- /dev/null
+++ b/AIMS/OperationAfter/frmOperationCharg5.resx
@@ -0,0 +1,123 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
\ No newline at end of file
diff --git a/AIMS/Template/手术间保养维修记录.xlt b/AIMS/Template/手术间保养维修记录.xlt
new file mode 100644
index 0000000..61c9c0c
Binary files /dev/null and b/AIMS/Template/手术间保养维修记录.xlt differ
diff --git a/AIMSEntity/BLL/Extension/BFactEvents.cs b/AIMSEntity/BLL/Extension/BFactEvents.cs
index 36f1daa..067c8b5 100644
--- a/AIMSEntity/BLL/Extension/BFactEvents.cs
+++ b/AIMSEntity/BLL/Extension/BFactEvents.cs
@@ -26,7 +26,11 @@ namespace AIMSBLL
{
Events opeevent = BEvents.SelectSingle(" name='" + eventName + "'", new ParameterList());
FactEvents Inevent = DFactEvents.SelectSingle(" PatientId=@OperationRecordId and EventId=@EventId and EventTypeId=@EventTypeId", new ParameterList("@OperationRecordId", OperationRecordID, "@EventId", opeevent.Id, "@EventTypeId", EventTypeId));
- if (Inevent != null && Inevent.Id != 0) return Inevent;
+ if (Inevent != null && Inevent.Id != 0)
+ {
+ Inevent.EventName = eventName;
+ return Inevent;
+ }
Inevent = new FactEvents();
Inevent.EventName = eventName;
Inevent.PatientId = OperationRecordID;
diff --git a/AIMSEntity/BLL/Extension/BFeesRecordReport.cs b/AIMSEntity/BLL/Extension/BFeesRecordReport.cs
index 2f36c0a..bc134e1 100644
--- a/AIMSEntity/BLL/Extension/BFeesRecordReport.cs
+++ b/AIMSEntity/BLL/Extension/BFeesRecordReport.cs
@@ -47,27 +47,24 @@ ROW_NUMBER() OVER (ORDER BY FeeCode ASC) AS noo,
public static DataTable GetUpListByWhere3(string where)
{
- string sql = string.Format(@"
+ string sql = string.Format(@"
select FeesRecord.id,
- voi.OpeDAY '年月日',
- LimitDrug 入库数量,
- voi.PatientName 姓名,
- voi.Age 年龄,
- voi.Sex 性别,
- pt.IdentityCard 身份证号,
+ voi.OpeDAY '日期',
+ voi.PatientName 患者姓名,
+ voi.MdrecNo 病历号,
voi.ApplyDiagnoseInfoName 诊断,
- FeesRecord.Extend2+FeesRecord.Extend1 用量,
- FeesRecord.Extend4 处方单号,
+ FeesRecord.ChargName 药品名称,
FeesRecord.InsureNO 批号,
- pt.MdrecNo 病志号或住址,
- FeesRecord.ExecWork 处方医生,
- FeesRecord.Extend5 发药人,
- Conclusion 余量废弃,
- IsInsure 废弃人签字
+ FeesRecord.ChargSpec '规格',
+ FeesRecord.Extend2+FeesRecord.Extend1 使用量,
+ IsInsure 残余量,
+ Conclusion 处理方式,
+ FeesRecord.ExecWork 操作人,
+ FeesRecord.Extend5 监督人
FROM FeesRecord
LEFT JOIN Oris_Patient pt on pt.id=PatientId
LEFT JOIN V_OperationRecordInfo voi on voi.RecoredId=FeesRecord.OperationRecordId
- where FeeIsDrug=1 and FeesRecord.Extend4<>'' and {0} ", where);
+ where FeeIsDrug=1 and FeesRecord.Extend4<>'' and {0} order by ChargName ", where);
DataTable dt = DBHelper.GetDataTable(sql);
return dt;
}
diff --git a/AIMSEntity/BLL/Extension/BOperationTemplate.cs b/AIMSEntity/BLL/Extension/BOperationTemplate.cs
index 55a9d6d..fcc439a 100644
--- a/AIMSEntity/BLL/Extension/BOperationTemplate.cs
+++ b/AIMSEntity/BLL/Extension/BOperationTemplate.cs
@@ -97,7 +97,7 @@ namespace AIMSBLL
}
if (dr["Spare3"].ToString() != "" && dr["Spare3"].ToString() != "0" && dr["Spare3"].ToString() != "0.00")
{
- FactDrugObj.Velocity = dr["Spare3"].ToString() ;
+ FactDrugObj.Velocity = dr["Spare3"].ToString();
FactDrugObj.VelocityUnit = dr["Spare4"].ToString();
}
@@ -146,7 +146,7 @@ namespace AIMSBLL
}
if (child["Spare3"].ToString() != "" && child["Spare3"].ToString() != "0" && child["Spare3"].ToString() != "0.00")
{
- FactDrugObjChild.Velocity = child["Spare3"].ToString() ;
+ FactDrugObjChild.Velocity = child["Spare3"].ToString();
FactDrugObjChild.VelocityUnit = child["Spare4"].ToString();
}
@@ -172,6 +172,7 @@ namespace AIMSBLL
{
bool istrue = false;
int EventId = int.Parse(dr["ItemId"].ToString());
+ if (EventId <= 10) continue;
foreach (var item in _record.FactEventsList)
{
if (item.EventId == EventId)
diff --git a/AIMSEntity/Extensions/BOperationRecord.cs b/AIMSEntity/Extensions/BOperationRecord.cs
index a6f8e64..2a8cf82 100644
--- a/AIMSEntity/Extensions/BOperationRecord.cs
+++ b/AIMSEntity/Extensions/BOperationRecord.cs
@@ -362,7 +362,7 @@ namespace AIMSBLL
FactDrug.IsContinue = int.Parse(DrugAllData.Rows[i]["IsContinue"].ToString());
if (DrugAllData.Rows[i]["Density"].ToString() != "") FactDrug.Density = decimal.Parse(DrugAllData.Rows[i]["Density"].ToString());
FactDrug.DensityUnit = DrugAllData.Rows[i]["DensityUnit"].ToString();
- if (DrugAllData.Rows[i]["Velocity"].ToString() != "") FactDrug.Velocity = DrugAllData.Rows[i]["Velocity"].ToString();
+ FactDrug.Velocity = DrugAllData.Rows[i]["Velocity"].ToString();
FactDrug.VelocityUnit = DrugAllData.Rows[i]["VelocityUnit"].ToString();
FactDrug.BloodType = DrugAllData.Rows[i]["BloodType"].ToString();
FactDrug.OperatorNo = DrugAllData.Rows[i]["OperatorNo"].ToString();
diff --git a/AIMSExtension/PublicMethod.cs b/AIMSExtension/PublicMethod.cs
index 646841b..28ed34e 100644
--- a/AIMSExtension/PublicMethod.cs
+++ b/AIMSExtension/PublicMethod.cs
@@ -464,6 +464,7 @@ namespace AIMSExtension
{
try
{
+ if (Content == null) return;
ProgramLog plg = new ProgramLog();
plg.Content = Content;
plg.PatientID = PatientId.ToString();
diff --git a/DrawGraph/AreaManage/IconManage.cs b/DrawGraph/AreaManage/IconManage.cs
index 76f5fed..92565a9 100644
--- a/DrawGraph/AreaManage/IconManage.cs
+++ b/DrawGraph/AreaManage/IconManage.cs
@@ -191,15 +191,16 @@ namespace DrawGraph
TextPackObj packObj2 = template.GetPackObjectOTag("IconManage_TextPackObj_14_OperationRecord_AnalgesiaRecord_Extend2");
if (packObj2 != null)
{
- List AfterDrugsListstr = new List();
- myOpeRecord.ClearIconstr(ZedControl) ;
+ List AfterDrugsListstr = new List();
+ myOpeRecord.ClearIconstr(ZedControl);
+ myOpeRecord.FactDrugList.Sort(new FactDrugComparer());
foreach (var item in myOpeRecord.FactDrugList)
{
ListAddDrugs(AfterDrugsListstr, item);
}
if (AfterDrugsListstr.Count > 0)
{
- SetRemarkInfo(AfterDrugsListstr, packObj2, 15, 6.5f, 40,"IconDrugRemarkRow");
+ SetRemarkInfo(AfterDrugsListstr, packObj2, 15, 6.5f, 40, "IconDrugRemarkRow");
//packObj2.PackText = "";
//foreach (var item in AfterDrugsListstr)
@@ -219,6 +220,7 @@ namespace DrawGraph
if (item != "【事件】")
Eventststr.Add(((item.Substring(1, item.Length - 1))));
}
+ myOpeRecord.FactEventsList.Sort(new FactEventsComparer());
if (Eventststr.Count > 0)
{
SetRemarkInfo(Eventststr, packObj, 15, 7f, 38, "IconeventRemarkRow");
@@ -234,7 +236,7 @@ namespace DrawGraph
//packObj.Draw();
}
}
- private void SetRemarkInfo(List PunctureAndIntubatios, TextPackObj remarkPpack, int remarkRowscount, float fontsize, int fontlength,string TagName )
+ private void SetRemarkInfo(List PunctureAndIntubatios, TextPackObj remarkPpack, int remarkRowscount, float fontsize, int fontlength, string TagName)
{
int remarkRow = 0;
int AllRemarkRow = 0;
@@ -242,7 +244,7 @@ namespace DrawGraph
double x = remarkPpack.RealX;
double y = remarkPpack.RealY + getYPositionByListIndex(remarkRow, remarkPpack.RealY, lastIndex, remarkRowscount);
- if (PunctureAndIntubatios != null )
+ if (PunctureAndIntubatios != null)
{
foreach (string item in PunctureAndIntubatios)
{
@@ -252,13 +254,13 @@ namespace DrawGraph
if (PunStr[m] == null) continue;
y = remarkPpack.RealY + getYPositionByListIndex(remarkRow, remarkPpack.RealY, lastIndex, remarkRowscount);
if (PunStr[m] == null || PunStr[m].Trim() == "") break;
- ZUtil.DrawText(PunStr[m], x, y, ZedControl, fontsize, TagName + AllRemarkRow);
+ ZUtil.DrawText(PunStr[m], x, y, ZedControl, fontsize, TagName + AllRemarkRow);
remarkRow++;
AllRemarkRow++;
}
}
}
- }
+ }
private static void ListAddDrugs(List DrugListstr, FactDrug temp)
{
diff --git a/DrawGraphManagement/Main.Designer.cs b/DrawGraphManagement/Main.Designer.cs
index 314f5c5..0b88ee7 100644
--- a/DrawGraphManagement/Main.Designer.cs
+++ b/DrawGraphManagement/Main.Designer.cs
@@ -42,12 +42,14 @@
this.button4 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.txtFontSize = new System.Windows.Forms.TextBox();
+ this.button11 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.BtnBind = new System.Windows.Forms.Button();
this.label6 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.button9 = new System.Windows.Forms.Button();
this.button8 = new System.Windows.Forms.Button();
+ this.button12 = new System.Windows.Forms.Button();
this.button7 = new System.Windows.Forms.Button();
this.button6 = new System.Windows.Forms.Button();
this.button10 = new System.Windows.Forms.Button();
@@ -70,10 +72,9 @@
this.label5 = new System.Windows.Forms.Label();
this.txtAreaX = new System.Windows.Forms.TextBox();
this.label4 = new System.Windows.Forms.Label();
- this.button11 = new System.Windows.Forms.Button();
this.myPanel1 = new DrawGraphManagement.MyPanel();
this.zedGraphMain = new DrawGraph.ZedGraphControl();
- this.button12 = new System.Windows.Forms.Button();
+ this.btnPrint = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.panel4.SuspendLayout();
this.pnlManageList.SuspendLayout();
@@ -134,7 +135,7 @@
//
// btnSave
//
- this.btnSave.Location = new System.Drawing.Point(903, 7);
+ this.btnSave.Location = new System.Drawing.Point(895, 7);
this.btnSave.Name = "btnSave";
this.btnSave.Size = new System.Drawing.Size(75, 23);
this.btnSave.TabIndex = 5;
@@ -178,6 +179,7 @@
this.panel4.Controls.Add(this.button10);
this.panel4.Controls.Add(this.button2);
this.panel4.Controls.Add(this.btnCreate);
+ this.panel4.Controls.Add(this.btnPrint);
this.panel4.Controls.Add(this.btnSave);
this.panel4.Dock = System.Windows.Forms.DockStyle.Bottom;
this.panel4.Location = new System.Drawing.Point(0, 4);
@@ -226,6 +228,16 @@
this.txtFontSize.TabIndex = 13;
this.txtFontSize.Visible = false;
//
+ // button11
+ //
+ this.button11.Location = new System.Drawing.Point(981, 6);
+ this.button11.Name = "button11";
+ this.button11.Size = new System.Drawing.Size(75, 23);
+ this.button11.TabIndex = 12;
+ this.button11.Text = "文书加载";
+ this.button11.UseVisualStyleBackColor = true;
+ this.button11.Click += new System.EventHandler(this.button11_Click);
+ //
// button1
//
this.button1.Location = new System.Drawing.Point(1211, 4);
@@ -239,7 +251,7 @@
//
// BtnBind
//
- this.BtnBind.Location = new System.Drawing.Point(816, 7);
+ this.BtnBind.Location = new System.Drawing.Point(809, 7);
this.BtnBind.Name = "BtnBind";
this.BtnBind.Size = new System.Drawing.Size(75, 23);
this.BtnBind.TabIndex = 11;
@@ -265,7 +277,7 @@
//
// button9
//
- this.button9.Location = new System.Drawing.Point(323, 7);
+ this.button9.Location = new System.Drawing.Point(321, 7);
this.button9.Name = "button9";
this.button9.Size = new System.Drawing.Size(107, 23);
this.button9.TabIndex = 6;
@@ -275,7 +287,7 @@
//
// button8
//
- this.button8.Location = new System.Drawing.Point(614, 7);
+ this.button8.Location = new System.Drawing.Point(609, 7);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(102, 23);
this.button8.TabIndex = 6;
@@ -283,9 +295,19 @@
this.button8.UseVisualStyleBackColor = true;
this.button8.Click += new System.EventHandler(this.button8_Click);
//
+ // button12
+ //
+ this.button12.Location = new System.Drawing.Point(722, 7);
+ this.button12.Name = "button12";
+ this.button12.Size = new System.Drawing.Size(76, 23);
+ this.button12.TabIndex = 6;
+ this.button12.Text = "镇静记录单";
+ this.button12.UseVisualStyleBackColor = true;
+ this.button12.Click += new System.EventHandler(this.button12_Click);
+ //
// button7
//
- this.button7.Location = new System.Drawing.Point(527, 7);
+ this.button7.Location = new System.Drawing.Point(523, 7);
this.button7.Name = "button7";
this.button7.Size = new System.Drawing.Size(75, 23);
this.button7.TabIndex = 6;
@@ -295,7 +317,7 @@
//
// button6
//
- this.button6.Location = new System.Drawing.Point(442, 7);
+ this.button6.Location = new System.Drawing.Point(439, 7);
this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(73, 23);
this.button6.TabIndex = 6;
@@ -305,7 +327,7 @@
//
// button10
//
- this.button10.Location = new System.Drawing.Point(231, 7);
+ this.button10.Location = new System.Drawing.Point(230, 7);
this.button10.Name = "button10";
this.button10.Size = new System.Drawing.Size(80, 23);
this.button10.TabIndex = 6;
@@ -493,16 +515,6 @@
this.label4.TabIndex = 0;
this.label4.Text = "区域管理器位置X";
//
- // button11
- //
- this.button11.Location = new System.Drawing.Point(990, 6);
- this.button11.Name = "button11";
- this.button11.Size = new System.Drawing.Size(75, 23);
- this.button11.TabIndex = 12;
- this.button11.Text = "文书加载";
- this.button11.UseVisualStyleBackColor = true;
- this.button11.Click += new System.EventHandler(this.button11_Click);
- //
// myPanel1
//
this.myPanel1.AutoScroll = true;
@@ -533,15 +545,15 @@
this.zedGraphMain.KeyUp += new System.Windows.Forms.KeyEventHandler(this.zedGraphMain_KeyUp);
this.zedGraphMain.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.zedGraphMain_MouseDoubleClick);
//
- // button12
+ // btnPrint
//
- this.button12.Location = new System.Drawing.Point(728, 7);
- this.button12.Name = "button12";
- this.button12.Size = new System.Drawing.Size(76, 23);
- this.button12.TabIndex = 6;
- this.button12.Text = "镇静记录单";
- this.button12.UseVisualStyleBackColor = true;
- this.button12.Click += new System.EventHandler(this.button12_Click);
+ this.btnPrint.Location = new System.Drawing.Point(1067, 7);
+ this.btnPrint.Name = "btnPrint";
+ this.btnPrint.Size = new System.Drawing.Size(59, 23);
+ this.btnPrint.TabIndex = 5;
+ this.btnPrint.Text = "打印";
+ this.btnPrint.UseVisualStyleBackColor = true;
+ this.btnPrint.Click += new System.EventHandler(this.btnPrint_Click);
//
// Main
//
@@ -617,5 +629,6 @@
private System.Windows.Forms.Button button10;
private System.Windows.Forms.Button button11;
private System.Windows.Forms.Button button12;
+ private System.Windows.Forms.Button btnPrint;
}
}
\ No newline at end of file
diff --git a/DrawGraphManagement/Main.cs b/DrawGraphManagement/Main.cs
index d3add9d..399bf77 100644
--- a/DrawGraphManagement/Main.cs
+++ b/DrawGraphManagement/Main.cs
@@ -8,6 +8,7 @@ using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
+using System.Drawing.Printing;
using System.Linq;
using System.Reflection;
using System.Windows.Forms;
@@ -814,5 +815,174 @@ namespace DrawGraphManagement
}
}
+
+ private void btnPrint_Click(object sender, EventArgs e)
+ {
+ if (textBox1.Text == "") return;
+ try
+ {
+ mPanes = new List();
+ UpPanes = new List();
+
+ PrintDocPage(null, null);
+
+ count = 0;
+ int pylWidth = 3;
+ System.Drawing.Printing.PrintDocument pDoc = new System.Drawing.Printing.PrintDocument();
+ pDoc.DefaultPageSettings.Landscape = false;
+ pDoc.OriginAtMargins = true;
+ pDoc.DefaultPageSettings.PrinterResolution.Kind = PrinterResolutionKind.High;
+ pDoc.DefaultPageSettings.Margins = new Margins(pylWidth, 0, 0, 0);
+ pDoc.PrintPage -= new PrintPageEventHandler(pDoc_PrintPage);
+ pDoc.PrintPage += new PrintPageEventHandler(pDoc_PrintPage);
+
+ System.Windows.Forms.PrintDialog pDlg = new System.Windows.Forms.PrintDialog();
+ pDlg.Document = pDoc;
+ if (pDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ pDoc.Print();
+ }
+ count = 0;
+ }
+ catch (Exception exp)
+ {
+ PublicMethod.WriteLog(exp, "");
+ }
+ }
+ public List mPanes = new List();
+ public List UpPanes = new List();
+ int m_startPrintPage;// 打印的起始页码
+ int m_endPrintPage;//打印的终止页码
+ int count = 0;
+ private void pDoc_PrintPage(object sender, PrintPageEventArgs e)
+ {
+ System.Drawing.Printing.PrintDocument pDoc = sender as System.Drawing.Printing.PrintDocument;
+ m_startPrintPage = pDoc.PrinterSettings.FromPage;
+ m_endPrintPage = pDoc.PrinterSettings.ToPage;
+
+ int printCount = mPanes.Count;
+ if (mPanes.Count > 0 && count < printCount)
+ {
+ mPanes[count].Draw(e.Graphics);
+ count++;
+ if (count < printCount)
+ {
+ e.HasMorePages = true;
+ }
+ }
+ else
+ {
+ e.HasMorePages = false;
+ }
+ }
+ private void PrintDocPage(object sender, PrintPageEventArgs e)
+ {
+ OperationRecord _record = operationRecor as OperationRecord;
+ if (_record.currentPage == 1)
+ {
+ PrintDocPane(e, zedGraphMain, templateManage, true);
+ //PrintDocPane(e, zgcAnaesRecord2, templateManage2, false);
+ }
+ //else
+ //{
+ // for (int i = 1; i <= _record.pageCount; i++)
+ // {
+ // PrintDocPane(e, zgcAnaesRecord, templateManage, true);
+ // if (i == 1)
+ // {
+ // PrintDocPane(e, zgcAnaesRecord2, templateManage2, false);
+ // }
+ // btnNextPage_Click(null, null);
+ // if (i != 1)
+ // {
+ // MasterPane mPane = new MasterPane();
+ // mPane.Border.IsVisible = false;
+ // mPanes.Add(mPane);
+ // }
+ // }
+ //}
+
+ }
+
+
+ private void PrintDocPane(PrintPageEventArgs e, ZedGraphControl zedGraph, TemplateManage template, bool InitChart)
+ {
+ OperationRecord _record = operationRecor as OperationRecord;
+ foreach (AreaManageBase area in template.ManageList)
+ {
+ area.setPrint(false);
+ area.BindTempData();
+ }
+ int zedGraphMainWidth = zedGraph.Size.Width;
+ int zedGraphMainHeight = zedGraph.Size.Height;
+
+ int width = 825;
+ int height = Convert.ToInt32(width * 1.414) + 2;
+ zedGraph.Size = new Size(width, height);
+ zedGraph.Width = width;
+ zedGraph.Height = height;
+
+ if (InitChart == true)
+ foreach (PhysioDataConfig pp in _record.PhysioConfigList)
+ {
+ if (pp.ShowText == true)
+ {
+ pp.IsValid = false;
+ ///重新设置曲线属性
+ pp.reSetCurveSpo2();
+ }
+ }
+ TipBox.Hidden();
+
+ MasterPane mPane = zedGraph.MasterPane; //this.MasterPane;
+ mPane.Border.IsVisible = false;
+ //当前窗体中的矩形区域大小
+ RectangleF saveRect = mPane.Rect;
+ if (InitChart == true)
+ template.initChart();
+ mPanes.Add(mPane.Clone());
+ if (e != null)
+ mPane.Draw(e.Graphics); //在打印文档中画出MasterPane内容
+ using (Graphics g = zedGraph.CreateGraphics())
+ {
+ mPane.ReSize(g, saveRect);
+ }
+
+ zedGraph.Size = new Size(zedGraphMainWidth, zedGraphMainHeight);
+ if (InitChart == true)
+ template.initChart();
+ UpPanes.Add(mPane.Clone());
+
+ if (InitChart == true)
+ foreach (PhysioDataConfig pp in _record.PhysioConfigList)
+ {
+ if (pp.ShowText == true)
+ {
+ pp.IsValid = true;
+ ///重新设置曲线属性
+ pp.reSetCurveSpo2();
+ }
+ }
+ //if (InitChart == false)
+ //{
+ // int LocationY = Convert.ToInt32(templateManage2.ZedControl.Height * 0.065);
+ // templateManage2.LocationY = LocationY;
+ // templateManage2.SetPYL();
+ // foreach (AreaManageBase area in template.ManageList)
+ // {
+ // area.setPrint(true);
+ // }
+ //}
+ //else
+ //{
+ int LocationY = Convert.ToInt32(templateManage.ZedControl.Height * 0.04);
+ templateManage.LocationY = LocationY;
+ templateManage.SetPYL();
+ foreach (AreaManageBase area in template.ManageList)
+ {
+ area.setPrint(true);
+ }
+ //}
+ }
}
}