药品登记本

This commit is contained in:
leomon 2023-05-22 19:49:21 +08:00
parent 01fecc622d
commit 242d4bea53
26 changed files with 2765 additions and 810 deletions

View File

@ -297,6 +297,12 @@
<Compile Include="OperationAfter\frmNotesRecordExport.designer.cs">
<DependentUpon>frmNotesRecordExport.cs</DependentUpon>
</Compile>
<Compile Include="OperationAfter\frmOperationCharg5.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="OperationAfter\frmOperationCharg5.designer.cs">
<DependentUpon>frmOperationCharg5.cs</DependentUpon>
</Compile>
<Compile Include="OperationAfter\frmReportExport.cs">
<SubType>Form</SubType>
</Compile>
@ -975,6 +981,9 @@
<EmbeddedResource Include="OperationAfter\frmNotesRecordExport.resx">
<DependentUpon>frmNotesRecordExport.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationAfter\frmOperationCharg5.resx">
<DependentUpon>frmOperationCharg5.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OperationAfter\frmReportExport.resx">
<DependentUpon>frmReportExport.cs</DependentUpon>
</EmbeddedResource>
@ -1271,11 +1280,24 @@
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="Template\冰箱监测.xlt" />
<None Include="Template\手术排程模板.xlt" />
<None Include="Template\护士收费单.xlt" />
<None Include="Template\排班按月.xlt" />
<None Include="Template\职工出缺勤表.xlt" />
<None Include="Template\麻醉收费单.xlt" />
<None Include="Template\手术排程模板.xlt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Template\手术间保养维修记录.xlt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Template\护士收费单.xlt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Template\排班按月.xlt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Template\职工出缺勤表.xlt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Template\麻醉收费单.xlt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="Template\麻醉机及心电监护仪使用消毒记录.xlt" />
<None Include="Template\麻醉贵重物品清点本.xlt" />
</ItemGroup>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<AtuoUpdate>
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_FJZPTFYY;User ID=sa;Password=Test2020;</ConnectionString>
<ConnectionString>Data Source=.;Initial Catalog=AIMSDB_DLSJZQZYYY;User ID=sa;Password=Test2020;</ConnectionString>
<DataConnectionString>Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020;</DataConnectionString>
<HisConnectionStringOracel>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;</HisConnectionStringOracel>
<LastLoginNo></LastLoginNo>

View File

@ -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";

View File

@ -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;

View File

@ -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)

View File

@ -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<string> ());
//_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<string> result = new List<string>();
List<string> names = new List<string>();
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());
}
/// <summary>
/// 得到当前使用的器械对象集合
/// </summary>
@ -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)

View File

@ -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)
{

View File

@ -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)

View File

@ -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<NotesRecord> records = new List<NotesRecord>();
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<List<NotesRecord>> groupedLists = new List<List<NotesRecord>>();
for (int i = 0; i < records.Count; i += n)
{
List<NotesRecord> 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<NotesRecord> records = new List<NotesRecord>();
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<List<NotesRecord>> groupedLists = new List<List<NotesRecord>>();
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)))));//青色
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -120,6 +120,39 @@
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn25.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn26.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn27.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn29.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn30.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn31.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Column4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn32.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn17.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@ -144,6 +177,30 @@
<metadata name="dataGridViewTextBoxColumn24.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="RecordTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ExecWork.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="dataGridViewTextBoxColumn9.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
@ -171,28 +228,4 @@
<metadata name="dataGridViewTextBoxColumn16.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Id.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="RecordTime.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content1.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content2.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content3.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content4.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="Content5.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
<metadata name="ExecWork.UserAddedColumn" type="System.Boolean, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
<value>True</value>
</metadata>
</root>

View File

@ -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();
}
}
}

View File

@ -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;
}
}

View File

@ -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;
}
}
}

View File

@ -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<FeesRecordReport> 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();
}
/// <summary>
/// 表格配置
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
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>(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<int, string> Columns = new Dictionary<int, string>();
//填充标题
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<KeyValuePair<int, string>> 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<Process> excelProcess = GetExcelProcesses();
for (int i = 0; i < excelProcess.Count; i++)
{
excelProcess[i].Kill();
}
}
private List<Process> GetExcelProcesses()
{
Process[] processes = Process.GetProcesses();
List<Process> excelProcesses = new List<Process>();
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);
}
}
}
}

View File

@ -0,0 +1,852 @@
namespace AIMS.OperationAfter.UI
{
partial class frmOperationCharg5
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
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;
}
}

View File

@ -0,0 +1,123 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="toolStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
</root>

Binary file not shown.

View File

@ -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;

View File

@ -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;
}

View File

@ -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)

View File

@ -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();

View File

@ -464,6 +464,7 @@ namespace AIMSExtension
{
try
{
if (Content == null) return;
ProgramLog plg = new ProgramLog();
plg.Content = Content;
plg.PatientID = PatientId.ToString();

View File

@ -191,15 +191,16 @@ namespace DrawGraph
TextPackObj packObj2 = template.GetPackObjectOTag<TextPackObj>("IconManage_TextPackObj_14_OperationRecord_AnalgesiaRecord_Extend2");
if (packObj2 != null)
{
List<string> AfterDrugsListstr = new List<string>();
myOpeRecord.ClearIconstr(ZedControl) ;
List<string> AfterDrugsListstr = new List<string>();
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<string> PunctureAndIntubatios, TextPackObj remarkPpack, int remarkRowscount, float fontsize, int fontlength,string TagName )
private void SetRemarkInfo(List<string> 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<string> DrugListstr, FactDrug temp)
{

View File

@ -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;
}
}

View File

@ -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<MasterPane>();
UpPanes = new List<MasterPane>();
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<MasterPane> mPanes = new List<MasterPane>();
public List<MasterPane> UpPanes = new List<MasterPane>();
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);
}
//}
}
}
}