diff --git a/AIMS/AIMS.csproj b/AIMS/AIMS.csproj
index eeca1f9..bf5329a 100644
--- a/AIMS/AIMS.csproj
+++ b/AIMS/AIMS.csproj
@@ -227,6 +227,18 @@
frmFeesRecord.cs
+
+ Form
+
+
+ frmInstrumentRecord2.cs
+
+
+ Form
+
+
+ frmSelectPatientGoodsBill2.cs
+
Form
@@ -425,10 +437,10 @@
frmSelectApplianceUseType.cs
-
+
Form
-
+
frmSelectPatientGoodsBill.cs
@@ -445,7 +457,6 @@
PrescriptionDocument.cs
-
Form
@@ -481,6 +492,12 @@
Component
+
+ UserControl
+
+
+ ucDocumentGoodsBill.cs
+
UserControl
@@ -897,6 +914,13 @@
frmFeesRecord.cs
+
+ frmInstrumentRecord2.cs
+ Designer
+
+
+ frmSelectPatientGoodsBill2.cs
+
frmPrescriptionDocument.cs
@@ -999,7 +1023,7 @@
frmSelectApplianceUseType.cs
-
+
frmSelectPatientGoodsBill.cs
@@ -1020,6 +1044,9 @@
frmSelectiveOperationsPrint.cs
+
+ ucDocumentGoodsBill.cs
+
UCOperationGoodsBill.cs
diff --git a/AIMS/OperationAanesthesia/frmBloodGasAnalysisNew.cs b/AIMS/OperationAanesthesia/frmBloodGasAnalysisNew.cs
index d206d23..7e2fca2 100644
--- a/AIMS/OperationAanesthesia/frmBloodGasAnalysisNew.cs
+++ b/AIMS/OperationAanesthesia/frmBloodGasAnalysisNew.cs
@@ -274,6 +274,7 @@ namespace AIMS.OperationAanesthesia
else
{
BFactBloodGasAnalysisData.Delete(" RecordId=" + Analysis.Id, null);
+ if(zgcAnaesRecord != null)
Analysis.clearAddObj(zgcAnaesRecord);
setDateAnalysis();
BFactBloodGasAnalysis.Update(Analysis);
@@ -380,7 +381,8 @@ namespace AIMS.OperationAanesthesia
FactBloodGasAnalysis Blood = _record.FactBloodGasAnalysisList.Where(c => c.Id == Convert.ToInt32(dgvAnalysis.SelectedRows[0].Cells["ID"].Value)).ToList()[0];
BFactBloodGasAnalysisData.Delete(" RecordId=" + Blood.Id, null);
BFactBloodGasAnalysis.Delete(Blood);
- Blood.clearAddObj(zgcAnaesRecord);
+ if (zgcAnaesRecord != null)
+ Blood.clearAddObj(zgcAnaesRecord);
_record.FactBloodGasAnalysisList.Remove(Blood);
ControlExtension.ClearControl(panel1);
CurrentState = EditState.BROWSE;
diff --git a/AIMS/OperationAanesthesia/frmFactDrugNew.cs b/AIMS/OperationAanesthesia/frmFactDrugNew.cs
index ff0b85d..5d42b2d 100644
--- a/AIMS/OperationAanesthesia/frmFactDrugNew.cs
+++ b/AIMS/OperationAanesthesia/frmFactDrugNew.cs
@@ -806,8 +806,11 @@ namespace AIMS.PublicUI.UI
return;
}
FactDrug er = _record.FactDrugList.Where(b => b.Id == id).ToList()[0];
- er.clearAddObj(zgcAnaesRecord);
- er.clearIm(zgcAnaesRecord);
+ if (zgcAnaesRecord != null)
+ {
+ er.clearAddObj(zgcAnaesRecord);
+ er.clearIm(zgcAnaesRecord);
+ }
BFactDrug.Delete(er);
_record.FactDrugList.Remove(er);
_dataGridView.Rows.Remove(_dataGridView.CurrentRow);
@@ -1036,8 +1039,11 @@ namespace AIMS.PublicUI.UI
if (FactDrug.Id == drugsR.Id && equelDrugs(FactDrug, drugsR) == false)
{
if (drugsR.ParentId == 0) drugsR.ParentId = FactDrug.ParentId;
- FactDrug.clearAddObj(zgcAnaesRecord);
- FactDrug.clearIm(zgcAnaesRecord);
+ if (zgcAnaesRecord != null)
+ {
+ FactDrug.clearAddObj(zgcAnaesRecord);
+ FactDrug.clearIm(zgcAnaesRecord);
+ }
_record.FactDrugList.Remove(FactDrug);
_record.FactDrugList.Add(drugsR);
BFactDrug.Update(drugsR);
diff --git a/AIMS/OperationAanesthesia/frmFactEventsNew.cs b/AIMS/OperationAanesthesia/frmFactEventsNew.cs
index 05dfc36..7892938 100644
--- a/AIMS/OperationAanesthesia/frmFactEventsNew.cs
+++ b/AIMS/OperationAanesthesia/frmFactEventsNew.cs
@@ -418,7 +418,8 @@ namespace AIMS.PublicUI.UI
FactEvents er = _record.FactEventsList.Where(p => p.Id == id).ToList()[0];
if (er != null)
{
- er.clearAddObj(zgcAnaesRecord);
+ if (zgcAnaesRecord != null)
+ er.clearAddObj(zgcAnaesRecord);
BFactEvents.Delete(er);
DelEventTime(er);
EventParam();
@@ -553,7 +554,8 @@ namespace AIMS.PublicUI.UI
_event.OperatorNo = PublicMethod.OperatorNo;
_event.OperatorName = PublicMethod.OperatorName;
_event.OperateDate = DateTime.Now;
- FactEvents.clearAddObj(zgcAnaesRecord);
+ if (zgcAnaesRecord != null)
+ FactEvents.clearAddObj(zgcAnaesRecord);
_record.FactEventsList.Remove(FactEvents);
_record.FactEventsList.Add(_event);
//修改时间对象
@@ -904,19 +906,20 @@ namespace AIMS.PublicUI.UI
foreach (PhysioDataConfig addPP in _record.PhysioConfigList)
{
if (!Ids.Contains(addPP.Id.ToString())) continue;
- addPP.clearAddObj(zgcAnaesRecord);
+ if (zgcAnaesRecord != null)
+ addPP.clearAddObj(zgcAnaesRecord);
if (addPP.IsDefalultShow == false) continue;
for (int i = 0; i < dtPhysioData.Rows.Count; i++)
{
if (dtPhysioData.Rows[i]["Name"].ToString().Equals(addPP.Name.ToString()))
{
PhysioData pdTemp = PhysioDataConfig.newPhysioData(addPP, _record.Id.Value, DateTime.Parse(dtPhysioData.Rows[i]["RecordTime"].ToString()), dtPhysioData.Rows[i]["Value"].ToString());
- addPP.AddPointItem(pdTemp, false);
+ addPP.AddPointItem(pdTemp, false);
}
}
}
}
- }
+ }
}
public class DataGridViewComboEditTipBoxColumn : DataGridViewComboBoxColumn
diff --git a/AIMS/OperationAanesthesia/frmFeesRecord.Designer.cs b/AIMS/OperationAanesthesia/frmFeesRecord.Designer.cs
index 536a33e..a9c7346 100644
--- a/AIMS/OperationAanesthesia/frmFeesRecord.Designer.cs
+++ b/AIMS/OperationAanesthesia/frmFeesRecord.Designer.cs
@@ -29,19 +29,19 @@
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFeesRecord));
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle();
- System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle();
+ System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle();
this.panel1 = new System.Windows.Forms.Panel();
this.panel5 = new System.Windows.Forms.Panel();
this.tabDrugs = new DevComponents.DotNetBar.SuperTabControl();
@@ -74,12 +74,13 @@
this.panelleft = new System.Windows.Forms.Panel();
this.TabSelDrugs = new DevComponents.DotNetBar.SuperTabControl();
this.panel2 = new System.Windows.Forms.Panel();
+ this.lblDrugs = new DevComponents.DotNetBar.LabelX();
this.TxtOperatorName = new DevComponents.DotNetBar.Controls.TextBoxX();
this.labelX2 = new DevComponents.DotNetBar.LabelX();
this.labelX1 = new DevComponents.DotNetBar.LabelX();
- this.lblDrugs = new DevComponents.DotNetBar.LabelX();
this.btnTemp = new DevComponents.DotNetBar.ButtonX();
this.btnTypeManager = new DevComponents.DotNetBar.ButtonX();
+ this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
this.btnDelete = new DevComponents.DotNetBar.ButtonX();
this.bynPrint = new DevComponents.DotNetBar.ButtonX();
this.btnSave = new DevComponents.DotNetBar.ButtonX();
@@ -213,18 +214,18 @@
this.dgvDrugs.AllowUserToAddRows = false;
this.dgvDrugs.AllowUserToResizeColumns = false;
this.dgvDrugs.AllowUserToResizeRows = false;
- dataGridViewCellStyle13.BackColor = System.Drawing.Color.MintCream;
- this.dgvDrugs.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle13;
+ 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;
- dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle14.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle14.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugs.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle14;
+ 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.dataGridViewTextBoxColumn1,
@@ -236,14 +237,14 @@
this.dataGridViewComboBoxColumn4,
this.dataGridViewTextBoxColumn6,
this.frees});
- dataGridViewCellStyle16.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle16.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle16.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle16.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle16.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle16.SelectionForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle16.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvDrugs.DefaultCellStyle = dataGridViewCellStyle16;
+ 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;
@@ -252,14 +253,14 @@
this.dgvDrugs.Margin = new System.Windows.Forms.Padding(0);
this.dgvDrugs.MultiSelect = false;
this.dgvDrugs.Name = "dgvDrugs";
- dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvDrugs.RowHeadersDefaultCellStyle = dataGridViewCellStyle17;
+ 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;
@@ -271,8 +272,8 @@
//
// dataGridViewTextBoxColumn1
//
- dataGridViewCellStyle15.ForeColor = System.Drawing.Color.Red;
- this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle15;
+ dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Red;
+ this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle3;
this.dataGridViewTextBoxColumn1.HeaderText = "ID";
this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1";
this.dataGridViewTextBoxColumn1.Visible = false;
@@ -350,18 +351,18 @@
this.dgvChargsRecord.AllowUserToAddRows = false;
this.dgvChargsRecord.AllowUserToResizeColumns = false;
this.dgvChargsRecord.AllowUserToResizeRows = false;
- dataGridViewCellStyle18.BackColor = System.Drawing.Color.MintCream;
- this.dgvChargsRecord.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle18;
+ dataGridViewCellStyle6.BackColor = System.Drawing.Color.MintCream;
+ this.dgvChargsRecord.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
this.dgvChargsRecord.BackgroundColor = System.Drawing.Color.White;
this.dgvChargsRecord.BorderStyle = System.Windows.Forms.BorderStyle.None;
- dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle19.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle19.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvChargsRecord.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle19;
+ dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvChargsRecord.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7;
this.dgvChargsRecord.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize;
this.dgvChargsRecord.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.dataGridViewTextBoxColumn4,
@@ -373,14 +374,14 @@
this.dataGridViewComboBoxColumn1,
this.dataGridViewTextBoxColumn28,
this.dataGridViewTextBoxColumn29});
- dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle21.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle21.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle21.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle21.SelectionForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvChargsRecord.DefaultCellStyle = dataGridViewCellStyle21;
+ dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvChargsRecord.DefaultCellStyle = dataGridViewCellStyle9;
this.dgvChargsRecord.Dock = System.Windows.Forms.DockStyle.Fill;
this.dgvChargsRecord.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter;
this.dgvChargsRecord.EnableHeadersVisualStyles = false;
@@ -389,14 +390,14 @@
this.dgvChargsRecord.Margin = new System.Windows.Forms.Padding(0);
this.dgvChargsRecord.MultiSelect = false;
this.dgvChargsRecord.Name = "dgvChargsRecord";
- dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Control;
- dataGridViewCellStyle22.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvChargsRecord.RowHeadersDefaultCellStyle = dataGridViewCellStyle22;
+ dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control;
+ dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvChargsRecord.RowHeadersDefaultCellStyle = dataGridViewCellStyle10;
this.dgvChargsRecord.RowHeadersVisible = false;
this.dgvChargsRecord.RowTemplate.Height = 25;
this.dgvChargsRecord.ShowCellErrors = false;
@@ -408,8 +409,8 @@
//
// dataGridViewTextBoxColumn4
//
- dataGridViewCellStyle20.ForeColor = System.Drawing.Color.Red;
- this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle20;
+ dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Red;
+ this.dataGridViewTextBoxColumn4.DefaultCellStyle = dataGridViewCellStyle8;
this.dataGridViewTextBoxColumn4.HeaderText = "ID";
this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4";
this.dataGridViewTextBoxColumn4.Visible = false;
@@ -539,6 +540,7 @@
this.panel2.Controls.Add(this.labelX1);
this.panel2.Controls.Add(this.btnTemp);
this.panel2.Controls.Add(this.btnTypeManager);
+ this.panel2.Controls.Add(this.buttonX1);
this.panel2.Controls.Add(this.btnDelete);
this.panel2.Controls.Add(this.bynPrint);
this.panel2.Controls.Add(this.btnSave);
@@ -548,6 +550,17 @@
this.panel2.Size = new System.Drawing.Size(1195, 42);
this.panel2.TabIndex = 0;
//
+ // lblDrugs
+ //
+ //
+ //
+ //
+ this.lblDrugs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.lblDrugs.Location = new System.Drawing.Point(208, 12);
+ this.lblDrugs.Name = "lblDrugs";
+ this.lblDrugs.Size = new System.Drawing.Size(483, 23);
+ this.lblDrugs.TabIndex = 13;
+ //
// TxtOperatorName
//
//
@@ -596,23 +609,12 @@
this.labelX1.TabIndex = 13;
this.labelX1.Text = "费用合计";
//
- // lblDrugs
- //
- //
- //
- //
- this.lblDrugs.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.lblDrugs.Location = new System.Drawing.Point(208, 12);
- this.lblDrugs.Name = "lblDrugs";
- this.lblDrugs.Size = new System.Drawing.Size(483, 23);
- this.lblDrugs.TabIndex = 13;
- //
// btnTemp
//
this.btnTemp.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
this.btnTemp.Location = new System.Drawing.Point(700, 6);
this.btnTemp.Name = "btnTemp";
- this.btnTemp.Size = new System.Drawing.Size(88, 30);
+ this.btnTemp.Size = new System.Drawing.Size(77, 30);
this.btnTemp.TabIndex = 12;
this.btnTemp.Text = "模板应用";
this.btnTemp.Click += new System.EventHandler(this.btnTemp_Click);
@@ -620,19 +622,29 @@
// btnTypeManager
//
this.btnTypeManager.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnTypeManager.Location = new System.Drawing.Point(794, 6);
+ this.btnTypeManager.Location = new System.Drawing.Point(786, 6);
this.btnTypeManager.Name = "btnTypeManager";
- this.btnTypeManager.Size = new System.Drawing.Size(95, 30);
+ this.btnTypeManager.Size = new System.Drawing.Size(77, 30);
this.btnTypeManager.TabIndex = 12;
this.btnTypeManager.Text = "类别维护";
this.btnTypeManager.Click += new System.EventHandler(this.btnTypeManager_Click);
//
+ // buttonX1
+ //
+ this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.buttonX1.Location = new System.Drawing.Point(872, 6);
+ this.buttonX1.Name = "buttonX1";
+ this.buttonX1.Size = new System.Drawing.Size(77, 30);
+ this.buttonX1.TabIndex = 2;
+ this.buttonX1.Text = "重新计算";
+ this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
+ //
// btnDelete
//
this.btnDelete.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnDelete.Location = new System.Drawing.Point(895, 6);
+ this.btnDelete.Location = new System.Drawing.Point(958, 6);
this.btnDelete.Name = "btnDelete";
- this.btnDelete.Size = new System.Drawing.Size(86, 30);
+ this.btnDelete.Size = new System.Drawing.Size(60, 30);
this.btnDelete.TabIndex = 2;
this.btnDelete.Text = "删除";
this.btnDelete.Click += new System.EventHandler(this.btnDelete_Click);
@@ -640,9 +652,9 @@
// bynPrint
//
this.bynPrint.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.bynPrint.Location = new System.Drawing.Point(1077, 6);
+ this.bynPrint.Location = new System.Drawing.Point(1096, 6);
this.bynPrint.Name = "bynPrint";
- this.bynPrint.Size = new System.Drawing.Size(86, 30);
+ this.bynPrint.Size = new System.Drawing.Size(60, 30);
this.bynPrint.TabIndex = 1;
this.bynPrint.Text = "打印";
this.bynPrint.Click += new System.EventHandler(this.bynPrint_Click);
@@ -650,9 +662,9 @@
// btnSave
//
this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
- this.btnSave.Location = new System.Drawing.Point(987, 6);
+ this.btnSave.Location = new System.Drawing.Point(1027, 6);
this.btnSave.Name = "btnSave";
- this.btnSave.Size = new System.Drawing.Size(86, 30);
+ this.btnSave.Size = new System.Drawing.Size(60, 30);
this.btnSave.TabIndex = 1;
this.btnSave.Text = "保存";
this.btnSave.Click += new System.EventHandler(this.btnSave_Click);
@@ -687,14 +699,14 @@
this.dgvYP.AllowUserToAddRows = false;
this.dgvYP.AllowUserToDeleteRows = false;
this.dgvYP.BackgroundColor = System.Drawing.Color.White;
- dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
- dataGridViewCellStyle23.BackColor = System.Drawing.Color.White;
- dataGridViewCellStyle23.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText;
- dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
- this.dgvYP.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23;
+ dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
+ dataGridViewCellStyle11.BackColor = System.Drawing.Color.White;
+ dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle11.ForeColor = System.Drawing.SystemColors.WindowText;
+ dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+ this.dgvYP.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle11;
this.dgvYP.ColumnHeadersHeight = 30;
this.dgvYP.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
this.id,
@@ -712,14 +724,14 @@
this.Channel,
this.Remark,
this.ZFBL});
- dataGridViewCellStyle24.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
- dataGridViewCellStyle24.BackColor = System.Drawing.SystemColors.Window;
- dataGridViewCellStyle24.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
- dataGridViewCellStyle24.ForeColor = System.Drawing.Color.Black;
- dataGridViewCellStyle24.SelectionBackColor = System.Drawing.SystemColors.Highlight;
- dataGridViewCellStyle24.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
- dataGridViewCellStyle24.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
- this.dgvYP.DefaultCellStyle = dataGridViewCellStyle24;
+ dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft;
+ dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Window;
+ dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ dataGridViewCellStyle12.ForeColor = System.Drawing.Color.Black;
+ dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight;
+ dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText;
+ dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.False;
+ this.dgvYP.DefaultCellStyle = dataGridViewCellStyle12;
this.dgvYP.EnableHeadersVisualStyles = false;
this.dgvYP.Location = new System.Drawing.Point(208, 203);
this.dgvYP.Name = "dgvYP";
@@ -1103,5 +1115,6 @@
private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29;
private DevComponents.DotNetBar.Controls.TextBoxX TxtOperatorName;
private DevComponents.DotNetBar.LabelX labelX2;
+ private DevComponents.DotNetBar.ButtonX buttonX1;
}
}
\ No newline at end of file
diff --git a/AIMS/OperationAanesthesia/frmFeesRecord.cs b/AIMS/OperationAanesthesia/frmFeesRecord.cs
index 4fbb3e8..cc9414f 100644
--- a/AIMS/OperationAanesthesia/frmFeesRecord.cs
+++ b/AIMS/OperationAanesthesia/frmFeesRecord.cs
@@ -1441,5 +1441,29 @@ namespace AIMS.PublicUI.UI
this.Focus();
excel.Close();
}
+
+ private void buttonX1_Click(object sender, EventArgs e)
+ {
+ FeesRecordList = BFeesRecord.Select(" FeeIsDrug =1 and FeeType='" + FeeType + "' and OperationRecordId=" + _record.Id, null, RecursiveType.None, 0);
+
+ if (FeesRecordList.Count > 0)
+ {
+ DialogResult dialogResult = MessageBox.Show("用药收费记录已经保存过 是否重新加载药品列表?", "系统提示", MessageBoxButtons.YesNo);
+ if (dialogResult == DialogResult.Yes)
+ {
+ dgvDrugs.Rows.Clear();
+ FeesRecordList = BFeesRecord.Select(" FeeType='" + FeeType + "' and OperationRecordId=" + _record.Id, null, RecursiveType.None, 0);
+ BFeesRecord.Delete(" FeeIsDrug =1 and FeeType='" + FeeType + "' and OperationRecordId=" + _record.Id, null);
+ LoadRecordDrugs();
+ }
+ }
+ else
+ {
+ dgvDrugs.Rows.Clear();
+ LoadRecordDrugs();
+ }
+ SetChargDrugPrice();
+ AddNewNullRows();
+ }
}
}
diff --git a/AIMS/OperationAanesthesia/frmFeesRecord.resx b/AIMS/OperationAanesthesia/frmFeesRecord.resx
index fa77211..5c537d8 100644
--- a/AIMS/OperationAanesthesia/frmFeesRecord.resx
+++ b/AIMS/OperationAanesthesia/frmFeesRecord.resx
@@ -146,7 +146,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAa
- CAAAAk1TRnQBSQFMAgEBAgEAAZgBBwGYAQcBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ
+ CAAAAk1TRnQBSQFMAgEBAgEAAagBBwGoAQcBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ
AwABFAMAAQEBAAEgBgABGS4AA1UBrwOAAf4DKwH8AysB/AGZAYsBQAH9AaEBkgEAAf8BkwGCAQAB/wGW
AYcBQAH9AaMBlAEAAf8BowGUAQAB/wGjAZQBAAH/AysB/ANgAej/AA0AAZMBggEAAf8DYgH2A20B9wNt
AfcDXAH4A4AB/gGXAYYBAAH/A20B9wHsAecB5AH/AewB5wHkAf8B7AHnAeQB/wNtAfcBkwGCAQAB//8A
diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord2.Designer.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord2.Designer.cs
new file mode 100644
index 0000000..c28b834
--- /dev/null
+++ b/AIMS/OperationAanesthesia/frmInstrumentRecord2.Designer.cs
@@ -0,0 +1,2041 @@
+namespace AIMS.OperationAanesthesia
+{
+ partial class frmInstrumentRecord2
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInstrumentRecord2));
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel14 = new System.Windows.Forms.Panel();
+ this.button9 = new System.Windows.Forms.Button();
+ this.button1 = new System.Windows.Forms.Button();
+ this.button8 = new System.Windows.Forms.Button();
+ this.button7 = new System.Windows.Forms.Button();
+ this.btnCancelIn = new System.Windows.Forms.Button();
+ this.btnCancelOperation = new System.Windows.Forms.Button();
+ this.btnBloodGasAnalysis = new System.Windows.Forms.Button();
+ this.button6 = new System.Windows.Forms.Button();
+ this.btnOperationInfo = new System.Windows.Forms.Button();
+ this.btnOutputLiquids = new System.Windows.Forms.Button();
+ this.btnAddEvents = new System.Windows.Forms.Button();
+ this.btnDrug = new System.Windows.Forms.Button();
+ 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();
+ this.btnsbwh = new System.Windows.Forms.Button();
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.panel5 = new System.Windows.Forms.Panel();
+ this.superTabMain = new DevComponents.DotNetBar.SuperTabControl();
+ this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.panelExZKZB = new DevComponents.DotNetBar.PanelEx();
+ this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem();
+ this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel();
+ this.spTabQXQDD2 = new DevComponents.DotNetBar.SuperTabItem();
+ this.panel7 = new System.Windows.Forms.Panel();
+ this.panel21 = new System.Windows.Forms.Panel();
+ this.plPrintBrowse = new System.Windows.Forms.Panel();
+ this.PanelSave = new System.Windows.Forms.Panel();
+ this.plPrint = new System.Windows.Forms.Panel();
+ this.plRefresh = new System.Windows.Forms.Panel();
+ this.lblRoom = new System.Windows.Forms.Label();
+ this.label22 = new System.Windows.Forms.Label();
+ this.labOperatorName = new System.Windows.Forms.Label();
+ this.label19 = new System.Windows.Forms.Label();
+ this.plTitleEventTime = new System.Windows.Forms.Panel();
+ this.panel13 = new System.Windows.Forms.Panel();
+ this.txtOutRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.picOutRoom = new System.Windows.Forms.PictureBox();
+ this.button5 = new System.Windows.Forms.Button();
+ this.panel10 = new System.Windows.Forms.Panel();
+ this.txtOperationBegin = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.picOpeBegin = new System.Windows.Forms.PictureBox();
+ this.button2 = new System.Windows.Forms.Button();
+ this.panel11 = new System.Windows.Forms.Panel();
+ this.txtOperationEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.picOpeEnd = new System.Windows.Forms.PictureBox();
+ this.button3 = new System.Windows.Forms.Button();
+ this.panel6 = new System.Windows.Forms.Panel();
+ this.txtInRoom = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
+ this.picInRoom = new System.Windows.Forms.PictureBox();
+ this.txtInRoom1 = new System.Windows.Forms.Button();
+ this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
+ this.toolTip1 = new System.Windows.Forms.ToolTip(this.components);
+ this.panel8 = new AIMS.PublicUI.UI.DrawPanel();
+ this.panelQX = new System.Windows.Forms.Panel();
+ this.plBottom = new System.Windows.Forms.Panel();
+ this.panelButton = new System.Windows.Forms.Panel();
+ this.panelQXList = new System.Windows.Forms.Panel();
+ this.plTital = new System.Windows.Forms.Panel();
+ this.panel15 = new System.Windows.Forms.Panel();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label12 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label14 = new System.Windows.Forms.Label();
+ this.label15 = new System.Windows.Forms.Label();
+ this.panel16 = new System.Windows.Forms.Panel();
+ this.label65 = new System.Windows.Forms.Label();
+ this.label57 = new System.Windows.Forms.Label();
+ this.label59 = new System.Windows.Forms.Label();
+ this.label66 = new System.Windows.Forms.Label();
+ this.label58 = new System.Windows.Forms.Label();
+ this.plTop = new System.Windows.Forms.Panel();
+ this.panel9 = new AIMS.PublicUI.UI.DrawPanel();
+ this.panelQX2 = new System.Windows.Forms.Panel();
+ this.panel12 = new System.Windows.Forms.Panel();
+ this.panel17 = new System.Windows.Forms.Panel();
+ this.panelQXList2 = new System.Windows.Forms.Panel();
+ this.panel19 = new System.Windows.Forms.Panel();
+ this.panel20 = new System.Windows.Forms.Panel();
+ this.label28 = new System.Windows.Forms.Label();
+ this.label29 = new System.Windows.Forms.Label();
+ this.label30 = new System.Windows.Forms.Label();
+ this.label31 = new System.Windows.Forms.Label();
+ this.label32 = new System.Windows.Forms.Label();
+ this.label33 = new System.Windows.Forms.Label();
+ this.panel22 = new System.Windows.Forms.Panel();
+ this.label34 = new System.Windows.Forms.Label();
+ this.label35 = new System.Windows.Forms.Label();
+ this.label36 = new System.Windows.Forms.Label();
+ this.label37 = new System.Windows.Forms.Label();
+ this.label38 = new System.Windows.Forms.Label();
+ this.label39 = new System.Windows.Forms.Label();
+ this.panel3.SuspendLayout();
+ this.panel14.SuspendLayout();
+ this.panel4.SuspendLayout();
+ this.panel1.SuspendLayout();
+ this.panel5.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.superTabMain)).BeginInit();
+ this.superTabMain.SuspendLayout();
+ this.superTabControlPanel1.SuspendLayout();
+ this.panelExZKZB.SuspendLayout();
+ this.superTabControlPanel2.SuspendLayout();
+ this.panel7.SuspendLayout();
+ this.panel21.SuspendLayout();
+ this.plTitleEventTime.SuspendLayout();
+ this.panel13.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txtOutRoom)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.picOutRoom)).BeginInit();
+ this.panel10.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txtOperationBegin)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.picOpeBegin)).BeginInit();
+ this.panel11.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txtOperationEnd)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.picOpeEnd)).BeginInit();
+ this.panel6.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).BeginInit();
+ ((System.ComponentModel.ISupportInitialize)(this.picInRoom)).BeginInit();
+ this.panel8.SuspendLayout();
+ this.panelQX.SuspendLayout();
+ this.plBottom.SuspendLayout();
+ this.plTital.SuspendLayout();
+ this.panel15.SuspendLayout();
+ this.panel16.SuspendLayout();
+ this.panel9.SuspendLayout();
+ this.panelQX2.SuspendLayout();
+ this.panel12.SuspendLayout();
+ this.panel19.SuspendLayout();
+ this.panel20.SuspendLayout();
+ this.panel22.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel2
+ //
+ this.panel2.BackColor = System.Drawing.Color.AliceBlue;
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel2.Location = new System.Drawing.Point(0, 0);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(1711, 10);
+ this.panel2.TabIndex = 1;
+ this.panel2.Visible = false;
+ //
+ // panel3
+ //
+ this.panel3.BackColor = System.Drawing.Color.SlateGray;
+ this.panel3.Controls.Add(this.panel14);
+ this.panel3.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel3.Font = new System.Drawing.Font("宋体", 12F);
+ this.panel3.Location = new System.Drawing.Point(0, 10);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(160, 931);
+ this.panel3.TabIndex = 2;
+ //
+ // panel14
+ //
+ this.panel14.BackColor = System.Drawing.Color.White;
+ this.panel14.Controls.Add(this.button9);
+ this.panel14.Controls.Add(this.button1);
+ this.panel14.Controls.Add(this.button8);
+ this.panel14.Controls.Add(this.button7);
+ this.panel14.Controls.Add(this.btnCancelIn);
+ this.panel14.Controls.Add(this.btnCancelOperation);
+ this.panel14.Controls.Add(this.btnBloodGasAnalysis);
+ this.panel14.Controls.Add(this.button6);
+ this.panel14.Controls.Add(this.btnOperationInfo);
+ this.panel14.Controls.Add(this.btnOutputLiquids);
+ this.panel14.Controls.Add(this.btnAddEvents);
+ this.panel14.Controls.Add(this.btnDrug);
+ this.panel14.Controls.Add(this.btnTemplate);
+ this.panel14.Controls.Add(this.btnSelectPatient);
+ this.panel14.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel14.Location = new System.Drawing.Point(0, 0);
+ this.panel14.Name = "panel14";
+ this.panel14.Size = new System.Drawing.Size(160, 931);
+ this.panel14.TabIndex = 5;
+ //
+ // button9
+ //
+ this.button9.BackColor = System.Drawing.Color.Transparent;
+ this.button9.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.button9.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button9.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button9.FlatAppearance.BorderSize = 0;
+ this.button9.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button9.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.button9.ForeColor = System.Drawing.Color.DimGray;
+ this.button9.Image = global::AIMS.Properties.Resources.手术申请;
+ this.button9.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button9.Location = new System.Drawing.Point(0, 650);
+ this.button9.Name = "button9";
+ this.button9.Size = new System.Drawing.Size(160, 50);
+ this.button9.TabIndex = 18;
+ this.button9.Text = " 默认";
+ this.button9.UseVisualStyleBackColor = false;
+ this.button9.Click += new System.EventHandler(this.button9_Click);
+ //
+ // button1
+ //
+ this.button1.BackColor = System.Drawing.Color.Transparent;
+ this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.button1.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button1.FlatAppearance.BorderSize = 0;
+ this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button1.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.button1.ForeColor = System.Drawing.Color.DimGray;
+ this.button1.Image = global::AIMS.Properties.Resources.添加数据;
+ this.button1.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button1.Location = new System.Drawing.Point(0, 600);
+ this.button1.Name = "button1";
+ this.button1.Size = new System.Drawing.Size(160, 50);
+ this.button1.TabIndex = 16;
+ this.button1.Text = " 新增器械";
+ this.button1.UseVisualStyleBackColor = false;
+ this.button1.Click += new System.EventHandler(this.button1_Click);
+ //
+ // button8
+ //
+ this.button8.BackColor = System.Drawing.Color.Transparent;
+ this.button8.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.button8.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button8.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button8.FlatAppearance.BorderSize = 0;
+ this.button8.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button8.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.button8.ForeColor = System.Drawing.Color.DimGray;
+ this.button8.Image = global::AIMS.Properties.Resources.系统设置;
+ this.button8.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button8.Location = new System.Drawing.Point(0, 550);
+ this.button8.Name = "button8";
+ this.button8.Size = new System.Drawing.Size(160, 50);
+ this.button8.TabIndex = 15;
+ this.button8.Text = " 系统设置";
+ this.button8.UseVisualStyleBackColor = false;
+ this.button8.Visible = false;
+ this.button8.Click += new System.EventHandler(this.toolStripMenuItem2_Click);
+ //
+ // button7
+ //
+ this.button7.BackColor = System.Drawing.Color.Transparent;
+ this.button7.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.button7.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button7.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button7.FlatAppearance.BorderSize = 0;
+ this.button7.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button7.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.button7.ForeColor = System.Drawing.Color.DimGray;
+ this.button7.Image = global::AIMS.Properties.Resources.文书编辑;
+ this.button7.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button7.Location = new System.Drawing.Point(0, 500);
+ this.button7.Name = "button7";
+ this.button7.Size = new System.Drawing.Size(160, 50);
+ this.button7.TabIndex = 14;
+ this.button7.Text = " 文书记录";
+ this.button7.UseVisualStyleBackColor = false;
+ this.button7.Click += new System.EventHandler(this.tsbExePlan_Click);
+ //
+ // btnCancelIn
+ //
+ this.btnCancelIn.BackColor = System.Drawing.Color.Transparent;
+ this.btnCancelIn.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnCancelIn.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnCancelIn.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnCancelIn.FlatAppearance.BorderSize = 0;
+ this.btnCancelIn.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnCancelIn.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnCancelIn.ForeColor = System.Drawing.Color.DimGray;
+ this.btnCancelIn.Image = global::AIMS.Properties.Resources.显示切换;
+ this.btnCancelIn.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnCancelIn.Location = new System.Drawing.Point(0, 450);
+ this.btnCancelIn.Name = "btnCancelIn";
+ this.btnCancelIn.Size = new System.Drawing.Size(160, 50);
+ this.btnCancelIn.TabIndex = 12;
+ this.btnCancelIn.Text = " 取消转入";
+ this.btnCancelIn.UseVisualStyleBackColor = false;
+ this.btnCancelIn.Visible = false;
+ this.btnCancelIn.Click += new System.EventHandler(this.btnCancelIn_Click);
+ //
+ // btnCancelOperation
+ //
+ this.btnCancelOperation.BackColor = System.Drawing.Color.Transparent;
+ this.btnCancelOperation.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnCancelOperation.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnCancelOperation.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnCancelOperation.FlatAppearance.BorderSize = 0;
+ this.btnCancelOperation.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnCancelOperation.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnCancelOperation.ForeColor = System.Drawing.Color.DimGray;
+ this.btnCancelOperation.Image = global::AIMS.Properties.Resources.取消手术;
+ this.btnCancelOperation.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnCancelOperation.Location = new System.Drawing.Point(0, 400);
+ this.btnCancelOperation.Name = "btnCancelOperation";
+ this.btnCancelOperation.Size = new System.Drawing.Size(160, 50);
+ this.btnCancelOperation.TabIndex = 11;
+ this.btnCancelOperation.Text = " 停止手术";
+ this.btnCancelOperation.UseVisualStyleBackColor = false;
+ this.btnCancelOperation.Visible = false;
+ this.btnCancelOperation.Click += new System.EventHandler(this.btnCancelOperation_Click);
+ //
+ // btnBloodGasAnalysis
+ //
+ this.btnBloodGasAnalysis.BackColor = System.Drawing.Color.Transparent;
+ this.btnBloodGasAnalysis.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnBloodGasAnalysis.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnBloodGasAnalysis.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnBloodGasAnalysis.FlatAppearance.BorderSize = 0;
+ this.btnBloodGasAnalysis.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnBloodGasAnalysis.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnBloodGasAnalysis.ForeColor = System.Drawing.Color.DimGray;
+ this.btnBloodGasAnalysis.Image = global::AIMS.Properties.Resources.血气分析;
+ this.btnBloodGasAnalysis.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnBloodGasAnalysis.Location = new System.Drawing.Point(0, 350);
+ this.btnBloodGasAnalysis.Name = "btnBloodGasAnalysis";
+ this.btnBloodGasAnalysis.Size = new System.Drawing.Size(160, 50);
+ this.btnBloodGasAnalysis.TabIndex = 8;
+ this.btnBloodGasAnalysis.Text = " 血气分析";
+ this.btnBloodGasAnalysis.UseVisualStyleBackColor = false;
+ this.btnBloodGasAnalysis.Visible = false;
+ this.btnBloodGasAnalysis.Click += new System.EventHandler(this.btnBloodGasAnalysis_Click);
+ //
+ // button6
+ //
+ this.button6.BackColor = System.Drawing.Color.Transparent;
+ this.button6.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.button6.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.button6.Dock = System.Windows.Forms.DockStyle.Top;
+ this.button6.FlatAppearance.BorderSize = 0;
+ this.button6.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button6.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.button6.ForeColor = System.Drawing.Color.DimGray;
+ this.button6.Image = global::AIMS.Properties.Resources.不良事件;
+ this.button6.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.button6.Location = new System.Drawing.Point(0, 300);
+ this.button6.Name = "button6";
+ this.button6.Size = new System.Drawing.Size(160, 50);
+ this.button6.TabIndex = 9;
+ this.button6.Text = " 质控指标";
+ this.button6.UseVisualStyleBackColor = false;
+ this.button6.Visible = false;
+ this.button6.Click += new System.EventHandler(this.button6_Click);
+ //
+ // btnOperationInfo
+ //
+ this.btnOperationInfo.BackColor = System.Drawing.Color.Transparent;
+ this.btnOperationInfo.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnOperationInfo.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnOperationInfo.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnOperationInfo.FlatAppearance.BorderSize = 0;
+ this.btnOperationInfo.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnOperationInfo.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnOperationInfo.ForeColor = System.Drawing.Color.DimGray;
+ this.btnOperationInfo.Image = global::AIMS.Properties.Resources.文书单;
+ this.btnOperationInfo.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnOperationInfo.Location = new System.Drawing.Point(0, 250);
+ this.btnOperationInfo.Name = "btnOperationInfo";
+ this.btnOperationInfo.Size = new System.Drawing.Size(160, 50);
+ this.btnOperationInfo.TabIndex = 4;
+ this.btnOperationInfo.Text = " 手术信息";
+ this.btnOperationInfo.UseVisualStyleBackColor = false;
+ this.btnOperationInfo.Click += new System.EventHandler(this.btnOperationInfo_Click);
+ //
+ // btnOutputLiquids
+ //
+ this.btnOutputLiquids.BackColor = System.Drawing.Color.Transparent;
+ this.btnOutputLiquids.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnOutputLiquids.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnOutputLiquids.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnOutputLiquids.FlatAppearance.BorderSize = 0;
+ this.btnOutputLiquids.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnOutputLiquids.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnOutputLiquids.ForeColor = System.Drawing.Color.DimGray;
+ this.btnOutputLiquids.Image = global::AIMS.Properties.Resources.快捷事件;
+ this.btnOutputLiquids.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnOutputLiquids.Location = new System.Drawing.Point(0, 200);
+ this.btnOutputLiquids.Name = "btnOutputLiquids";
+ this.btnOutputLiquids.Size = new System.Drawing.Size(160, 50);
+ this.btnOutputLiquids.TabIndex = 7;
+ this.btnOutputLiquids.Text = " 出量记录";
+ this.btnOutputLiquids.UseVisualStyleBackColor = false;
+ this.btnOutputLiquids.Visible = false;
+ this.btnOutputLiquids.Click += new System.EventHandler(this.btnOutputLiquids_Click);
+ //
+ // btnAddEvents
+ //
+ this.btnAddEvents.BackColor = System.Drawing.Color.Transparent;
+ this.btnAddEvents.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnAddEvents.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnAddEvents.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnAddEvents.FlatAppearance.BorderSize = 0;
+ this.btnAddEvents.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnAddEvents.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnAddEvents.ForeColor = System.Drawing.Color.DimGray;
+ this.btnAddEvents.Image = global::AIMS.Properties.Resources.事件记录;
+ this.btnAddEvents.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnAddEvents.Location = new System.Drawing.Point(0, 150);
+ this.btnAddEvents.Name = "btnAddEvents";
+ this.btnAddEvents.Size = new System.Drawing.Size(160, 50);
+ this.btnAddEvents.TabIndex = 6;
+ this.btnAddEvents.Text = " 事件记录";
+ this.btnAddEvents.UseVisualStyleBackColor = false;
+ this.btnAddEvents.Visible = false;
+ this.btnAddEvents.Click += new System.EventHandler(this.btnAddEvents_Click);
+ //
+ // btnDrug
+ //
+ this.btnDrug.BackColor = System.Drawing.Color.Transparent;
+ this.btnDrug.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnDrug.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnDrug.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnDrug.FlatAppearance.BorderSize = 0;
+ this.btnDrug.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnDrug.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnDrug.ForeColor = System.Drawing.Color.DimGray;
+ this.btnDrug.Image = global::AIMS.Properties.Resources.用药记录;
+ this.btnDrug.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnDrug.Location = new System.Drawing.Point(0, 100);
+ this.btnDrug.Name = "btnDrug";
+ this.btnDrug.Size = new System.Drawing.Size(160, 50);
+ this.btnDrug.TabIndex = 5;
+ this.btnDrug.Text = " 用药记录";
+ this.btnDrug.UseVisualStyleBackColor = false;
+ this.btnDrug.Visible = false;
+ this.btnDrug.Click += new System.EventHandler(this.btnDrug_Click);
+ //
+ // btnTemplate
+ //
+ this.btnTemplate.BackColor = System.Drawing.Color.Transparent;
+ this.btnTemplate.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnTemplate.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnTemplate.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnTemplate.FlatAppearance.BorderSize = 0;
+ this.btnTemplate.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnTemplate.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnTemplate.ForeColor = System.Drawing.Color.DimGray;
+ this.btnTemplate.Image = global::AIMS.Properties.Resources.模板应用;
+ this.btnTemplate.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnTemplate.Location = new System.Drawing.Point(0, 50);
+ this.btnTemplate.Name = "btnTemplate";
+ this.btnTemplate.Size = new System.Drawing.Size(160, 50);
+ this.btnTemplate.TabIndex = 10;
+ this.btnTemplate.Text = " 选器械包";
+ this.btnTemplate.UseVisualStyleBackColor = false;
+ this.btnTemplate.Click += new System.EventHandler(this.btnTemplate_Click);
+ //
+ // btnSelectPatient
+ //
+ this.btnSelectPatient.BackColor = System.Drawing.Color.Transparent;
+ this.btnSelectPatient.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
+ this.btnSelectPatient.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnSelectPatient.Dock = System.Windows.Forms.DockStyle.Top;
+ this.btnSelectPatient.FlatAppearance.BorderSize = 0;
+ this.btnSelectPatient.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnSelectPatient.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnSelectPatient.ForeColor = System.Drawing.Color.DimGray;
+ this.btnSelectPatient.Image = global::AIMS.Properties.Resources.患者列表;
+ this.btnSelectPatient.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnSelectPatient.Location = new System.Drawing.Point(0, 0);
+ this.btnSelectPatient.Name = "btnSelectPatient";
+ this.btnSelectPatient.Size = new System.Drawing.Size(160, 50);
+ this.btnSelectPatient.TabIndex = 3;
+ this.btnSelectPatient.Text = " 患者列表";
+ this.btnSelectPatient.UseVisualStyleBackColor = false;
+ this.btnSelectPatient.Click += new System.EventHandler(this.btnSelectPatient_Click);
+ //
+ // panel4
+ //
+ this.panel4.BackColor = System.Drawing.Color.White;
+ this.panel4.Controls.Add(this.lblSpo2);
+ this.panel4.Controls.Add(this.lblRESP);
+ this.panel4.Controls.Add(this.lblDia);
+ this.panel4.Controls.Add(this.lblPR);
+ this.panel4.Controls.Add(this.lblHR);
+ this.panel4.Controls.Add(this.label9);
+ this.panel4.Controls.Add(this.label8);
+ this.panel4.Controls.Add(this.label6);
+ this.panel4.Controls.Add(this.label10);
+ this.panel4.Controls.Add(this.label7);
+ this.panel4.Controls.Add(this.label5);
+ this.panel4.Controls.Add(this.label3);
+ this.panel4.Controls.Add(this.label2);
+ this.panel4.Controls.Add(this.label4);
+ this.panel4.Controls.Add(this.label1);
+ this.panel4.Controls.Add(this.btnChage);
+ this.panel4.Controls.Add(this.btnsjzx);
+ this.panel4.Controls.Add(this.btndptz);
+ this.panel4.Controls.Add(this.btnsbwh);
+ this.panel4.Dock = System.Windows.Forms.DockStyle.Right;
+ this.panel4.Font = new System.Drawing.Font("宋体", 10.5F);
+ this.panel4.Location = new System.Drawing.Point(1551, 10);
+ this.panel4.Name = "panel4";
+ 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;
+ this.btnChage.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnChage.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnChage.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.btnChage.FlatAppearance.BorderSize = 0;
+ this.btnChage.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnChage.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnChage.ForeColor = System.Drawing.Color.DimGray;
+ this.btnChage.Image = global::AIMS.Properties.Resources.麻醉医嘱;
+ this.btnChage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnChage.Location = new System.Drawing.Point(0, 731);
+ this.btnChage.Name = "btnChage";
+ this.btnChage.Size = new System.Drawing.Size(160, 50);
+ this.btnChage.TabIndex = 40;
+ this.btnChage.Text = " 收费记录";
+ this.btnChage.UseVisualStyleBackColor = false;
+ this.btnChage.Visible = false;
+ this.btnChage.Click += new System.EventHandler(this.btnChage_Click);
+ //
+ // btnsjzx
+ //
+ this.btnsjzx.BackColor = System.Drawing.Color.Transparent;
+ this.btnsjzx.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnsjzx.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnsjzx.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.btnsjzx.FlatAppearance.BorderSize = 0;
+ this.btnsjzx.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnsjzx.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnsjzx.ForeColor = System.Drawing.Color.DimGray;
+ this.btnsjzx.Image = global::AIMS.Properties.Resources.工作列表;
+ this.btnsjzx.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnsjzx.Location = new System.Drawing.Point(0, 781);
+ this.btnsjzx.Name = "btnsjzx";
+ this.btnsjzx.Size = new System.Drawing.Size(160, 50);
+ this.btnsjzx.TabIndex = 22;
+ this.btnsjzx.Text = " 数据中心";
+ this.btnsjzx.UseVisualStyleBackColor = false;
+ this.btnsjzx.Click += new System.EventHandler(this.btnsjzx_Click);
+ //
+ // btndptz
+ //
+ this.btndptz.BackColor = System.Drawing.Color.Transparent;
+ this.btndptz.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btndptz.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btndptz.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.btndptz.FlatAppearance.BorderSize = 0;
+ this.btndptz.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btndptz.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btndptz.ForeColor = System.Drawing.Color.DimGray;
+ this.btndptz.Image = global::AIMS.Properties.Resources.文书状态;
+ this.btndptz.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btndptz.Location = new System.Drawing.Point(0, 831);
+ this.btndptz.Name = "btndptz";
+ this.btndptz.Size = new System.Drawing.Size(160, 50);
+ this.btndptz.TabIndex = 19;
+ this.btndptz.Text = " 大屏通知";
+ this.btndptz.UseVisualStyleBackColor = false;
+ this.btndptz.Click += new System.EventHandler(this.btndptz_Click);
+ //
+ // btnsbwh
+ //
+ this.btnsbwh.BackColor = System.Drawing.Color.Transparent;
+ this.btnsbwh.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnsbwh.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnsbwh.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.btnsbwh.FlatAppearance.BorderSize = 0;
+ this.btnsbwh.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnsbwh.Font = new System.Drawing.Font("微软雅黑", 11F);
+ this.btnsbwh.ForeColor = System.Drawing.Color.DimGray;
+ this.btnsbwh.Image = global::AIMS.Properties.Resources.耗材管理;
+ this.btnsbwh.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft;
+ this.btnsbwh.Location = new System.Drawing.Point(0, 881);
+ this.btnsbwh.Name = "btnsbwh";
+ this.btnsbwh.Size = new System.Drawing.Size(160, 50);
+ this.btnsbwh.TabIndex = 16;
+ this.btnsbwh.Text = " 设备维护";
+ this.btnsbwh.UseVisualStyleBackColor = false;
+ this.btnsbwh.Click += new System.EventHandler(this.btnsbwh_Click);
+ //
+ // panel1
+ //
+ this.panel1.Controls.Add(this.panel5);
+ this.panel1.Controls.Add(this.panel4);
+ this.panel1.Controls.Add(this.panel3);
+ this.panel1.Controls.Add(this.panel2);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(1711, 941);
+ this.panel1.TabIndex = 0;
+ //
+ // panel5
+ //
+ this.panel5.BackColor = System.Drawing.SystemColors.Control;
+ this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel5.Controls.Add(this.superTabMain);
+ this.panel5.Controls.Add(this.panel7);
+ this.panel5.Controls.Add(this.plTitleEventTime);
+ this.panel5.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel5.Location = new System.Drawing.Point(160, 10);
+ this.panel5.Name = "panel5";
+ this.panel5.Size = new System.Drawing.Size(1391, 931);
+ this.panel5.TabIndex = 4;
+ //
+ // superTabMain
+ //
+ //
+ //
+ //
+ //
+ //
+ //
+ this.superTabMain.ControlBox.CloseBox.Name = "";
+ //
+ //
+ //
+ this.superTabMain.ControlBox.MenuBox.Name = "";
+ this.superTabMain.ControlBox.Name = "";
+ this.superTabMain.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.superTabMain.ControlBox.MenuBox,
+ this.superTabMain.ControlBox.CloseBox});
+ this.superTabMain.Controls.Add(this.superTabControlPanel1);
+ this.superTabMain.Controls.Add(this.superTabControlPanel2);
+ this.superTabMain.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabMain.Location = new System.Drawing.Point(0, 58);
+ this.superTabMain.Name = "superTabMain";
+ this.superTabMain.ReorderTabsEnabled = true;
+ this.superTabMain.SelectedTabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold);
+ this.superTabMain.SelectedTabIndex = 0;
+ this.superTabMain.Size = new System.Drawing.Size(1389, 831);
+ this.superTabMain.TabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.superTabMain.TabIndex = 14;
+ this.superTabMain.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] {
+ this.spTabQXQDD,
+ this.spTabQXQDD2});
+ this.superTabMain.SelectedTabChanged += new System.EventHandler(this.superTabMain_SelectedTabChanged);
+ //
+ // superTabControlPanel1
+ //
+ this.superTabControlPanel1.Controls.Add(this.panelExZKZB);
+ this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControlPanel1.Location = new System.Drawing.Point(0, 28);
+ this.superTabControlPanel1.Name = "superTabControlPanel1";
+ this.superTabControlPanel1.Size = new System.Drawing.Size(1389, 803);
+ this.superTabControlPanel1.TabIndex = 1;
+ this.superTabControlPanel1.TabItem = this.spTabQXQDD;
+ //
+ // panelExZKZB
+ //
+ this.panelExZKZB.CanvasColor = System.Drawing.SystemColors.Control;
+ this.panelExZKZB.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.panelExZKZB.Controls.Add(this.panel8);
+ this.panelExZKZB.DisabledBackColor = System.Drawing.Color.Empty;
+ this.panelExZKZB.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panelExZKZB.Location = new System.Drawing.Point(0, 0);
+ this.panelExZKZB.Name = "panelExZKZB";
+ this.panelExZKZB.Size = new System.Drawing.Size(1389, 803);
+ this.panelExZKZB.Style.Alignment = System.Drawing.StringAlignment.Center;
+ this.panelExZKZB.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.panelExZKZB.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.panelExZKZB.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine;
+ this.panelExZKZB.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder;
+ this.panelExZKZB.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText;
+ this.panelExZKZB.Style.GradientAngle = 90;
+ this.panelExZKZB.TabIndex = 0;
+ //
+ // spTabQXQDD
+ //
+ this.spTabQXQDD.AttachedControl = this.superTabControlPanel1;
+ this.spTabQXQDD.GlobalItem = false;
+ this.spTabQXQDD.Name = "spTabQXQDD";
+ this.spTabQXQDD.Text = "器械清点单";
+ //
+ // superTabControlPanel2
+ //
+ this.superTabControlPanel2.Controls.Add(this.panel9);
+ this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.superTabControlPanel2.Location = new System.Drawing.Point(0, 28);
+ this.superTabControlPanel2.Name = "superTabControlPanel2";
+ this.superTabControlPanel2.Size = new System.Drawing.Size(1389, 803);
+ this.superTabControlPanel2.TabIndex = 0;
+ this.superTabControlPanel2.TabItem = this.spTabQXQDD2;
+ //
+ // spTabQXQDD2
+ //
+ this.spTabQXQDD2.AttachedControl = this.superTabControlPanel2;
+ this.spTabQXQDD2.GlobalItem = false;
+ this.spTabQXQDD2.Name = "spTabQXQDD2";
+ this.spTabQXQDD2.Text = "器械清点单2";
+ this.spTabQXQDD2.Visible = false;
+ //
+ // panel7
+ //
+ this.panel7.BackColor = System.Drawing.SystemColors.Control;
+ this.panel7.Controls.Add(this.panel21);
+ this.panel7.Controls.Add(this.lblRoom);
+ this.panel7.Controls.Add(this.label22);
+ this.panel7.Controls.Add(this.labOperatorName);
+ this.panel7.Controls.Add(this.label19);
+ this.panel7.Dock = System.Windows.Forms.DockStyle.Bottom;
+ this.panel7.Location = new System.Drawing.Point(0, 889);
+ this.panel7.Name = "panel7";
+ this.panel7.Size = new System.Drawing.Size(1389, 40);
+ this.panel7.TabIndex = 1;
+ //
+ // panel21
+ //
+ this.panel21.Controls.Add(this.plPrintBrowse);
+ this.panel21.Controls.Add(this.PanelSave);
+ this.panel21.Controls.Add(this.plPrint);
+ this.panel21.Controls.Add(this.plRefresh);
+ this.panel21.Dock = System.Windows.Forms.DockStyle.Right;
+ this.panel21.Location = new System.Drawing.Point(1048, 0);
+ this.panel21.Name = "panel21";
+ this.panel21.Size = new System.Drawing.Size(341, 40);
+ this.panel21.TabIndex = 10;
+ //
+ // plPrintBrowse
+ //
+ this.plPrintBrowse.BackgroundImage = global::AIMS.Properties.Resources.图标_预览;
+ this.plPrintBrowse.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.plPrintBrowse.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.plPrintBrowse.Location = new System.Drawing.Point(205, 4);
+ this.plPrintBrowse.Name = "plPrintBrowse";
+ this.plPrintBrowse.Size = new System.Drawing.Size(28, 28);
+ this.plPrintBrowse.TabIndex = 4;
+ this.toolTip1.SetToolTip(this.plPrintBrowse, "预览");
+ this.plPrintBrowse.Visible = false;
+ this.plPrintBrowse.Click += new System.EventHandler(this.plPrintBrowse_Click);
+ //
+ // PanelSave
+ //
+ this.PanelSave.BackgroundImage = global::AIMS.Properties.Resources.图标_保存;
+ this.PanelSave.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.PanelSave.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.PanelSave.Location = new System.Drawing.Point(121, 4);
+ this.PanelSave.Name = "PanelSave";
+ this.PanelSave.Size = new System.Drawing.Size(28, 28);
+ this.PanelSave.TabIndex = 3;
+ this.toolTip1.SetToolTip(this.PanelSave, "保存");
+ this.PanelSave.Visible = false;
+ this.PanelSave.Click += new System.EventHandler(this.PanelSave_Click);
+ //
+ // plPrint
+ //
+ this.plPrint.BackgroundImage = global::AIMS.Properties.Resources.图标_打印;
+ this.plPrint.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.plPrint.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.plPrint.Location = new System.Drawing.Point(163, 4);
+ this.plPrint.Name = "plPrint";
+ this.plPrint.Size = new System.Drawing.Size(28, 28);
+ this.plPrint.TabIndex = 3;
+ this.toolTip1.SetToolTip(this.plPrint, "打印");
+ this.plPrint.Visible = false;
+ this.plPrint.Click += new System.EventHandler(this.plPrint_Click);
+ //
+ // plRefresh
+ //
+ this.plRefresh.BackgroundImage = global::AIMS.Properties.Resources.图标_刷新;
+ this.plRefresh.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.plRefresh.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.plRefresh.Location = new System.Drawing.Point(247, 4);
+ this.plRefresh.Name = "plRefresh";
+ this.plRefresh.Size = new System.Drawing.Size(28, 28);
+ this.plRefresh.TabIndex = 2;
+ this.toolTip1.SetToolTip(this.plRefresh, "刷新");
+ this.plRefresh.Visible = false;
+ this.plRefresh.Click += new System.EventHandler(this.plRefresh_Click);
+ //
+ // lblRoom
+ //
+ this.lblRoom.AutoSize = true;
+ this.lblRoom.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.lblRoom.Location = new System.Drawing.Point(317, 8);
+ this.lblRoom.Name = "lblRoom";
+ this.lblRoom.Size = new System.Drawing.Size(13, 20);
+ this.lblRoom.TabIndex = 9;
+ this.lblRoom.Text = " ";
+ //
+ // label22
+ //
+ 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(235, 8);
+ this.label22.Name = "label22";
+ this.label22.Size = new System.Drawing.Size(82, 20);
+ this.label22.TabIndex = 8;
+ this.label22.Text = "当前手术间:";
+ //
+ // labOperatorName
+ //
+ this.labOperatorName.AutoSize = true;
+ this.labOperatorName.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.labOperatorName.Location = new System.Drawing.Point(84, 8);
+ this.labOperatorName.Name = "labOperatorName";
+ this.labOperatorName.Size = new System.Drawing.Size(93, 20);
+ this.labOperatorName.TabIndex = 7;
+ this.labOperatorName.Text = "操作人员名称";
+ //
+ // label19
+ //
+ this.label19.AutoSize = true;
+ this.label19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label19.Location = new System.Drawing.Point(8, 8);
+ this.label19.Name = "label19";
+ this.label19.Size = new System.Drawing.Size(68, 20);
+ this.label19.TabIndex = 6;
+ this.label19.Text = "操作人员:";
+ //
+ // plTitleEventTime
+ //
+ this.plTitleEventTime.BackColor = System.Drawing.Color.White;
+ this.plTitleEventTime.Controls.Add(this.panel13);
+ this.plTitleEventTime.Controls.Add(this.panel10);
+ this.plTitleEventTime.Controls.Add(this.panel11);
+ this.plTitleEventTime.Controls.Add(this.panel6);
+ this.plTitleEventTime.Dock = System.Windows.Forms.DockStyle.Top;
+ this.plTitleEventTime.Location = new System.Drawing.Point(0, 0);
+ this.plTitleEventTime.Name = "plTitleEventTime";
+ this.plTitleEventTime.Size = new System.Drawing.Size(1389, 58);
+ this.plTitleEventTime.TabIndex = 0;
+ //
+ // panel13
+ //
+ this.panel13.BackColor = System.Drawing.Color.AliceBlue;
+ this.panel13.Controls.Add(this.txtOutRoom);
+ this.panel13.Controls.Add(this.picOutRoom);
+ this.panel13.Controls.Add(this.button5);
+ this.panel13.Location = new System.Drawing.Point(563, 3);
+ this.panel13.Name = "panel13";
+ this.panel13.Padding = new System.Windows.Forms.Padding(3, 0, 3, 6);
+ this.panel13.Size = new System.Drawing.Size(150, 53);
+ this.panel13.TabIndex = 51;
+ //
+ // txtOutRoom
+ //
+ this.txtOutRoom.AutoAdvance = true;
+ //
+ //
+ //
+ this.txtOutRoom.BackgroundStyle.Class = "DateTimeInputBackground";
+ this.txtOutRoom.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOutRoom.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.txtOutRoom.CustomFormat = "MM-ddHH:mm";
+ this.txtOutRoom.FocusHighlightColor = System.Drawing.Color.White;
+ this.txtOutRoom.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.txtOutRoom.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.txtOutRoom.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
+ this.txtOutRoom.IsPopupCalendarOpen = false;
+ this.txtOutRoom.Location = new System.Drawing.Point(42, 23);
+ this.txtOutRoom.Margin = new System.Windows.Forms.Padding(6, 0, 6, 6);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.txtOutRoom.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOutRoom.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
+ this.txtOutRoom.MonthCalendar.ClearButtonVisible = true;
+ //
+ //
+ //
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
+ this.txtOutRoom.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOutRoom.MonthCalendar.DaySize = new System.Drawing.Size(20, 15);
+ this.txtOutRoom.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ this.txtOutRoom.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
+ //
+ //
+ //
+ this.txtOutRoom.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.txtOutRoom.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
+ this.txtOutRoom.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.txtOutRoom.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOutRoom.Name = "txtOutRoom";
+ this.txtOutRoom.Size = new System.Drawing.Size(101, 23);
+ this.txtOutRoom.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.txtOutRoom.TabIndex = 43;
+ //
+ // picOutRoom
+ //
+ this.picOutRoom.BackColor = System.Drawing.Color.Transparent;
+ this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室;
+ this.picOutRoom.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picOutRoom.Location = new System.Drawing.Point(2, 10);
+ this.picOutRoom.Name = "picOutRoom";
+ this.picOutRoom.Size = new System.Drawing.Size(34, 33);
+ this.picOutRoom.TabIndex = 42;
+ this.picOutRoom.TabStop = false;
+ //
+ // button5
+ //
+ this.button5.BackColor = System.Drawing.Color.Transparent;
+ this.button5.FlatAppearance.BorderSize = 0;
+ this.button5.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button5.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.button5.ImageAlign = System.Drawing.ContentAlignment.BottomLeft;
+ this.button5.Location = new System.Drawing.Point(39, -3);
+ this.button5.Name = "button5";
+ this.button5.Size = new System.Drawing.Size(100, 25);
+ this.button5.TabIndex = 41;
+ this.button5.Tag = "";
+ this.button5.Text = "出手术间";
+ this.button5.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
+ this.button5.UseVisualStyleBackColor = false;
+ //
+ // panel10
+ //
+ this.panel10.BackColor = System.Drawing.Color.AliceBlue;
+ this.panel10.Controls.Add(this.txtOperationBegin);
+ this.panel10.Controls.Add(this.picOpeBegin);
+ this.panel10.Controls.Add(this.button2);
+ this.panel10.Location = new System.Drawing.Point(191, 3);
+ this.panel10.Name = "panel10";
+ this.panel10.Padding = new System.Windows.Forms.Padding(3, 0, 3, 6);
+ this.panel10.Size = new System.Drawing.Size(150, 53);
+ this.panel10.TabIndex = 51;
+ //
+ // txtOperationBegin
+ //
+ this.txtOperationBegin.AutoAdvance = true;
+ //
+ //
+ //
+ this.txtOperationBegin.BackgroundStyle.Class = "DateTimeInputBackground";
+ this.txtOperationBegin.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOperationBegin.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.txtOperationBegin.CustomFormat = "MM-ddHH:mm";
+ this.txtOperationBegin.FocusHighlightColor = System.Drawing.Color.White;
+ this.txtOperationBegin.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.txtOperationBegin.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.txtOperationBegin.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
+ this.txtOperationBegin.IsPopupCalendarOpen = false;
+ this.txtOperationBegin.Location = new System.Drawing.Point(42, 23);
+ this.txtOperationBegin.Margin = new System.Windows.Forms.Padding(6, 0, 6, 6);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.txtOperationBegin.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOperationBegin.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
+ this.txtOperationBegin.MonthCalendar.ClearButtonVisible = true;
+ //
+ //
+ //
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
+ this.txtOperationBegin.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOperationBegin.MonthCalendar.DaySize = new System.Drawing.Size(20, 15);
+ this.txtOperationBegin.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ this.txtOperationBegin.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
+ //
+ //
+ //
+ this.txtOperationBegin.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.txtOperationBegin.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
+ this.txtOperationBegin.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.txtOperationBegin.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOperationBegin.Name = "txtOperationBegin";
+ this.txtOperationBegin.Size = new System.Drawing.Size(101, 23);
+ this.txtOperationBegin.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.txtOperationBegin.TabIndex = 43;
+ //
+ // picOpeBegin
+ //
+ this.picOpeBegin.BackColor = System.Drawing.Color.Transparent;
+ this.picOpeBegin.BackgroundImage = global::AIMS.Properties.Resources.手术开始;
+ this.picOpeBegin.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picOpeBegin.Location = new System.Drawing.Point(2, 10);
+ this.picOpeBegin.Name = "picOpeBegin";
+ this.picOpeBegin.Size = new System.Drawing.Size(34, 33);
+ this.picOpeBegin.TabIndex = 42;
+ this.picOpeBegin.TabStop = false;
+ //
+ // button2
+ //
+ this.button2.BackColor = System.Drawing.Color.Transparent;
+ this.button2.FlatAppearance.BorderSize = 0;
+ this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button2.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.button2.ImageAlign = System.Drawing.ContentAlignment.BottomLeft;
+ this.button2.Location = new System.Drawing.Point(39, -3);
+ this.button2.Name = "button2";
+ this.button2.Size = new System.Drawing.Size(100, 25);
+ this.button2.TabIndex = 41;
+ this.button2.Tag = "";
+ this.button2.Text = "手术开始";
+ this.button2.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
+ this.button2.UseVisualStyleBackColor = false;
+ //
+ // panel11
+ //
+ this.panel11.BackColor = System.Drawing.Color.AliceBlue;
+ this.panel11.Controls.Add(this.txtOperationEnd);
+ this.panel11.Controls.Add(this.picOpeEnd);
+ this.panel11.Controls.Add(this.button3);
+ this.panel11.Location = new System.Drawing.Point(377, 3);
+ this.panel11.Name = "panel11";
+ this.panel11.Padding = new System.Windows.Forms.Padding(3, 0, 3, 6);
+ this.panel11.Size = new System.Drawing.Size(150, 53);
+ this.panel11.TabIndex = 50;
+ //
+ // txtOperationEnd
+ //
+ this.txtOperationEnd.AutoAdvance = true;
+ //
+ //
+ //
+ this.txtOperationEnd.BackgroundStyle.Class = "DateTimeInputBackground";
+ this.txtOperationEnd.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOperationEnd.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.txtOperationEnd.CustomFormat = "MM-ddHH:mm";
+ this.txtOperationEnd.FocusHighlightColor = System.Drawing.Color.White;
+ this.txtOperationEnd.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.txtOperationEnd.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.txtOperationEnd.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
+ this.txtOperationEnd.IsPopupCalendarOpen = false;
+ this.txtOperationEnd.Location = new System.Drawing.Point(42, 23);
+ this.txtOperationEnd.Margin = new System.Windows.Forms.Padding(6, 0, 6, 6);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.txtOperationEnd.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOperationEnd.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
+ this.txtOperationEnd.MonthCalendar.ClearButtonVisible = true;
+ //
+ //
+ //
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
+ this.txtOperationEnd.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOperationEnd.MonthCalendar.DaySize = new System.Drawing.Size(20, 15);
+ this.txtOperationEnd.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ this.txtOperationEnd.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
+ //
+ //
+ //
+ this.txtOperationEnd.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.txtOperationEnd.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
+ this.txtOperationEnd.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.txtOperationEnd.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtOperationEnd.Name = "txtOperationEnd";
+ this.txtOperationEnd.Size = new System.Drawing.Size(101, 23);
+ this.txtOperationEnd.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.txtOperationEnd.TabIndex = 43;
+ //
+ // picOpeEnd
+ //
+ this.picOpeEnd.BackColor = System.Drawing.Color.Transparent;
+ this.picOpeEnd.BackgroundImage = global::AIMS.Properties.Resources.手术结束;
+ this.picOpeEnd.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picOpeEnd.Location = new System.Drawing.Point(2, 10);
+ this.picOpeEnd.Name = "picOpeEnd";
+ this.picOpeEnd.Size = new System.Drawing.Size(34, 33);
+ this.picOpeEnd.TabIndex = 42;
+ this.picOpeEnd.TabStop = false;
+ //
+ // button3
+ //
+ this.button3.BackColor = System.Drawing.Color.Transparent;
+ this.button3.FlatAppearance.BorderSize = 0;
+ this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.button3.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.button3.ImageAlign = System.Drawing.ContentAlignment.BottomLeft;
+ this.button3.Location = new System.Drawing.Point(39, -3);
+ this.button3.Name = "button3";
+ this.button3.Size = new System.Drawing.Size(100, 25);
+ this.button3.TabIndex = 41;
+ this.button3.Tag = "";
+ this.button3.Text = "手术结束";
+ this.button3.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
+ this.button3.UseVisualStyleBackColor = false;
+ //
+ // panel6
+ //
+ this.panel6.BackColor = System.Drawing.Color.AliceBlue;
+ this.panel6.Controls.Add(this.txtInRoom);
+ this.panel6.Controls.Add(this.picInRoom);
+ this.panel6.Controls.Add(this.txtInRoom1);
+ this.panel6.Location = new System.Drawing.Point(5, 3);
+ this.panel6.Name = "panel6";
+ this.panel6.Padding = new System.Windows.Forms.Padding(3, 0, 3, 6);
+ this.panel6.Size = new System.Drawing.Size(150, 53);
+ this.panel6.TabIndex = 50;
+ //
+ // txtInRoom
+ //
+ this.txtInRoom.AutoAdvance = true;
+ //
+ //
+ //
+ this.txtInRoom.BackgroundStyle.Class = "DateTimeInputBackground";
+ this.txtInRoom.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtInRoom.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown;
+ this.txtInRoom.CustomFormat = "MM-ddHH:mm";
+ this.txtInRoom.FocusHighlightColor = System.Drawing.Color.White;
+ this.txtInRoom.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.txtInRoom.Format = DevComponents.Editors.eDateTimePickerFormat.Custom;
+ this.txtInRoom.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center;
+ this.txtInRoom.IsPopupCalendarOpen = false;
+ this.txtInRoom.Location = new System.Drawing.Point(42, 23);
+ this.txtInRoom.Margin = new System.Windows.Forms.Padding(6, 0, 6, 6);
+ //
+ //
+ //
+ //
+ //
+ //
+ this.txtInRoom.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtInRoom.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1);
+ this.txtInRoom.MonthCalendar.ClearButtonVisible = true;
+ //
+ //
+ //
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground2;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BackColorGradientAngle = 90;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarBackground;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BorderBottom = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BorderLeft = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BorderRight = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BorderTop = DevComponents.DotNetBar.eStyleBorderType.Solid;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BorderTopColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.BarDockedBorder;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.BorderTopWidth = 1;
+ this.txtInRoom.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtInRoom.MonthCalendar.DaySize = new System.Drawing.Size(20, 15);
+ this.txtInRoom.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0);
+ this.txtInRoom.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday;
+ //
+ //
+ //
+ this.txtInRoom.MonthCalendar.NavigationBackgroundStyle.BackColor2SchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2;
+ this.txtInRoom.MonthCalendar.NavigationBackgroundStyle.BackColorGradientAngle = 90;
+ this.txtInRoom.MonthCalendar.NavigationBackgroundStyle.BackColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground;
+ this.txtInRoom.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtInRoom.Name = "txtInRoom";
+ this.txtInRoom.Size = new System.Drawing.Size(101, 23);
+ this.txtInRoom.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.txtInRoom.TabIndex = 43;
+ //
+ // picInRoom
+ //
+ this.picInRoom.BackColor = System.Drawing.Color.Transparent;
+ this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室;
+ this.picInRoom.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Zoom;
+ this.picInRoom.Location = new System.Drawing.Point(2, 10);
+ this.picInRoom.Name = "picInRoom";
+ this.picInRoom.Size = new System.Drawing.Size(34, 33);
+ this.picInRoom.TabIndex = 42;
+ this.picInRoom.TabStop = false;
+ //
+ // txtInRoom1
+ //
+ this.txtInRoom1.BackColor = System.Drawing.Color.Transparent;
+ this.txtInRoom1.FlatAppearance.BorderSize = 0;
+ this.txtInRoom1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.txtInRoom1.Font = new System.Drawing.Font("微软雅黑", 10.5F);
+ this.txtInRoom1.ImageAlign = System.Drawing.ContentAlignment.BottomLeft;
+ this.txtInRoom1.Location = new System.Drawing.Point(39, -3);
+ this.txtInRoom1.Name = "txtInRoom1";
+ this.txtInRoom1.Size = new System.Drawing.Size(100, 25);
+ this.txtInRoom1.TabIndex = 41;
+ this.txtInRoom1.Tag = "进手术间";
+ this.txtInRoom1.Text = "进手术间";
+ this.txtInRoom1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageBeforeText;
+ this.txtInRoom1.UseVisualStyleBackColor = false;
+ //
+ // flowLayoutPanel1
+ //
+ this.flowLayoutPanel1.Location = new System.Drawing.Point(0, 441);
+ this.flowLayoutPanel1.Name = "flowLayoutPanel1";
+ this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71);
+ this.flowLayoutPanel1.TabIndex = 0;
+ //
+ // panel8
+ //
+ this.panel8.AutoScroll = true;
+ this.panel8.BackColor = System.Drawing.Color.White;
+ this.panel8.Controls.Add(this.panelQX);
+ this.panel8.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel8.Location = new System.Drawing.Point(0, 0);
+ this.panel8.Name = "panel8";
+ this.panel8.Size = new System.Drawing.Size(1389, 803);
+ this.panel8.TabIndex = 2;
+ this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll);
+ //
+ // panelQX
+ //
+ this.panelQX.BackColor = System.Drawing.Color.White;
+ this.panelQX.Controls.Add(this.plBottom);
+ this.panelQX.Controls.Add(this.plTop);
+ this.panelQX.Location = new System.Drawing.Point(217, 213);
+ this.panelQX.Margin = new System.Windows.Forms.Padding(0);
+ this.panelQX.Name = "panelQX";
+ this.panelQX.Size = new System.Drawing.Size(952, 562);
+ this.panelQX.TabIndex = 12;
+ this.panelQX.Visible = false;
+ //
+ // plBottom
+ //
+ this.plBottom.BackColor = System.Drawing.Color.White;
+ this.plBottom.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.plBottom.Controls.Add(this.panelButton);
+ this.plBottom.Controls.Add(this.panelQXList);
+ this.plBottom.Controls.Add(this.plTital);
+ this.plBottom.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.plBottom.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.plBottom.Location = new System.Drawing.Point(0, 2);
+ this.plBottom.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.plBottom.Name = "plBottom";
+ this.plBottom.Size = new System.Drawing.Size(952, 560);
+ this.plBottom.TabIndex = 1355;
+ //
+ // panelButton
+ //
+ this.panelButton.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panelButton.Location = new System.Drawing.Point(0, 425);
+ this.panelButton.Name = "panelButton";
+ this.panelButton.Size = new System.Drawing.Size(950, 141);
+ this.panelButton.TabIndex = 1351;
+ //
+ // panelQXList
+ //
+ this.panelQXList.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panelQXList.Location = new System.Drawing.Point(0, 47);
+ this.panelQXList.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.panelQXList.Name = "panelQXList";
+ this.panelQXList.Size = new System.Drawing.Size(950, 378);
+ this.panelQXList.TabIndex = 1350;
+ //
+ // plTital
+ //
+ this.plTital.BackColor = System.Drawing.SystemColors.Control;
+ this.plTital.Controls.Add(this.panel15);
+ this.plTital.Controls.Add(this.panel16);
+ this.plTital.Dock = System.Windows.Forms.DockStyle.Top;
+ this.plTital.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.plTital.Location = new System.Drawing.Point(0, 0);
+ this.plTital.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.plTital.Name = "plTital";
+ this.plTital.Size = new System.Drawing.Size(950, 47);
+ this.plTital.TabIndex = 1349;
+ //
+ // panel15
+ //
+ this.panel15.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel15.Controls.Add(this.label11);
+ this.panel15.Controls.Add(this.label12);
+ this.panel15.Controls.Add(this.label13);
+ this.panel15.Controls.Add(this.label14);
+ this.panel15.Controls.Add(this.label15);
+ this.panel15.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel15.Location = new System.Drawing.Point(410, 0);
+ this.panel15.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.panel15.Name = "panel15";
+ this.panel15.Size = new System.Drawing.Size(410, 47);
+ this.panel15.TabIndex = 13;
+ //
+ // label11
+ //
+ this.label11.AutoSize = true;
+ this.label11.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label11.Location = new System.Drawing.Point(42, 5);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(32, 34);
+ this.label11.TabIndex = 9;
+ this.label11.Text = "器械\r\n名称";
+ //
+ // label12
+ //
+ this.label12.AutoSize = true;
+ this.label12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label12.Location = new System.Drawing.Point(140, 5);
+ this.label12.Margin = new System.Windows.Forms.Padding(0);
+ this.label12.Name = "label12";
+ this.label12.Size = new System.Drawing.Size(32, 34);
+ this.label12.TabIndex = 10;
+ this.label12.Text = "术前\r\n清点";
+ this.label12.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label13
+ //
+ this.label13.AutoSize = true;
+ this.label13.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label13.Location = new System.Drawing.Point(208, 5);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(32, 34);
+ this.label13.TabIndex = 12;
+ this.label13.Text = "术中\r\n加数";
+ //
+ // label14
+ //
+ this.label14.AutoSize = true;
+ this.label14.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label14.Location = new System.Drawing.Point(276, 5);
+ this.label14.Margin = new System.Windows.Forms.Padding(0);
+ this.label14.Name = "label14";
+ this.label14.Size = new System.Drawing.Size(32, 34);
+ this.label14.TabIndex = 8;
+ this.label14.Text = "关体\r\n腔前";
+ //
+ // label15
+ //
+ this.label15.AutoSize = true;
+ this.label15.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label15.Location = new System.Drawing.Point(344, 5);
+ this.label15.Name = "label15";
+ this.label15.Size = new System.Drawing.Size(32, 34);
+ this.label15.TabIndex = 11;
+ this.label15.Text = "关体\r\n腔后";
+ //
+ // panel16
+ //
+ this.panel16.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel16.Controls.Add(this.label65);
+ this.panel16.Controls.Add(this.label57);
+ this.panel16.Controls.Add(this.label59);
+ this.panel16.Controls.Add(this.label66);
+ this.panel16.Controls.Add(this.label58);
+ this.panel16.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel16.Location = new System.Drawing.Point(0, 0);
+ this.panel16.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.panel16.Name = "panel16";
+ this.panel16.Size = new System.Drawing.Size(410, 47);
+ this.panel16.TabIndex = 11;
+ //
+ // label65
+ //
+ this.label65.AutoSize = true;
+ this.label65.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label65.Location = new System.Drawing.Point(46, 5);
+ this.label65.Name = "label65";
+ this.label65.Size = new System.Drawing.Size(32, 34);
+ this.label65.TabIndex = 9;
+ this.label65.Text = "器械\r\n名称";
+ //
+ // label57
+ //
+ this.label57.AutoSize = true;
+ this.label57.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label57.Location = new System.Drawing.Point(139, 5);
+ this.label57.Margin = new System.Windows.Forms.Padding(0);
+ this.label57.Name = "label57";
+ this.label57.Size = new System.Drawing.Size(32, 34);
+ this.label57.TabIndex = 10;
+ this.label57.Text = "术前\r\n清点";
+ this.label57.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label59
+ //
+ this.label59.AutoSize = true;
+ this.label59.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label59.Location = new System.Drawing.Point(277, 5);
+ this.label59.Margin = new System.Windows.Forms.Padding(0);
+ this.label59.Name = "label59";
+ this.label59.Size = new System.Drawing.Size(32, 34);
+ this.label59.TabIndex = 8;
+ this.label59.Text = "关体\r\n腔前";
+ //
+ // label66
+ //
+ this.label66.AutoSize = true;
+ this.label66.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label66.Location = new System.Drawing.Point(346, 5);
+ this.label66.Name = "label66";
+ this.label66.Size = new System.Drawing.Size(32, 34);
+ this.label66.TabIndex = 11;
+ this.label66.Text = "关体\r\n腔后";
+ //
+ // label58
+ //
+ this.label58.AutoSize = true;
+ this.label58.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label58.Location = new System.Drawing.Point(208, 5);
+ this.label58.Name = "label58";
+ this.label58.Size = new System.Drawing.Size(32, 34);
+ this.label58.TabIndex = 12;
+ this.label58.Text = "术中\r\n加数";
+ //
+ // plTop
+ //
+ this.plTop.BackColor = System.Drawing.Color.White;
+ this.plTop.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.plTop.Dock = System.Windows.Forms.DockStyle.Top;
+ this.plTop.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.plTop.Location = new System.Drawing.Point(0, 0);
+ this.plTop.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.plTop.Name = "plTop";
+ this.plTop.Size = new System.Drawing.Size(952, 2);
+ this.plTop.TabIndex = 22;
+ //
+ // panel9
+ //
+ this.panel9.AutoScroll = true;
+ this.panel9.BackColor = System.Drawing.Color.White;
+ this.panel9.Controls.Add(this.panelQX2);
+ this.panel9.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel9.Location = new System.Drawing.Point(0, 0);
+ this.panel9.Name = "panel9";
+ this.panel9.Size = new System.Drawing.Size(1389, 803);
+ this.panel9.TabIndex = 3;
+ //
+ // panelQX2
+ //
+ this.panelQX2.BackColor = System.Drawing.Color.White;
+ this.panelQX2.Controls.Add(this.panel12);
+ this.panelQX2.Location = new System.Drawing.Point(39, 54);
+ this.panelQX2.Margin = new System.Windows.Forms.Padding(0);
+ this.panelQX2.Name = "panelQX2";
+ this.panelQX2.Size = new System.Drawing.Size(952, 650);
+ this.panelQX2.TabIndex = 12;
+ this.panelQX2.Visible = false;
+ //
+ // panel12
+ //
+ this.panel12.BackColor = System.Drawing.Color.White;
+ this.panel12.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel12.Controls.Add(this.panel17);
+ this.panel12.Controls.Add(this.panelQXList2);
+ this.panel12.Controls.Add(this.panel19);
+ this.panel12.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel12.Location = new System.Drawing.Point(0, 0);
+ this.panel12.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.panel12.Name = "panel12";
+ this.panel12.Size = new System.Drawing.Size(952, 650);
+ this.panel12.TabIndex = 1355;
+ //
+ // panel17
+ //
+ this.panel17.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel17.Location = new System.Drawing.Point(0, 425);
+ this.panel17.Name = "panel17";
+ this.panel17.Size = new System.Drawing.Size(950, 149);
+ this.panel17.TabIndex = 1351;
+ //
+ // panelQXList2
+ //
+ this.panelQXList2.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panelQXList2.Location = new System.Drawing.Point(0, 47);
+ this.panelQXList2.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.panelQXList2.Name = "panelQXList2";
+ this.panelQXList2.Size = new System.Drawing.Size(950, 378);
+ this.panelQXList2.TabIndex = 1350;
+ //
+ // panel19
+ //
+ this.panel19.BackColor = System.Drawing.SystemColors.Control;
+ this.panel19.Controls.Add(this.panel20);
+ this.panel19.Controls.Add(this.panel22);
+ this.panel19.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.panel19.Location = new System.Drawing.Point(0, 0);
+ this.panel19.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.panel19.Name = "panel19";
+ this.panel19.Size = new System.Drawing.Size(950, 47);
+ this.panel19.TabIndex = 1349;
+ //
+ // panel20
+ //
+ this.panel20.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel20.Controls.Add(this.label28);
+ this.panel20.Controls.Add(this.label29);
+ this.panel20.Controls.Add(this.label30);
+ this.panel20.Controls.Add(this.label31);
+ this.panel20.Controls.Add(this.label32);
+ this.panel20.Controls.Add(this.label33);
+ this.panel20.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel20.Location = new System.Drawing.Point(477, 0);
+ this.panel20.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.panel20.Name = "panel20";
+ this.panel20.Size = new System.Drawing.Size(473, 47);
+ this.panel20.TabIndex = 13;
+ //
+ // label28
+ //
+ this.label28.AutoSize = true;
+ this.label28.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label28.Location = new System.Drawing.Point(42, 5);
+ this.label28.Name = "label28";
+ this.label28.Size = new System.Drawing.Size(32, 34);
+ this.label28.TabIndex = 9;
+ this.label28.Text = "器械\r\n名称";
+ //
+ // label29
+ //
+ this.label29.AutoSize = true;
+ this.label29.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label29.Location = new System.Drawing.Point(140, 5);
+ this.label29.Margin = new System.Windows.Forms.Padding(0);
+ this.label29.Name = "label29";
+ this.label29.Size = new System.Drawing.Size(32, 34);
+ this.label29.TabIndex = 10;
+ this.label29.Text = "术前\r\n清点";
+ this.label29.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label30
+ //
+ this.label30.AutoSize = true;
+ this.label30.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label30.Location = new System.Drawing.Point(208, 5);
+ this.label30.Name = "label30";
+ this.label30.Size = new System.Drawing.Size(32, 34);
+ this.label30.TabIndex = 12;
+ this.label30.Text = "术中\r\n加数";
+ //
+ // label31
+ //
+ this.label31.AutoSize = true;
+ this.label31.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label31.Location = new System.Drawing.Point(276, 5);
+ this.label31.Margin = new System.Windows.Forms.Padding(0);
+ this.label31.Name = "label31";
+ this.label31.Size = new System.Drawing.Size(32, 34);
+ this.label31.TabIndex = 8;
+ this.label31.Text = "关体\r\n腔前";
+ //
+ // label32
+ //
+ this.label32.AutoSize = true;
+ this.label32.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label32.Location = new System.Drawing.Point(412, 5);
+ this.label32.Name = "label32";
+ this.label32.Size = new System.Drawing.Size(32, 34);
+ this.label32.TabIndex = 11;
+ this.label32.Text = "缝合\r\n皮后";
+ //
+ // label33
+ //
+ this.label33.AutoSize = true;
+ this.label33.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label33.Location = new System.Drawing.Point(344, 5);
+ this.label33.Name = "label33";
+ this.label33.Size = new System.Drawing.Size(32, 34);
+ this.label33.TabIndex = 11;
+ this.label33.Text = "关体\r\n腔后";
+ //
+ // panel22
+ //
+ this.panel22.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
+ this.panel22.Controls.Add(this.label34);
+ this.panel22.Controls.Add(this.label35);
+ this.panel22.Controls.Add(this.label36);
+ this.panel22.Controls.Add(this.label37);
+ this.panel22.Controls.Add(this.label38);
+ this.panel22.Controls.Add(this.label39);
+ this.panel22.Dock = System.Windows.Forms.DockStyle.Left;
+ this.panel22.Location = new System.Drawing.Point(0, 0);
+ this.panel22.Margin = new System.Windows.Forms.Padding(3, 4, 3, 4);
+ this.panel22.Name = "panel22";
+ this.panel22.Size = new System.Drawing.Size(477, 47);
+ this.panel22.TabIndex = 11;
+ //
+ // label34
+ //
+ this.label34.AutoSize = true;
+ this.label34.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label34.Location = new System.Drawing.Point(46, 5);
+ this.label34.Name = "label34";
+ this.label34.Size = new System.Drawing.Size(32, 34);
+ this.label34.TabIndex = 9;
+ this.label34.Text = "器械\r\n名称";
+ //
+ // label35
+ //
+ this.label35.AutoSize = true;
+ this.label35.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label35.Location = new System.Drawing.Point(139, 5);
+ this.label35.Margin = new System.Windows.Forms.Padding(0);
+ this.label35.Name = "label35";
+ this.label35.Size = new System.Drawing.Size(32, 34);
+ this.label35.TabIndex = 10;
+ this.label35.Text = "术前\r\n清点";
+ this.label35.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
+ //
+ // label36
+ //
+ this.label36.AutoSize = true;
+ this.label36.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label36.Location = new System.Drawing.Point(277, 5);
+ this.label36.Margin = new System.Windows.Forms.Padding(0);
+ this.label36.Name = "label36";
+ this.label36.Size = new System.Drawing.Size(32, 34);
+ this.label36.TabIndex = 8;
+ this.label36.Text = "关体\r\n腔前";
+ //
+ // label37
+ //
+ this.label37.AutoSize = true;
+ this.label37.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label37.Location = new System.Drawing.Point(415, 5);
+ this.label37.Name = "label37";
+ this.label37.Size = new System.Drawing.Size(32, 34);
+ this.label37.TabIndex = 11;
+ this.label37.Text = "缝合\r\n皮后";
+ //
+ // label38
+ //
+ this.label38.AutoSize = true;
+ this.label38.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label38.Location = new System.Drawing.Point(346, 5);
+ this.label38.Name = "label38";
+ this.label38.Size = new System.Drawing.Size(32, 34);
+ this.label38.TabIndex = 11;
+ this.label38.Text = "关体\r\n腔后";
+ //
+ // label39
+ //
+ this.label39.AutoSize = true;
+ this.label39.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label39.Location = new System.Drawing.Point(208, 5);
+ this.label39.Name = "label39";
+ this.label39.Size = new System.Drawing.Size(32, 34);
+ this.label39.TabIndex = 12;
+ this.label39.Text = "术中\r\n加数";
+ //
+ // frmInstrumentRecord2
+ //
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None;
+ this.ClientSize = new System.Drawing.Size(1711, 941);
+ this.Controls.Add(this.panel1);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.Name = "frmInstrumentRecord2";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "器械清点单";
+ this.WindowState = System.Windows.Forms.FormWindowState.Maximized;
+ this.Load += new System.EventHandler(this.frmAnasRecordInstrument_Load);
+ this.VisibleChanged += new System.EventHandler(this.frmAnasRecordInstrument_VisibleChanged);
+ this.panel3.ResumeLayout(false);
+ this.panel14.ResumeLayout(false);
+ this.panel4.ResumeLayout(false);
+ this.panel4.PerformLayout();
+ this.panel1.ResumeLayout(false);
+ this.panel5.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.superTabMain)).EndInit();
+ this.superTabMain.ResumeLayout(false);
+ this.superTabControlPanel1.ResumeLayout(false);
+ this.panelExZKZB.ResumeLayout(false);
+ this.superTabControlPanel2.ResumeLayout(false);
+ this.panel7.ResumeLayout(false);
+ this.panel7.PerformLayout();
+ this.panel21.ResumeLayout(false);
+ this.plTitleEventTime.ResumeLayout(false);
+ this.panel13.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.txtOutRoom)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.picOutRoom)).EndInit();
+ this.panel10.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.txtOperationBegin)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.picOpeBegin)).EndInit();
+ this.panel11.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.txtOperationEnd)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.picOpeEnd)).EndInit();
+ this.panel6.ResumeLayout(false);
+ ((System.ComponentModel.ISupportInitialize)(this.txtInRoom)).EndInit();
+ ((System.ComponentModel.ISupportInitialize)(this.picInRoom)).EndInit();
+ this.panel8.ResumeLayout(false);
+ this.panelQX.ResumeLayout(false);
+ this.plBottom.ResumeLayout(false);
+ this.plTital.ResumeLayout(false);
+ this.panel15.ResumeLayout(false);
+ this.panel15.PerformLayout();
+ this.panel16.ResumeLayout(false);
+ this.panel16.PerformLayout();
+ this.panel9.ResumeLayout(false);
+ this.panelQX2.ResumeLayout(false);
+ this.panel12.ResumeLayout(false);
+ this.panel19.ResumeLayout(false);
+ this.panel20.ResumeLayout(false);
+ this.panel20.PerformLayout();
+ this.panel22.ResumeLayout(false);
+ this.panel22.PerformLayout();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Panel panel4;
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.Panel panel5;
+ private System.Windows.Forms.Panel panel7;
+ private System.Windows.Forms.Panel plTitleEventTime;
+ private PublicUI.UI.DrawPanel panel8;
+ private System.Windows.Forms.Label lblRoom;
+ private System.Windows.Forms.Label label22;
+ private System.Windows.Forms.Label labOperatorName;
+ private System.Windows.Forms.Label label19;
+ private System.Windows.Forms.Panel panel21;
+ private System.Windows.Forms.Panel plPrintBrowse;
+ private System.Windows.Forms.Panel plPrint;
+ private System.Windows.Forms.Panel plRefresh;
+ private System.Windows.Forms.Button btnSelectPatient;
+ private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
+ private System.Windows.Forms.Panel panel14;
+ private System.Windows.Forms.Button btnDrug;
+ private System.Windows.Forms.Button btnOperationInfo;
+ private System.Windows.Forms.Button btnAddEvents;
+ private System.Windows.Forms.Button btnTemplate;
+ private System.Windows.Forms.Button button6;
+ private System.Windows.Forms.Button btnBloodGasAnalysis;
+ private System.Windows.Forms.Button btnOutputLiquids;
+ private System.Windows.Forms.Panel panel6;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput txtInRoom;
+ private System.Windows.Forms.PictureBox picInRoom;
+ private System.Windows.Forms.Button txtInRoom1;
+ private System.Windows.Forms.Panel panel10;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput txtOperationBegin;
+ private System.Windows.Forms.PictureBox picOpeBegin;
+ private System.Windows.Forms.Button button2;
+ private System.Windows.Forms.Panel panel13;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput txtOutRoom;
+ private System.Windows.Forms.PictureBox picOutRoom;
+ private System.Windows.Forms.Button button5;
+ private System.Windows.Forms.Panel panel11;
+ private DevComponents.Editors.DateTimeAdv.DateTimeInput txtOperationEnd;
+ private System.Windows.Forms.PictureBox picOpeEnd;
+ private System.Windows.Forms.Button button3;
+ private System.Windows.Forms.Button button8;
+ private System.Windows.Forms.Button button7;
+ private System.Windows.Forms.Button btnCancelIn;
+ private System.Windows.Forms.Button btnCancelOperation;
+ private System.Windows.Forms.Button btnsbwh;
+ private System.Windows.Forms.Button btndptz;
+ private System.Windows.Forms.Button btnsjzx;
+ private System.Windows.Forms.Panel panelQX;
+ private System.Windows.Forms.Panel plBottom;
+ private System.Windows.Forms.Panel panelQXList;
+ private System.Windows.Forms.Panel plTital;
+ private System.Windows.Forms.Panel panel15;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label12;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label14;
+ private System.Windows.Forms.Label label15;
+ private System.Windows.Forms.Panel panel16;
+ private System.Windows.Forms.Label label65;
+ private System.Windows.Forms.Label label57;
+ private System.Windows.Forms.Label label59;
+ private System.Windows.Forms.Label label66;
+ private System.Windows.Forms.Label label58;
+ private System.Windows.Forms.Panel plTop;
+ private System.Windows.Forms.Button button1;
+ private System.Windows.Forms.Panel PanelSave;
+ private DevComponents.DotNetBar.SuperTabControl superTabMain;
+ private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1;
+ private DevComponents.DotNetBar.PanelEx panelExZKZB;
+ private DevComponents.DotNetBar.SuperTabItem spTabQXQDD;
+ private System.Windows.Forms.Panel panelButton;
+ private System.Windows.Forms.Button button9;
+ private System.Windows.Forms.ToolTip toolTip1;
+ private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2;
+ private DevComponents.DotNetBar.SuperTabItem spTabQXQDD2;
+ private PublicUI.UI.DrawPanel panel9;
+ private System.Windows.Forms.Panel panelQX2;
+ private System.Windows.Forms.Panel panel12;
+ private System.Windows.Forms.Panel panel17;
+ private System.Windows.Forms.Panel panelQXList2;
+ private System.Windows.Forms.Panel panel19;
+ private System.Windows.Forms.Panel panel20;
+ private System.Windows.Forms.Label label28;
+ private System.Windows.Forms.Label label29;
+ private System.Windows.Forms.Label label30;
+ private System.Windows.Forms.Label label31;
+ private System.Windows.Forms.Label label32;
+ private System.Windows.Forms.Label label33;
+ private System.Windows.Forms.Panel panel22;
+ private System.Windows.Forms.Label label34;
+ private System.Windows.Forms.Label label35;
+ private System.Windows.Forms.Label label36;
+ private System.Windows.Forms.Label label37;
+ private System.Windows.Forms.Label label38;
+ private System.Windows.Forms.Label label39;
+ private System.Windows.Forms.Button btnChage;
+ private System.Windows.Forms.Label lblSpo2;
+ private System.Windows.Forms.Label lblRESP;
+ private System.Windows.Forms.Label lblDia;
+ private System.Windows.Forms.Label lblPR;
+ private System.Windows.Forms.Label lblHR;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label8;
+ private System.Windows.Forms.Label label6;
+ private System.Windows.Forms.Label label10;
+ private System.Windows.Forms.Label label7;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label label3;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.Label label4;
+ private System.Windows.Forms.Label label1;
+ }
+}
\ No newline at end of file
diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs b/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs
new file mode 100644
index 0000000..3eae79c
--- /dev/null
+++ b/AIMS/OperationAanesthesia/frmInstrumentRecord2.cs
@@ -0,0 +1,2164 @@
+using AIMS.DocManager;
+using AIMS.OperationFront.UI;
+using AIMS.OremrUserControl;
+using AIMS.PublicUI.UI;
+using AIMSBLL;
+using AIMSExtension;
+using AIMSModel;
+using DevComponents.Editors.DateTimeAdv;
+using DocumentManagement;
+using DrawGraph;
+using Newtonsoft.Json;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Drawing.Printing;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace AIMS.OperationAanesthesia
+{
+ public partial class frmInstrumentRecord2 : Form
+ {
+ #region 初始化
+ public OperationRecord _record;
+ public PatientRecord _Patient;
+ //public TemplateManage templateManage;
+ public AIMSModel.OperationRoom NowRoom;
+ private DataTable _appliance;
+ private DataTable _appliance2;
+ private List _applianceUseType;
+ private List _applianceUseType2;
+ public int PatientId = 0;
+ public int ApplyId = 0;
+ public int RecoverId = 1;
+ private System.Windows.Forms.Timer timerGetTextCollectorData;
+ public AIMSExtension.EditState State;
+ public bool isReadOnly = false;
+
+ public frmInstrumentRecord2()
+ {
+ InitializeComponent();
+ #region 时间轴事件
+ this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室;
+ this.picOpeBegin.BackgroundImage = global::AIMS.Properties.Resources.手术开始;
+ this.picOpeEnd.BackgroundImage = global::AIMS.Properties.Resources.手术结束;
+ this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室;
+ #endregion
+ //AIMSExtension.PublicMethod.SetLocalDateTime();
+ }
+
+ private void frmAnasRecordInstrument_Load(object sender, EventArgs e)
+ {
+ labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + " " + AIMSExtension.PublicMethod.OperatorName;
+ if (NowRoom != null) lblRoom.Text = NowRoom.Name;
+ //this.MaximizeBox = false;
+ this.MinimizeBox = false;
+
+ if (PublicMethod.OperatorNo == "admin" || PublicMethod.RoleName.Contains("护士收费记录"))
+ {
+ btnChage.Visible = true;
+ }
+ LoadAnesRescue();
+ }
+
+ #endregion
+
+ #region 上方按钮
+ ///
+ /// 手术特殊事件时间点处理事件
+ ///
+ ///
+ ///
+ public void txtDateTime_MouseDown(object sender, MouseEventArgs e)
+ {
+ if (PatientId == 0) return;
+ DateTimeInput tb = sender as DateTimeInput;
+ if (_record != null && _record.OutRoomTime != null)
+ {
+ if ((tb.Name == "txtBG" || tb.Name == "txtCG") && tb.Text.Trim() == "")
+ {
+ return;
+ }
+ }
+
+ if (tb.Text.Trim() == "" && tb.CustomFormat == " ")
+ {
+ tb.BackColor = Color.White;
+ SetPic(sender);
+ }
+ else
+ {
+ tb.CustomFormat = "HH:mm";
+ tb.ButtonDropDown.Visible = true;
+ }
+ }
+ private void txtDateTime_LostFocus(object sender, EventArgs e)
+ {
+ if (PatientId == 0) return;
+ DateTimeInput tb = sender as DateTimeInput;
+ if (tb.CustomFormat == "HH:mm")
+ {
+ if (tb.Name == "txtInRoom" || tb.Name == "txtOutRoom")
+ {
+ tb.CustomFormat = "MM-dd HH:mm";
+ }
+ tb.ButtonDropDown.Visible = false;
+ }
+ if (tb.Text.Trim() != "" && tb.Value.ToString() != tb.Tag.ToString())
+ {
+ try
+ {
+ SetPic(sender, tb.Value);
+ tb.BackColor = Color.White;
+ }
+ catch (Exception)
+ {
+ tb.Focus();
+ tb.Value = DateTime.Parse(tb.Tag.ToString());
+ return;
+ }
+ }
+ else
+ {
+ if (tb.Tag != null && tb.Tag.ToString() != "")
+ tb.Value = DateTime.Parse(tb.Tag.ToString());
+ }
+ }
+ private void dateTimePicker_KeyUp(object sender, KeyEventArgs e)
+ {
+ if (PatientId == 0) return;
+ DateTimeInput dtpak = (DateTimeInput)sender;
+ if (e.KeyCode == Keys.Delete || e.KeyCode == Keys.Back)
+ {
+ if (dtpak.CustomFormat != " " && dtpak.Tag != null)
+ {
+ try
+ {
+ SetPic((DateTimeInput)sender);
+ }
+ catch (Exception)
+ {
+ return;
+ }
+ }
+
+ }
+ }
+ ///
+ /// 特殊事件触发时设置图片
+ ///
+ /// 显示时间的控件
+ private void SetPic(Object obj)
+ {
+ DrawGraph.FactEvents Inevent = null;
+ DateTimeInput tb = obj as DateTimeInput;
+ DateTime nowtime = DateTime.Now;// getOpeMaxTime();
+ DateTime curTimeTemp = new DateTime(nowtime.Year, nowtime.Month, nowtime.Day, nowtime.Hour, nowtime.Minute, 0);
+ InsertOrUpdateEventTime(0, "txtInRoom", "入室", tb, curTimeTemp, ref Inevent);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
+ InsertOrUpdateEventTime(0, "txtOperationBegin", "手术开始", tb, curTimeTemp, ref Inevent);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
+ InsertOrUpdateEventTime(0, "txtOperationEnd", "手术结束", tb, curTimeTemp, ref Inevent);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
+ InsertOrUpdateEventTime(0, "txtOutRoom", "出室", tb, curTimeTemp, ref Inevent);
+
+ if (Inevent != null)
+ {
+ _record.FactEventsList.Add(Inevent);
+ DrawEvent();
+ }
+ }
+ ///
+ /// 特殊事件触发时设置图片
+ ///
+ /// 显示时间的控件
+ private void SetPic(Object obj, DateTime curTimeTemp)
+ {
+ DrawGraph.FactEvents Inevent = null;
+ DateTimeInput tb = obj as DateTimeInput;
+ curTimeTemp = new DateTime(curTimeTemp.Year, curTimeTemp.Month, curTimeTemp.Day, curTimeTemp.Hour, curTimeTemp.Minute, 0);
+ InsertOrUpdateEventTime(1, "txtInRoom", "入室", tb, curTimeTemp, ref Inevent);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
+ InsertOrUpdateEventTime(1, "txtOperationBegin", "手术开始", tb, curTimeTemp, ref Inevent);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
+ InsertOrUpdateEventTime(1, "txtOperationEnd", "手术结束", tb, curTimeTemp, ref Inevent);
+ curTimeTemp = curTimeTemp.AddSeconds(2);
+ InsertOrUpdateEventTime(1, "txtOutRoom", "出室", tb, curTimeTemp, ref Inevent);
+
+ if (Inevent != null)
+ {
+ DrawEvent();
+ }
+ }
+ ///
+ /// 特殊事件触发时设置图片
+ ///
+ /// 显示时间的控件
+ private void SetPic(DateTimeInput obj)
+ {
+ DrawGraph.FactEvents Inevent = null;
+ DateTimeInput tb = obj as DateTimeInput;
+ if (_record.StateName == "手术中")
+ {
+ DeleteEventTime("txtOperationBegin", "手术开始", tb, ref Inevent);
+ DeleteEventTime("txtOperationEnd", "手术结束", tb, ref Inevent);
+ DeleteEventTime("txtBG", "拔管", tb, ref Inevent);
+ }
+ else
+ {
+ MessageBox.Show("选择的事件不可删除 只可修改!");
+ }
+
+ if (Inevent != null)
+ {
+ tb.ButtonDropDown.Visible = false;
+ _record.FactEventsList.Remove(Inevent);
+ DrawEvent();
+ }
+ }
+ ///
+ /// 判断控件对应的事件 删除事件
+ ///
+ /// 事件对应的控件名称
+ /// 事件名称
+ /// 控件
+ private void DeleteEventTime(string EventTxtName, string EventName, DateTimeInput tb, ref DrawGraph.FactEvents Inevent)
+ {
+ if (tb.Name.Equals(EventTxtName))
+ {
+ List list = _record.FactEventsList.Where(c => c.EventName == EventName).ToList();
+ if (list.Count <= 0) return;
+ Inevent = list[0];
+ if (EventName == "入室" || EventName == "出室")
+ {
+ //PublicMethod.ShowMessage("该事件为主要事件 不可删除 只可修改!!");
+ tb.Value = Inevent.EventBeginTime.Value;
+ Inevent = null;
+ return;
+ }
+
+ BFactEvents.DeleteById(Inevent.Id.ToString());
+ //Inevent.clearAddObj(zgcAnaesRecord);
+ tb.CustomFormat = " ";
+ tb.Value = DateTime.Now;
+ tb.Tag = null;
+
+ if (Inevent != null && Inevent.EventName == "手术开始")
+ {
+ _record.OperationBeginTime = null;
+ this.picOpeBegin.BackgroundImage = global::AIMS.Properties.Resources.手术开始;
+ BOperationRecord.Update(" OperationBeginTime=null where Id=@id ", new AIMSModel.ParameterList("@id", _record.Id));
+ }
+ if (Inevent != null && Inevent.EventName == "手术结束")
+ {
+ _record.OperationEndTime = null;
+ this.picOpeEnd.BackgroundImage = global::AIMS.Properties.Resources.手术结束;
+ BOperationRecord.Update(" OperationEndTime=null where Id=@id ", new AIMSModel.ParameterList("@id", _record.Id));
+ }
+ }
+ }
+ ///
+ /// 判断控件对应的事件 插入事件
+ ///
+ /// 0插入 1更新
+ /// 事件对应的控件名称
+ /// 事件名称
+ /// 事件对应的对象时间
+ /// 控件
+ /// 事件时间
+ /// 事件对象
+ private void InsertOrUpdateEventTime(int state, string EventTxtName, string EventName, DateTimeInput tb, DateTime curTimeTemp, ref DrawGraph.FactEvents Inevent)
+ {
+ if (tb.Name.Equals(EventTxtName))
+ {
+ string messing = "";
+ bool timeistrue = true;
+ timeistrue = BOperationRecord.IfTimeisTrue(true, _record, EventName, curTimeTemp, ref messing);
+ if (_record.StateName != null && _record.StateName != "手术中")
+ {
+ if (messing != "")
+ {
+ MessageBox.Show(messing);
+ }
+ }
+ else
+ { timeistrue = true; }
+ if (EventName == "出室" && _record.StateName == "手术中" && state == 0)
+ {
+ if (GetOpeState(ref messing) == false)
+ {
+ if (messing != "") MessageBox.Show(messing, "系统提示");
+ if (messing == "请与手术信息选择手术分级!" || messing == "请与手术信息选择手术切口!")
+ btnOperationInfo_Click(null, null);
+ return;
+ }
+ }
+ if (timeistrue == false)
+ {
+ if (tb.Tag != null) tb.Value = DateTime.Parse(tb.Tag.ToString());
+ return;
+ }
+ if (EventName == "出室" && curTimeTemp.ToString("yyyy-MM-dd HH:mm") == _record.lastPageBegin.ToString("yyyy-MM-dd HH:mm"))
+ {
+ curTimeTemp = _record.lastPageBegin;
+ }
+ if (state != 1)
+ {
+ Inevent = BFactEvents.Insert(PatientId, EventName, curTimeTemp, curTimeTemp, RecoverId);
+ }
+ else
+ {
+ updateEventTime(EventName, curTimeTemp, ref Inevent);
+ }
+ tb.Value = curTimeTemp;
+ tb.Tag = curTimeTemp;
+
+ if (Inevent != null && Inevent.EventName == "入室" && _record.InRoomTime != Inevent.EventBeginTime)
+ {
+ _record.InRoomTime = Inevent.EventBeginTime;
+ this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室_select;
+ BOperationRecord.Update("InRoomTime=@InRoom where Id=@id ", new AIMSModel.ParameterList("@InRoom", _record.InRoomTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id));
+ }
+ if (Inevent != null && Inevent.EventName == "手术开始" && _record.OperationBeginTime != Inevent.EventBeginTime)
+ {
+ _record.OperationBeginTime = Inevent.EventBeginTime;
+ this.picOpeBegin.BackgroundImage = global::AIMS.Properties.Resources.手术开始_select;
+ BOperationRecord.Update("OperationBeginTime=@OperationBegin where Id=@id ", new AIMSModel.ParameterList("@OperationBegin", _record.OperationBeginTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id));
+ }
+ if (Inevent != null && Inevent.EventName == "手术结束" && _record.OperationEndTime != Inevent.EventBeginTime)
+ {
+ _record.OperationEndTime = Inevent.EventBeginTime;
+ this.picOpeEnd.BackgroundImage = global::AIMS.Properties.Resources.手术结束_select;
+ BOperationRecord.Update("OperationEndTime=@OperationEnd where Id=@id ", new AIMSModel.ParameterList("@OperationEnd", _record.OperationEndTime.Value.ToString("yyyy-MM-dd HH:mm:ss"), "@id", _record.Id));
+ }
+ if (Inevent != null && Inevent.EventName == "出室" && _record.OutRoomTime != Inevent.EventBeginTime)
+ {
+ _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));
+ }
+ }
+ }
+ ///
+ /// 修改事件时间
+ ///
+ ///
+ ///
+ public void updateEventTime(string eventName, DateTime dt, ref DrawGraph.FactEvents elist)
+ {
+ List list = _record.FactEventsList.Where(c => c.EventName == eventName).ToList();
+ if (list.Count <= 0) return;
+ elist = list[0];
+ if (elist.EventBeginTime != dt)
+ {
+ elist.EventBeginTime = dt;
+ elist.EventEndTime = dt;
+ BFactEvents.Update("EventBeginTime=@EventBeginTime,EventEndTime=@EventEndTime where id=@id ", new AIMSModel.ParameterList("@EventBeginTime", elist.EventBeginTime, "@EventEndTime", elist.EventEndTime, "@id", elist.Id));
+ }
+ }
+ #endregion
+
+ #region 下方按钮
+ private void panel8_Scroll(object sender, ScrollEventArgs e)
+ {
+ //templateManage.SetPYL();
+ }
+
+ private void plRefresh_Click(object sender, EventArgs e)
+ {
+ if (PatientId == 0) return;
+ //刷新到当前页
+ ReviewEvent();
+ }
+ #endregion
+
+ #region 左侧按钮
+ private void btnSelectPatient_Click(object sender, EventArgs e)
+ {
+ OperationAanesthesia.frmSelectPatientGoodsBill2 frmSelectPatient = new frmSelectPatientGoodsBill2();
+ frmSelectPatient.isMainOpen = true;
+ frmSelectPatient.tempfrmAnasRecord = this;
+ frmSelectPatient.FormClosed += new FormClosedEventHandler(frmSelectPatient_FormClosed);
+ frmSelectPatient.ShowDialog();
+
+ }
+ void frmSelectPatient_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ LoadAnesRescue();
+ }
+
+ private System.Windows.Forms.Timer timerLoadAnesRescue;
+
+ public void LoadAnesRescue()
+ {
+ //zgcAnaesRecord.Visible = false;
+ timerLoadAnesRescue = new System.Windows.Forms.Timer(components);
+ timerLoadAnesRescue.Enabled = true;//调试时设置为FALSE ,
+ timerLoadAnesRescue.Interval = 300;
+ timerLoadAnesRescue.Tick -= TimerLoadAnesRescue_Tick;
+ timerLoadAnesRescue.Tick += TimerLoadAnesRescue_Tick;
+ timerLoadAnesRescue.Start();
+ }
+ private void TimerLoadAnesRescue_Tick(object sender, EventArgs e)
+ {
+ timerLoadAnesRescue.Dispose();
+ if (PatientId > 0 && State == AIMSExtension.EditState.ADD)
+ {
+ try
+ {
+ HelperDB.DbHelperSQL.BeginTrans();
+ _record = new OperationRecord();
+ _record.OperationApplyId = ApplyId;
+ _record.PatientId = PatientId;
+ _record.RecoverId = RecoverId;
+ _record.Id = BOperationRecord.AddTitleTime(PatientId, ApplyId, RecoverId, 1, DateTime.Parse(DateTime.Now.ToString("yyyy-MM-dd HH:mm:00")), NowRoom.Id.Value);
+ HelperDB.DbHelperSQL.CommitTrans();
+ ClearTimeText();
+ btnSelectPatient.Enabled = false;
+
+ ucDocumentGoodsBill doc = new ucDocumentGoodsBill(77, 0, _Patient);// int.Parse(node.Tag.ToString())
+ doc.Parent = panel8;
+ doc.Dock = DockStyle.Fill;
+ doc.Show();
+ StartTimer();
+ }
+ catch
+ {
+ HelperDB.DbHelperSQL.RollbackTrans();
+ }
+ }
+ else if (PatientId > 0 && State == AIMSExtension.EditState.EDIT)
+ {
+ _record = new OperationRecord();
+ btnSelectPatient.Enabled = false; //清空记录点并重新加载
+ ClearTimeText();
+ //if (templateManage != null)
+ //{
+ // templateManage.ControlClear();
+ //}
+ //DrawAnasReordBill.IniDrawAnasReordBill4(_record, zgcAnaesRecord, ref templateManage);
+
+ _Patient = PatientRecord.GetPatientRecord(PatientId);
+ ucDocumentGoodsBill doc = new ucDocumentGoodsBill(77, 0, _Patient);// int.Parse(node.Tag.ToString())
+ doc.Parent = panel8;
+ doc.Dock = DockStyle.Fill;
+ doc.Show();
+ StartTimer();
+ }
+ else if (PatientId > 0 && State == AIMSExtension.EditState.BROWSE)
+ {
+ _record = new OperationRecord();
+ btnSelectPatient.Enabled = true;
+ btnCancelOperation.Enabled = false;
+ btnCancelIn.Enabled = false;
+ ClearTimeText();
+ //if (templateManage != null)
+ //{
+ // templateManage.ControlClear();
+ //}
+ //DrawAnasReordBill.IniDrawAnasReordBill4(_record, zgcAnaesRecord, ref templateManage);
+
+ _Patient = PatientRecord.GetPatientRecord(PatientId);
+ ucDocumentGoodsBill doc = new ucDocumentGoodsBill(77, 0, _Patient);// int.Parse(node.Tag.ToString())
+ doc.Parent = panel8;
+ doc.Dock = DockStyle.Fill;
+ doc.Show();
+ StartTimer();
+ }
+ //AbleEditPackObj ableEdit = templateManage.GetPackObjectOTag("InstrumentDataManage_AbleEditPackObj_40_OperationRecord_SpareTen");
+ Panel pan = new Panel();
+ if (pan != null)
+ {
+ this.panel8.Controls.Remove(this.panelQX);
+ panelQX.Visible = true;
+ panelQX.Dock = DockStyle.Fill;
+ pan.Controls.Add(panelQX);
+ //pan.Size = new System.Drawing.Size(templateManage.ZedControl.Width, (int)(templateManage.ZedControl.Height * 0.4));
+
+ panelQX2.Visible = true;
+ panelQX2.Size = new Size(panel9.Size.Width - 10, pan.Size.Height);
+ panelQX2.Location = new Point(pan.Location.X, 40);
+
+ }
+ plRefresh_Click(null, null);
+ if (_record.MedicalRecord != null && _record.MedicalRecord != "")
+ {
+ btnOperationInfo.Enabled = false;
+ btnOutputLiquids.Enabled = false;
+ btnDrug.Enabled = false;
+ btnAddEvents.Enabled = false;
+ button6.Enabled = false;
+ btnBloodGasAnalysis.Enabled = false;
+ txtInRoom.Enabled = false;
+ txtOperationBegin.Enabled = false;
+ txtOperationEnd.Enabled = false;
+ txtOutRoom.Enabled = false;
+ isReadOnly = true;
+ }
+
+ if (_record.AnesthesiaDoctor == null || _record.AnesthesiaDoctor == "")
+ {
+ txtInRoom.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
+ txtOutRoom.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
+ txtOperationBegin.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
+ txtOperationEnd.MouseDown += new MouseEventHandler(txtDateTime_MouseDown);
+
+ txtOperationBegin.KeyUp += new KeyEventHandler(dateTimePicker_KeyUp);
+ txtOperationEnd.KeyUp += new KeyEventHandler(dateTimePicker_KeyUp);
+
+ txtInRoom.LostFocus += new EventHandler(txtDateTime_LostFocus);
+ txtOutRoom.LostFocus += new EventHandler(txtDateTime_LostFocus);
+ txtOperationBegin.LostFocus += new EventHandler(txtDateTime_LostFocus);
+ txtOperationEnd.LostFocus += new EventHandler(txtDateTime_LostFocus);
+ }
+ //zgcAnaesRecord.Visible = true;
+
+ }
+
+ private void btnOperationInfo_Click(object sender, EventArgs e)
+ {
+ if (PatientId != 0)
+ {
+ AIMS.OperationAanesthesia.frmOperationInfoNew2 frmOperationInfo = new frmOperationInfoNew2();
+ frmOperationInfo._record = _record;
+ //frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click);
+ frmOperationInfo.ShowDialog();
+ }
+ else
+ {
+ MessageBox.Show("请选择患者");
+ }
+ }
+
+ private void btnDrug_Click(object sender, EventArgs e)
+ {
+ if (PatientId != 0)
+ {
+ PublicUI.UI.frmFactDrugNew frmFactDrug = new PublicUI.UI.frmFactDrugNew();
+ frmFactDrug._record = _record;
+ frmFactDrug.DrugTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
+ frmFactDrug.FormClosed += new FormClosedEventHandler(frmFactEventsNew_FormClosed);
+ frmFactDrug.ShowDialog();
+ }
+ else
+ {
+ MessageBox.Show("请选择患者");
+ }
+ }
+ private void btnAddEvents_Click(object sender, EventArgs e)
+ {
+ if (PatientId != 0)
+ {
+ PublicUI.UI.frmFactEventsNew frmFactEventsNew = new PublicUI.UI.frmFactEventsNew();
+ frmFactEventsNew._record = _record;
+ frmFactEventsNew.EventTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
+ frmFactEventsNew.EventParam += ReferEventDrugs;
+ frmFactEventsNew.ShowDialog();
+ }
+ else
+ {
+ MessageBox.Show("请选择患者");
+ }
+ }
+ private void btnOutputLiquids_Click(object sender, EventArgs e)
+ {
+ if (PatientId != 0)
+ {
+ PublicUI.UI.frmFactOutputLiquidsNew frmFactOutputLiquids = new PublicUI.UI.frmFactOutputLiquidsNew();
+ frmFactOutputLiquids._record = _record;
+ frmFactOutputLiquids.OutputLiquidTypeId = RecoverId; // 事件类型 1 麻醉单事件 2 麻醉恢复单
+ frmFactOutputLiquids.FormClosed += new FormClosedEventHandler(frmFactEventsNew_FormClosed);
+ frmFactOutputLiquids.ShowDialog();
+ }
+ else
+ {
+ MessageBox.Show("请选择患者");
+ }
+ }
+ private void button6_Click(object sender, EventArgs e)
+ {
+ frmAanesthesiaQuality frmAnaseDataQuality = new frmAanesthesiaQuality();
+ frmAnaseDataQuality._record = _record;
+ frmAnaseDataQuality.ShowDialog();
+ }
+ void frmFactEventsNew_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ plRefresh_Click(null, null);
+ }
+ private void btnCancelOperation_Click(object sender, EventArgs e)
+ {
+ if (PatientId == 0)
+ {
+ MessageBox.Show("请选择患者!");
+ return;
+ }
+ if (BOperationRecord.GetDataCount(_record.Id.Value, PatientId, RecoverId) > 0)
+ {
+ MessageBox.Show("清除数据在进行作废手术操作!");
+ return;
+ }
+ if (MessageBox.Show("确认要停止手术吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ try
+ {
+
+ HelperDB.DbHelperSQL.BeginTrans();
+ BOperationApply.UpdateApplyState(ApplyId, 11);
+ //BOperationRecord.DeleteOperationRecordData(PatientId, RecoverId);
+ BOperationRecord.UpdateState(PatientId, 1, 5);
+ HelperDB.DbHelperSQL.CommitTrans();
+
+ //ClearData();
+ this.Close();
+ }
+ catch
+ {
+ HelperDB.DbHelperSQL.RollbackTrans();
+ }
+ }
+ }
+ private void btnCancelIn_Click(object sender, EventArgs e)
+ {
+ if (PatientId == 0)
+ {
+ MessageBox.Show("请选择患者!");
+ return;
+ }
+ if (BOperationRecord.GetDataCount(_record.Id.Value, PatientId, RecoverId) > 0)
+ {
+ MessageBox.Show("清除数据在进行取消转入操作!");
+ return;
+ }
+ if (MessageBox.Show("确认要取消转入吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ try
+ {
+ HelperDB.DbHelperSQL.BeginTrans();
+ BOperationApply.UpdateApplyState(ApplyId, 5);
+ BOperationRecord.DeleteOperationRecordData(_record.Id.Value, PatientId, RecoverId);
+ HelperDB.DbHelperSQL.CommitTrans();
+
+ DisposeTimer();
+ //ClearData();
+ this.Close();
+ }
+ catch
+ {
+ HelperDB.DbHelperSQL.RollbackTrans();
+ }
+ }
+ }
+ private void btnTemplate_Click(object sender, EventArgs e)
+ {
+ if (superTabMain.SelectedTab.Name == "spTabQXQDD")
+ {
+ if (_applianceUseType == null)
+ _applianceUseType = new List();
+ frmSelectApplianceUseType ReturnApply = new frmSelectApplianceUseType();
+ ReturnApply._SelectApplianceUseType = _applianceUseType;
+ DialogResult ddr = ReturnApply.ShowDialog();
+ _appliance = ReturnApply._appliance;
+ if (ddr == System.Windows.Forms.DialogResult.OK && _appliance != null)
+ {
+ FullUcControlsToPanel(panelQXList, _appliance, _record.InstrumentList, ref i1, ref j1);
+ //if (_appliance.Rows.Count > 60)
+ // MessageBox.Show("超出打印数量!");
+ }
+ }
+ else
+ {
+ if (_applianceUseType2 == null)
+ _applianceUseType2 = new List();
+ frmSelectApplianceUseType ReturnApply = new frmSelectApplianceUseType();
+ ReturnApply._SelectApplianceUseType = _applianceUseType2;
+ DialogResult ddr = ReturnApply.ShowDialog();
+ _appliance2 = ReturnApply._appliance;
+ if (ddr == System.Windows.Forms.DialogResult.OK && _appliance2 != null)
+ {
+ FullUcControlsToPanel(panelQXList2, _appliance2, _record.InstrumentList2, ref i2, ref j2);
+ //if (_appliance.Rows.Count > 60)
+ // MessageBox.Show("超出打印数量!");
+ }
+ }
+ }
+ private void tsbExePlan_Click(object sender, EventArgs e)
+ {
+ if (PatientId == 0)
+ {
+ MessageBox.Show("请先选择患者!");
+ return;
+ }
+ if (_record.Applydiagnose == null || _record.Applydiagnose == "")
+ {
+ MessageBox.Show("请选择诊断后再填写文书!", "系统提示");
+ ModifyApply_Click(null, null);
+ return;
+ }
+ PatientRecord patient = PatientRecord.GetPatientRecord(PatientId);
+ frmDocument frmDocument = new frmDocument(patient);
+ frmDocument.StartPosition = FormStartPosition.CenterScreen;
+ frmDocument.WindowState = FormWindowState.Maximized;
+ frmDocument.ShowDialog();
+ }
+ void toolStripMenuItem2_Click(object sender, EventArgs e)
+ {
+
+ }
+ private void btnBloodGasAnalysis_Click(object sender, EventArgs e)
+ {
+ if (PatientId != 0)
+ {
+ frmBloodGasAnalysisNew frmFactBloodGasAnalysis = new frmBloodGasAnalysisNew();
+ frmFactBloodGasAnalysis._record = _record;
+ //frmFactBloodGasAnalysis.zgcAnaesRecord = zgcAnaesRecord;
+ frmFactBloodGasAnalysis.FormClosed += new FormClosedEventHandler(frmFactEventsNew_FormClosed);
+ frmFactBloodGasAnalysis.ShowDialog();
+ }
+ else
+ {
+ MessageBox.Show("请选择患者");
+ }
+ }
+ #endregion
+
+ #region 采集程序
+
+ public string szy;//舒张压
+ public string ssy;//收缩压
+ public DateTime? LastRespMonitorDataTime;
+ private void timerGetTextCollectorData_Tick(object sender, EventArgs e)
+ {
+ try
+ {
+ if (((TimeSpan)(DateTime.Now - _record.lastPageBegin)).TotalHours > 24 || NowRoom == null) return;
+ if (_record != null && _record.OutRoomTime != null && DateTime.Now > _record.OutRoomTime) return;
+ ShowMonitorDataToRight();
+ }
+ catch (Exception ex)
+ {
+ PublicMethod.WriteLog(ex);
+ }
+ }
+
+ private BackgroundWorker backgroundWorker1;
+ public void ShowMonitorDataToRight()
+ {
+ this.backgroundWorker1 = new BackgroundWorker();
+ this.backgroundWorker1.WorkerReportsProgress = true;
+ this.backgroundWorker1.WorkerSupportsCancellation = true;
+ this.backgroundWorker1.DoWork += new DoWorkEventHandler(this.backgroundWorker1_DoWork);
+ this.backgroundWorker1.RunWorkerCompleted += new RunWorkerCompletedEventHandler(this.backgroundWorker1_RunWorkerCompleted);
+ this.backgroundWorker1.RunWorkerAsync();
+ }
+ private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e)
+ {
+ BackgroundWorker worker = sender as BackgroundWorker;
+ List lists = DeviceCacheData.Select(" IPAddress='" + NowRoom.Ip + "' and UpdateTime>='" + DateTime.Now.AddSeconds(-3000) + "'");
+ e.Result = lists;
+ }
+ private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
+ {
+ List lists = e.Result as List;
+ if (lists != null && lists.Count > 0)
+ {
+ DeviceCacheData deviceCacheData = lists[0];
+ NowPhysioData nowPhysioData = JsonConvert.DeserializeObject(deviceCacheData.JsonData);
+
+ if (nowPhysioData.HR != null && nowPhysioData.HR.ToString() != string.Empty && nowPhysioData.HR.ToString() != "NaN" && nowPhysioData.HR.ToString() != "NULL")
+ {
+ double value = Double.Parse(nowPhysioData.HR.ToString());
+ lblHR.Text = value <= 0 ? "- -" : value.ToString();
+ }
+ if (nowPhysioData.Resp != null && nowPhysioData.Resp.ToString() != string.Empty && nowPhysioData.Resp.ToString() != "NaN" && nowPhysioData.Resp.ToString() != "NULL")
+ {
+ double value = Double.Parse(nowPhysioData.Resp.ToString());
+ lblRESP.Text = value <= 0 ? "- -" : value.ToString();
+ }
+ if (nowPhysioData.SPO2 != null && nowPhysioData.SPO2.ToString() != string.Empty && nowPhysioData.SPO2.ToString() != "NaN" && nowPhysioData.SPO2.ToString() != "NULL")
+ {
+ double value = Double.Parse(nowPhysioData.SPO2.ToString());
+ lblSpo2.Text = value <= 0 ? "- -" : value.ToString();
+ }
+ if (nowPhysioData.PR != null && nowPhysioData.PR.ToString() != string.Empty && nowPhysioData.PR.ToString() != "NaN" && nowPhysioData.PR.ToString() != "NULL")
+ {
+ double value = Double.Parse(nowPhysioData.PR.ToString());
+ lblPR.Text = value <= 0 ? "- -" : value.ToString();
+ }
+ if (nowPhysioData.Dia != null && nowPhysioData.Dia.ToString() != string.Empty && nowPhysioData.Dia.ToString() != "NaN" && nowPhysioData.Dia.ToString() != "NULL")
+ {
+ double value = Double.Parse(nowPhysioData.Dia.ToString());
+ szy = value <= 0 ? "" : value.ToString();
+ }
+ if (nowPhysioData.Sys != null && nowPhysioData.Sys.ToString() != string.Empty && nowPhysioData.Sys.ToString() != "NaN" && nowPhysioData.Sys.ToString() != "NULL")
+ {
+ double value = Double.Parse(nowPhysioData.Sys.ToString());
+ ssy = value <= 0 ? "" : value.ToString();
+ }
+ if (nowPhysioData.Dia_H != null && nowPhysioData.Dia_H.ToString() != string.Empty && nowPhysioData.Dia_H.ToString() != "NaN" && nowPhysioData.Dia_H.ToString() != "NULL")
+ {
+ double value = Double.Parse(nowPhysioData.Dia_H.ToString());
+ szy = value <= 0 ? "" : value.ToString();
+ }
+ if (nowPhysioData.Sys_H != null && nowPhysioData.Sys_H.ToString() != string.Empty && nowPhysioData.Sys_H.ToString() != "NaN" && nowPhysioData.Sys_H.ToString() != "NULL")
+ {
+ double value = Double.Parse(nowPhysioData.Sys_H.ToString());
+ ssy = value <= 0 ? "" : value.ToString();
+ }
+
+ string szyssy = ssy + "/" + szy;
+ if (szyssy != "/")
+ lblDia.Text = szyssy;
+ }
+ else
+ {
+ lblHR.Text = "--";
+ lblRESP.Text = "--";
+ lblSpo2.Text = "--";
+ lblPR.Text = "--";
+ lblDia.Text = "---/---";
+ lblHR.ForeColor = Color.Green;
+ lblRESP.ForeColor = Color.DarkOrange;
+ lblSpo2.ForeColor = Color.Cyan;
+ lblPR.ForeColor = Color.Green;
+ lblDia.ForeColor = Color.Red;
+ }
+ }
+
+ private void StartTimer()
+ {
+ if (timerGetTextCollectorData == null)
+ timerGetTextCollectorData = new System.Windows.Forms.Timer(components);
+ timerGetTextCollectorData.Enabled = true;//调试时设置为FALSE ,
+ timerGetTextCollectorData.Interval = 2000;
+ timerGetTextCollectorData.Tick -= new System.EventHandler(timerGetTextCollectorData_Tick);
+ timerGetTextCollectorData.Tick += new System.EventHandler(timerGetTextCollectorData_Tick);
+ timerGetTextCollectorData.Start();
+ }
+
+ private void DisposeTimer()
+ {
+ if (timerGetTextCollectorData != null)
+ {
+ timerGetTextCollectorData.Enabled = false;
+ timerGetTextCollectorData.Stop();
+ }
+ }
+
+ #endregion
+
+ #region 公共方法
+ private void ReviewEvent()
+ {
+ try
+ {
+ if (PatientId != 0)
+ {
+ //templateManage.OpeRecord = BOperationRecord.getRecord(_record, PatientId, RecoverId);
+ //templateManage.BindOperationRecordValueAll(templateManage.OpeRecord);
+ //reDrawEvent();
+ //templateManage.Bind();
+
+ if (_record.InstrumentList != null && _record.InstrumentList.Id != null && _record.InstrumentList.ApplianceUseType != null)
+ {
+ //txtInstrumentNurse.Text = _record.InstrumentList.InstrumentNurse;
+ //txtTourNurse.Text = _record.InstrumentList.TourNurse;
+ //txtRemark.Text = _record.InstrumentList.Remark;
+ LoadOperationGoodsBillRecord();
+ }
+ else
+ {
+ FirstbtnEnter();
+ }
+
+ if (_record.InstrumentList2 != null && _record.InstrumentList2.Id != null && _record.InstrumentList.ApplianceUseType != null)
+ {
+ //txtInstrumentNurse2.Text = _record.InstrumentList2.InstrumentNurse;
+ //txtTourNurse2.Text = _record.InstrumentList2.TourNurse;
+ //txtRemark2.Text = _record.InstrumentList2.Remark;
+ LoadOperationGoodsBillRecord2();
+ }
+ else
+ {
+ FirstbtnEnter2();
+ }
+
+ //SelectOperationDoctorData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 1);
+ //if (SelectOperationDoctorData.Count > 0)
+ //{
+ // txtOperationDoctor.Text = "";
+
+ // foreach (int RowId in SelectOperationDoctorData)
+ // {
+ // txtOperationDoctor.Text += BPerson.SelectSingle(RowId).Name + ",";
+ // }
+ // txtOperationDoctor.Text = txtOperationDoctor.Text.Substring(0, txtOperationDoctor.Text.LastIndexOf(","));
+ //}
+
+ //SelectInstrumentNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 6);
+ //if (SelectInstrumentNurseData.Count > 0)
+ //{
+ // txtInstrumentNurse.Text = "";
+
+ // foreach (int RowId in SelectInstrumentNurseData)
+ // {
+ // txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
+ // }
+ // txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, txtInstrumentNurse.Text.LastIndexOf(","));
+ //}
+
+ //SelectTourNurseData = BFactPersonDuty.GetPersonIdList(_record.PatientId.Value, 7);
+ //if (SelectTourNurseData.Count > 0)
+ //{
+ // txtTourNurse.Text = "";
+ // foreach (int RowId in SelectTourNurseData)
+ // {
+ // txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
+ // }
+ // txtTourNurse.Text = txtTourNurse.Text.Substring(0, txtTourNurse.Text.LastIndexOf(","));
+ //}
+ }
+ }
+ catch (Exception ex)
+ {
+ PublicMethod.WriteLog(ex);
+ }
+ }
+
+ private void DrawEvent()
+ {
+ reDrawEvent();
+ //zgcAnaesRecord.Refresh();
+ }
+
+ private void reDrawEvent()
+ {
+ ClearTimeText();
+ if (_record.InRoomTime != null)
+ {
+ txtInRoom.CustomFormat = "MM-dd HH:mm";
+ txtInRoom.ButtonDropDown.Visible = false;
+ txtInRoom.Tag = _record.InRoomTime.Value;
+ txtInRoom.Value = _record.InRoomTime.Value;
+ this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室_select;
+ }
+ if (_record.OperationBeginTime != null)
+ {
+ txtOperationBegin.CustomFormat = "HH:mm";
+ txtOperationBegin.ButtonDropDown.Visible = false;
+ txtOperationBegin.Tag = _record.OperationBeginTime.Value;
+ txtOperationBegin.Value = _record.OperationBeginTime.Value;
+ this.picOpeBegin.BackgroundImage = global::AIMS.Properties.Resources.手术开始_select;
+ }
+ if (_record.OperationEndTime != null)
+ {
+ txtOperationEnd.CustomFormat = "HH:mm";
+ txtOperationEnd.ButtonDropDown.Visible = false;
+ txtOperationEnd.Tag = _record.OperationEndTime.Value;
+ txtOperationEnd.Value = _record.OperationEndTime.Value;
+ this.picOpeEnd.BackgroundImage = global::AIMS.Properties.Resources.手术结束_select;
+ }
+ if (_record.OutRoomTime != null)
+ {
+ txtOutRoom.CustomFormat = "MM-dd HH:mm";
+ txtOutRoom.ButtonDropDown.Visible = false;
+ txtOutRoom.Tag = _record.OutRoomTime.Value;
+ txtOutRoom.Value = _record.OutRoomTime.Value;
+ this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室_select;
+ }
+
+ if (_record.OutRoomTime != null && _record.StateName == "手术中")
+ {
+ txtOutRoom.CustomFormat = "MM-dd HH:mm";
+ txtOutRoom.ButtonDropDown.Visible = false;
+ txtOutRoom.Tag = _record.OutRoomTime.Value;
+ txtOutRoom.Value = _record.OutRoomTime.Value;
+ EndOperationOutRoom();
+ }
+ }
+ public void ReferEventDrugs()
+ {
+ if (txtInRoom.Value != _record.InRoomTime)
+ {
+ _record.pageCount = 0;
+ ReviewEvent();
+ }
+ else
+ {
+ plRefresh_Click(null, null);
+ }
+ }
+ private void ClearTimeText()
+ {
+ txtInRoom.CustomFormat = " ";
+ txtOperationBegin.CustomFormat = " ";
+ txtOperationEnd.CustomFormat = " ";
+ txtOutRoom.CustomFormat = " ";
+ txtInRoom.Tag = null;
+ txtOperationBegin.Tag = null;
+ txtOperationEnd.Tag = null;
+ txtOutRoom.Tag = null;
+ txtInRoom.Text = "";
+ txtOperationBegin.Text = "";
+ txtOperationEnd.Text = "";
+ txtOutRoom.Text = "";
+
+ this.picInRoom.BackgroundImage = global::AIMS.Properties.Resources.入手术室;
+ this.picOpeBegin.BackgroundImage = global::AIMS.Properties.Resources.手术开始;
+ this.picOpeEnd.BackgroundImage = global::AIMS.Properties.Resources.手术结束;
+ this.picOutRoom.BackgroundImage = global::AIMS.Properties.Resources.出手术室;
+ }
+
+ ///
+ /// 出室方法
+ ///
+ private void EndOperationOutRoom()
+ {
+ if (_record == null || _record.StateName != "手术中") return;
+ try
+ {
+ //CloseOtherFrom();
+ //保存持续加药未结束药品
+ foreach (FactDrug temp in _record.FactDrugList)
+ {
+ if (temp.IsContinue == 1 && temp.DrugBeginTime == temp.DrugEndTime)
+ {
+ temp.DrugEndTime = _record.OutRoomTime.Value;
+ temp.OperatorNo = PublicMethod.OperatorNo;
+ temp.OperatorName = PublicMethod.OperatorName;
+ temp.OperateDate = DateTime.Now;
+ BFactDrug.Update(temp);
+ }
+ }
+ //保存持续事件未结束事件
+ foreach (FactEvents temp in _record.FactEventsList)
+ {
+ if (temp.IsContinue == 1 && temp.EventBeginTime == temp.EventEndTime)
+ {
+ temp.EventEndTime = _record.OutRoomTime;
+ temp.OperatorNo = PublicMethod.OperatorNo;
+ temp.OperatorName = PublicMethod.OperatorName;
+ temp.OperateDate = DateTime.Now;
+ BFactEvents.Update(temp);
+ }
+ }
+ _record.StateName = "手术结束";
+ BOperationApply.UpdateApplyState(ApplyId, 8);
+ BOperationRecord.UpdateState(PatientId, 1, 2);
+
+ //PublicMethod.WriteLog("结束转出手术: " + _record.Id);
+ //TipBox.Hidden(true);
+ State = AIMSExtension.EditState.BROWSE;
+ btnCancelOperation.Enabled = false;
+ btnCancelIn.Enabled = false;
+ btnSelectPatient.Enabled = true;
+ DisposeTimer();
+ //ReviewEvent();
+ }
+ catch (Exception exp)
+ {
+ PublicMethod.WriteLog(exp, "");
+ }
+
+ }
+ ///
+ /// 出室状态
+ ///
+ ///
+ ///
+ private bool GetOpeState(ref string message)
+ {
+ bool isTrue = true;
+ if (_record.OpeRecordInfo.OperationLevel == null || _record.OpeRecordInfo.OperationLevel.ToString().Trim() == "")
+ {
+ message = "请与手术信息选择手术分级!";
+ isTrue = false;
+ }
+ if (_record.OpeRecordInfo.OperationCut == null || _record.OpeRecordInfo.OperationCut.ToString().Trim() == "")
+ {
+ message = "请与手术信息选择手术切口!";
+ isTrue = false;
+ }
+ if (_record.OperationDoctor == null || _record.OperationDoctor.Trim() == "")
+ {
+ message = "请添加手术医师!";
+ isTrue = false;
+ }
+
+ return isTrue;
+ }
+ public void ClearRecordDate()
+ {
+ _applianceUseType = null;
+ _applianceUseType2 = null;
+ panel8.VerticalScroll.Value = 0;
+ //清空记录点并重新加载
+ ClearTimeText();
+ //关闭采集的服务
+ DisposeTimer();
+ lblHR.Text = "--";
+ lblRESP.Text = "--";
+ lblSpo2.Text = "--";
+ lblPR.Text = "--";
+ lblDia.Text = "---/---";
+ lblHR.ForeColor = Color.Green;
+ lblRESP.ForeColor = Color.DarkOrange;
+ lblSpo2.ForeColor = Color.Cyan;
+ lblPR.ForeColor = Color.Green;
+ lblDia.ForeColor = Color.Red;
+ //txtRemark.Text = "";
+ //txtInstrumentNurse.Text = "";
+ //txtTourNurse.Text = "";
+ //txtOperationDoctor.Text = "";
+ panelQXList.Controls.Clear();
+ _record = null;
+ }
+ private void ModifyApply_Click(object sender, EventArgs e)
+ {
+ if (PatientId == 0) return;
+
+ frmOperationApplyDetail frm = new frmOperationApplyDetail();
+ frm.State = AIMSExtension.EditState.EDIT;
+ frm.EditApplyId = ApplyId;
+ frm.tsbExit.Visible = true;
+ frm.tsbCancel.Visible = false;
+ frm.FormClosed += (s, er) =>
+ {
+ ReviewEvent();
+ };
+ //frm.FormBorderStyle = FormBorderStyle.None; // 无边框
+ //frm.TopLevel = false;
+ //frm.Dock = DockStyle.Fill;
+ //panel8.Controls.Add(frm);
+ frm.Show();
+ frm.Focus();
+ frm.BringToFront();
+ }
+ #endregion
+
+ #region 右侧按钮
+
+ private void btndptz_Click(object sender, EventArgs e)
+ {
+ frmNoticeLargeScreen fnc = new frmNoticeLargeScreen();
+ if (_record != null)
+ {
+ fnc.lblName.Text = _record.Name;
+ fnc.textBox2.Focus();
+ fnc.groupBox1.Visible = false;
+ }
+ fnc.ShowDialog();
+ }
+
+ private void btnsbwh_Click(object sender, EventArgs e)
+ {
+ frmInstrumentRegistration frm = new frmInstrumentRegistration();
+ frm.Show();
+ }
+
+ private void btnsjzx_Click(object sender, EventArgs e)
+ {
+ if (_record != null)
+ {
+ EMRExtension.OpenEMRS(_record.PatientId.Value, _record.OperationApplyId.Value);
+ }
+ }
+ #endregion
+
+ #region 器械清点
+
+ #region 加载手术手术清点单记录信息
+ private void LoadOperationGoodsBillRecord()
+ {
+ if (_record.InstrumentList != null && _record.InstrumentList.Id != null)
+ {
+ if (_record.InstrumentList.ApplianceUseType != null && _record.InstrumentList.ApplianceUseType != "") _applianceUseType = BApplianceUseType.Select(" id in (" + _record.InstrumentList.ApplianceUseType + ")", null, RecursiveType.None, 0);
+
+ if (_applianceUseType == null || _applianceUseType.Count == 0)
+ {
+ _applianceUseType = new List();
+ _appliance = BAppliance.GetApplianiceByIds("");
+ }
+ else
+ {
+ DataTable newDataTable = null;
+ _appliance = BAppliance.GetApplianiceNumberByIds(_applianceUseType[0].TheApplianceId, _applianceUseType[0].ApplianceNumber);
+ newDataTable = _appliance.Clone();
+ foreach (ApplianceUseType item in _applianceUseType)
+ {
+ DataTable dt = BAppliance.GetApplianiceNumberByIds(item.TheApplianceId, item.ApplianceNumber);
+ object[] obj = new object[newDataTable.Columns.Count];
+ //添加DataTable1的数据
+ for (int i = 0; i < dt.Rows.Count; i++)
+ {
+ dt.Rows[i].ItemArray.CopyTo(obj, 0);
+ newDataTable.Rows.Add(obj);
+ }
+ }
+ _appliance = newDataTable;
+ }
+ if (_appliance != null)
+ FullUcControlsToPanel(panelQXList, _appliance, _record.InstrumentList, ref i1, ref j1);
+ }
+ }
+ private void LoadOperationGoodsBillRecord2()
+ {
+ if (_record.InstrumentList2 != null && _record.InstrumentList2.Id != null)
+ {
+ if (_record.InstrumentList2.ApplianceUseType != null && _record.InstrumentList2.ApplianceUseType != "") _applianceUseType2 = BApplianceUseType.Select(" id in (" + _record.InstrumentList2.ApplianceUseType + ")", null, RecursiveType.None, 0);
+
+ if (_applianceUseType2 == null || _applianceUseType2.Count == 0)
+ {
+ _applianceUseType2 = new List();
+ _appliance2 = BAppliance.GetApplianiceByIds("");
+ }
+ else
+ {
+ DataTable newDataTable = null;
+ _appliance2 = BAppliance.GetApplianiceNumberByIds(_applianceUseType2[0].TheApplianceId, _applianceUseType2[0].ApplianceNumber);
+ newDataTable = _appliance2.Clone();
+ foreach (ApplianceUseType item in _applianceUseType2)
+ {
+ DataTable dt = BAppliance.GetApplianiceNumberByIds(item.TheApplianceId, item.ApplianceNumber);
+ object[] obj = new object[newDataTable.Columns.Count];
+ //添加DataTable1的数据
+ for (int i = 0; i < dt.Rows.Count; i++)
+ {
+ dt.Rows[i].ItemArray.CopyTo(obj, 0);
+ newDataTable.Rows.Add(obj);
+ }
+ }
+ _appliance2 = newDataTable;
+ }
+ if (_appliance2 != null)
+ FullUcControlsToPanel(panelQXList2, _appliance2, _record.InstrumentList2, ref i2, ref j2);
+ }
+
+ }
+ #endregion
+
+ #region 选择器械包
+ private void FirstbtnEnter()
+ {
+ if (_applianceUseType == null)
+ {
+ _applianceUseType = new List();
+ ApplianceUseType _nowApplianceUseType = BApplianceUseType.SelectSingle(1, RecursiveType.None, 0);
+ _applianceUseType.Add(_nowApplianceUseType);
+ DataTable newDataTable = null;
+ if (_applianceUseType.Count > 0) _appliance = BAppliance.GetApplianiceNumberByIds(_applianceUseType[0].TheApplianceId, _applianceUseType[0].ApplianceNumber);
+ newDataTable = _appliance.Clone();
+ foreach (ApplianceUseType item in _applianceUseType)
+ {
+ if (item.TheApplianceId != null && item.TheApplianceId != "")
+ {
+ DataTable dt = BAppliance.GetApplianiceNumberByIds(item.TheApplianceId, item.ApplianceNumber);
+ object[] obj = new object[newDataTable.Columns.Count];
+ //添加DataTable1的数据
+ for (int i = 0; i < dt.Rows.Count; i++)
+ {
+ dt.Rows[i].ItemArray.CopyTo(obj, 0);
+ newDataTable.Rows.Add(obj);
+ }
+ }
+ }
+ _appliance = newDataTable;
+ FullUcControlsToPanel(panelQXList, _appliance, _record.InstrumentList, ref i1, ref j1);
+ }
+ }
+ private void FirstbtnEnter2()
+ {
+ if (_applianceUseType2 == null)
+ {
+ _applianceUseType2 = new List();
+ ApplianceUseType _nowApplianceUseType = BApplianceUseType.SelectSingle(1, RecursiveType.None, 0);
+ _applianceUseType2.Add(_nowApplianceUseType);
+ DataTable newDataTable = null;
+ if (_applianceUseType2.Count > 0) _appliance2 = BAppliance.GetApplianiceNumberByIds(_applianceUseType2[0].TheApplianceId, _applianceUseType2[0].ApplianceNumber);
+ newDataTable = _appliance2.Clone();
+ foreach (ApplianceUseType item in _applianceUseType2)
+ {
+ if (item.TheApplianceId != null && item.TheApplianceId != "")
+ {
+ DataTable dt = BAppliance.GetApplianiceNumberByIds(item.TheApplianceId, item.ApplianceNumber);
+ object[] obj = new object[newDataTable.Columns.Count];
+ //添加DataTable1的数据
+ for (int i = 0; i < dt.Rows.Count; i++)
+ {
+ dt.Rows[i].ItemArray.CopyTo(obj, 0);
+ newDataTable.Rows.Add(obj);
+ }
+ }
+ }
+ _appliance2 = newDataTable;
+ FullUcControlsToPanel(panelQXList2, _appliance2, _record.InstrumentList2, ref i1, ref j1);
+ }
+ }
+ #endregion
+
+ #region 加载物品控件
+ int i1 = 0, j1 = 0;
+ int i2 = 0, j2 = 0;
+ int Incount = 0;
+ int IncRowsount = 25;
+ ///
+ /// 加载物品控件到指定的Panel
+ ///
+ /// 指定的Panel
+ /// 物品数据表
+ private void FullUcControlsToPanel(Panel panel, DataTable dt, OperationRecordInstrumentList Instrument, ref int i, ref int j)
+ {
+ i = 0; j = 0; Incount = 0;
+ panel.Controls.Clear();
+ foreach (DataRow dr in dt.Rows)
+ {
+ if (Incount >= 51)
+ break;
+ ApplianceRecord applic = null;
+ if (Instrument.ApplianceRecordList != null && Instrument.ApplianceRecordList.Count > 0)
+ {
+ foreach (ApplianceRecord app in Instrument.ApplianceRecordList)
+ {
+ if (app.ApplianceId != null && app.ApplianceId == Convert.ToInt32(dr["Id"]))
+ {
+ applic = app;
+ break;
+ }
+ }
+ }
+ //if (applic == null) continue;
+ UCOperationGoodsBill5 uc = new UCOperationGoodsBill5(applic);
+ uc.SelectTextBoxEvent += Uc_SelectTextBoxEvent;
+ uc.OperationRecordId = Convert.ToInt32(_record.Id);
+ uc.GoodsId = Convert.ToInt32(dr["Id"]);
+ uc.GoodsName = dr["Name"].ToString();
+ if (applic == null)
+ {
+ string ApplianceNumber = dr["ApplianceNumber"].ToString();
+ uc.GoodsNumber = ApplianceNumber;
+ }
+ uc.Location = new Point((uc.Width) * i, (uc.Height - 1) * j);
+ uc.TabIndex = Incount + 1;
+ panel.Controls.Add(uc);
+ Incount++;
+ j++;
+ if (j == IncRowsount)
+ {
+ j = 0;
+ i++;
+ }
+ }
+ if (Instrument.ApplianceRecordList != null && Instrument.ApplianceRecordList.Count > 0)
+ {
+ foreach (ApplianceRecord app in Instrument.ApplianceRecordList)
+ {
+ if (Incount >= 51)
+ break;
+ ApplianceRecord applic = null;
+ if (app.ApplianceId == 0)
+ {
+ applic = app;
+ }
+ if (applic == null) continue;
+ UCOperationGoodsBill5 uc = new UCOperationGoodsBill5(applic);
+ uc.SelectTextBoxEvent += Uc_SelectTextBoxEvent;
+ uc.lblGoodsName.ReadOnly = false;
+ uc.OperationRecordId = Convert.ToInt32(_record.Id);
+ uc.GoodsName = app.ApplianceName;
+ uc.Location = new Point((uc.Width) * i, (uc.Height - 1) * j);
+ uc.TabIndex = Incount + 1;
+ panel.Controls.Add(uc);
+ Incount++;
+ j++;
+ if (j == IncRowsount)
+ {
+ j = 0;
+ i++;
+ }
+ }
+ }
+ panel.Height = new UCOperationGoodsBill5().Height * IncRowsount;
+ }
+
+ private void button1_Click(object sender, EventArgs e)
+ {
+ if (superTabMain.SelectedTab.Name == "spTabQXQDD")
+ {
+ ApplianceRecord app = new ApplianceRecord();
+ app.OperationRecordId = _record.Id.Value;
+ UCOperationGoodsBill5 uc = new UCOperationGoodsBill5(app);
+ uc.SelectTextBoxEvent += Uc_SelectTextBoxEvent;
+ uc.lblGoodsName.ReadOnly = false;
+ uc.GoodsNumber = "";
+ uc.Location = new Point((uc.Width) * i1, (uc.Height - 1) * j1);
+ if (_record.InstrumentList.ApplianceRecordList != null) _record.InstrumentList.ApplianceRecordList.Add(app);
+ panelQXList.Controls.Add(uc);
+ j1++;
+ if (j1 == 25)
+ {
+ j1 = 0;
+ i1++;
+ }
+ }
+ else
+ {
+ ApplianceRecord app = new ApplianceRecord();
+ app.OperationRecordId = _record.Id.Value;
+ UCOperationGoodsBill5 uc = new UCOperationGoodsBill5(app);
+ uc.SelectTextBoxEvent += Uc_SelectTextBoxEvent;
+ uc.lblGoodsName.ReadOnly = false;
+ uc.GoodsNumber = "";
+ uc.Location = new Point((uc.Width) * i2, (uc.Height - 1) * j2);
+ if (_record.InstrumentList2.ApplianceRecordList != null) _record.InstrumentList2.ApplianceRecordList.Add(app);
+ panelQXList2.Controls.Add(uc);
+ j2++;
+ if (j2 == 25)
+ {
+ j2 = 0;
+ i2++;
+ }
+
+ }
+ }
+
+ private void Uc_SelectTextBoxEvent(object uc, KeyEventArgs e)
+ {
+ if (e.KeyCode == Keys.Enter)
+ {
+ SendKeys.Send("{TAB}");
+ }
+ else if (e.KeyCode == Keys.Up)
+ {
+ if (((uc as TextBox).Parent).TabIndex == 1) return;
+ foreach (Control item in ((uc as TextBox).Parent).Parent.Controls)
+ {
+ if (item is UCOperationGoodsBill5 && item.TabIndex == ((uc as TextBox).Parent).TabIndex - 1)
+ {
+ foreach (Control citem in item.Controls)
+ {
+ if (citem.TabIndex == ((uc as TextBox).TabIndex))
+ {
+ citem.Focus();
+ break;
+ }
+ }
+ break;
+ }
+ }
+ }
+ else if (e.KeyCode == Keys.Left)
+ {
+ //MessageBox.Show(((uc as TextBox).TabIndex - 1).ToString());
+ foreach (Control item in ((uc as TextBox).Parent).Controls)
+ {
+ if (item.TabIndex == ((uc as TextBox).TabIndex - 1))
+ {
+ item.Focus();
+ break;
+ }
+ }
+ }
+ else if (e.KeyCode == Keys.Right)
+ {
+ SendKeys.Send("{TAB}");
+ }
+ else if (e.KeyCode == Keys.Down)
+ {
+ if (((uc as TextBox).Parent).TabIndex == 50) return;
+ foreach (Control item in ((uc as TextBox).Parent).Parent.Controls)
+ {
+ if (item is UCOperationGoodsBill5 && item.TabIndex == ((uc as TextBox).Parent).TabIndex + 1)
+ {
+ foreach (Control citem in item.Controls)
+ {
+ if (citem.TabIndex == ((uc as TextBox).TabIndex))
+ {
+ citem.Focus();
+ break;
+ }
+ }
+ break;
+ }
+ }
+ }
+ }
+ #endregion
+
+ #region 自定义方法
+ private void PanelSave_Click(object sender, EventArgs e)
+ {
+ if (superTabMain.SelectedTab.Name == "spTabQXQDD")
+ {
+ SaveInstrument(sender);
+ ReviewEvent();
+ new frmMessageBox().Show();
+ }
+ else
+ {
+ SaveInstrument2(sender);
+ ReviewEvent();
+ new frmMessageBox().Show();
+ }
+ }
+
+ private void SaveInstrument(object sender)
+ {
+ try
+ {
+ btnSelectPatient.Focus();
+ _record.InstrumentList.OperationRecordId = this._record.Id;
+ if (_applianceUseType != null)
+ {
+ List list = new List();
+ foreach (ApplianceUseType item in _applianceUseType)
+ {
+ list.Add(item.Id.Value);
+ }
+ _record.InstrumentList.ApplianceUseType = string.Join(",", list.ToArray());
+ }
+ _record.InstrumentList.TagPicture = "";// Convert.ToBase64String(PublicToDoument.ImageToBytes(pictureBox1.Image));
+ _record.InstrumentList.JsonTextData = "";// PublicToDoument.SerializeControl(panel18, _record, new List ());
+ //_record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text;
+ //_record.InstrumentList.TourNurse = txtTourNurse.Text;
+ //_record.InstrumentList.Remark = txtRemark.Text;
+ _record.InstrumentList.OperatorNo = PublicMethod.OperatorNo;
+ _record.InstrumentList.OperatorName = PublicMethod.OperatorName;
+ _record.InstrumentList.OperateDate = DateTime.Now;
+ if (_record.InstrumentList.Id == null || _record.InstrumentList.Id == 0)
+ {
+ _record.InstrumentList.Id = BOperationRecordInstrumentList.Insert(_record.InstrumentList);
+ }
+ else
+ {
+ BOperationRecordInstrumentList.Update(_record.InstrumentList);
+ }
+ _record.InstrumentList.ApplianceRecordList = GetApplianceRecord();
+ BApplianceRecord.InsertListData(_record.InstrumentList.ApplianceRecordList);
+ DBManage.AddPerson(_record, SelectOperationDoctorData, 1);
+ DBManage.AddPerson(_record, SelectInstrumentNurseData, 6);
+ DBManage.AddPerson(_record, SelectTourNurseData, 7);
+
+ }
+ catch (Exception ex)
+ {
+ PublicMethod.WriteLog(ex);
+ }
+ }
+ private void SaveInstrument2(object sender)
+ {
+ try
+ {
+ btnSelectPatient.Focus();
+ if (_record.InstrumentList2 == null)
+ {
+ _record.InstrumentList2 = new OperationRecordInstrumentList();
+ }
+ _record.InstrumentList2.OperationRecordId = this._record.Id;
+ if (_applianceUseType2 != null)
+ {
+ List list = new List();
+ foreach (ApplianceUseType item in _applianceUseType2)
+ {
+ list.Add(item.Id.Value);
+ }
+ _record.InstrumentList2.ApplianceUseType = string.Join(",", list.ToArray());
+ }
+ _record.InstrumentList2.TagPicture = "";// Convert.ToBase64String(PublicToDoument.ImageToBytes(pictureBox1.Image));
+ _record.InstrumentList2.JsonTextData = "";// PublicToDoument.SerializeControl(panel18, _record, new List ());
+ //_record.InstrumentList2.InstrumentNurse = txtInstrumentNurse2.Text;
+ //_record.InstrumentList2.TourNurse = txtTourNurse2.Text;
+ //_record.InstrumentList2.Remark = txtRemark2.Text;
+ _record.InstrumentList2.OperatorNo = PublicMethod.OperatorNo;
+ _record.InstrumentList2.OperatorName = PublicMethod.OperatorName;
+ _record.InstrumentList2.OperateDate = DateTime.Now;
+ if (_record.InstrumentList2.Id == null || _record.InstrumentList2.Id == 0)
+ {
+ _record.InstrumentList2.Id = BOperationRecordInstrumentList.Insert(_record.InstrumentList2);
+ }
+ else
+ {
+ BOperationRecordInstrumentList.Update(_record.InstrumentList2);
+ }
+ _record.InstrumentList2.ApplianceRecordList = GetApplianceRecord2();
+ BApplianceRecord.InsertListData(_record.InstrumentList2.ApplianceRecordList);
+ DBManage.AddPerson(_record, SelectOperationDoctorData, 1);
+ DBManage.AddPerson(_record, SelectInstrumentNurseData, 6);
+ DBManage.AddPerson(_record, SelectTourNurseData, 7);
+
+ }
+ catch (Exception ex)
+ {
+ PublicMethod.WriteLog(ex);
+ }
+ }
+
+ private void superTabMain_SelectedTabChanged(object sender, DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs e)
+ {
+ //if (superTabMain.SelectedTab.Name == "spTabQXQDD2")
+ //{
+ // labdept.Text = _record.ApplyDepartmentName;
+ // labpname.Text = _record.Name;
+ // labsex.Text = _record.Sex;
+ // labage.Text = _record.Age;
+ // labopdate.Text = _record.OperationDate;
+ // labmno.Text = _record.OperationDate;
+ // labroom.Text = BOperationRoom.SelectSingle(_record.RoomId).Name;
+
+ // txtOperation.Text = "";
+ // SelectOperationData = BFactOperationInfo.GetFactOperationInfoIdList(_record.PatientId.Value);
+ // foreach (int RowId in SelectOperationData)
+ // {
+ // txtOperation.Text += BOperation.SelectSingle(RowId).Name + " ,";
+ // }
+ // if (txtOperation.Text != "") txtOperation.Text = txtOperation.Text.Substring(0, txtOperation.Text.LastIndexOf(" ,"));
+
+
+ // txtOperationPosition.Text = "";
+ // SelectOperationPositionData = BFactOperationPosition.GetFactOperationPositionIdList(_record.PatientId.Value);
+ // foreach (int RowId in SelectOperationPositionData)
+ // {
+ // txtOperationPosition.Text += BOperationPosition.SelectSingle(RowId).Name + " ,";
+ // }
+ // if (txtOperationPosition.Text != "") txtOperationPosition.Text = txtOperationPosition.Text.Substring(0, txtOperationPosition.Text.LastIndexOf(" ,"));
+
+ // txtOperationDoctor2.Text = txtOperationDoctor.Text;
+ // txtInstrumentNurse2.Text = txtInstrumentNurse.Text;
+ // txtTourNurse2.Text = txtTourNurse.Text;
+ //}
+ //else
+ //{
+ // //templateManage.OpeRecord = BOperationRecord.getRecord(_record, PatientId, RecoverId);
+ // //templateManage.BindOperationRecordValueAll(templateManage.OpeRecord);
+ // //templateManage.Bind();
+ // //zgcAnaesRecord.Refresh();
+ // txtOperationDoctor.Text = txtOperationDoctor2.Text;
+ // txtInstrumentNurse.Text = txtInstrumentNurse2.Text;
+ // txtTourNurse.Text = txtTourNurse2.Text;
+ //}
+ }
+
+ ///
+ /// 得到当前使用的器械对象集合
+ ///
+ ///
+ private List GetApplianceRecord()
+ {
+ List applianceRecordList = new List();
+ foreach (Control ctl in panelQXList.Controls)
+ {
+ ApplianceRecord applianceRecord = new ApplianceRecord();
+ if (ctl is UCOperationGoodsBill5)
+ {
+ UCOperationGoodsBill5 UCOperationGoodsBill5 = ctl as UCOperationGoodsBill5;
+ if (UCOperationGoodsBill5.Id != null)
+ {
+ applianceRecord.Id = UCOperationGoodsBill5.Id;
+ }
+ applianceRecord.OperationRecordId = this._record.Id;
+ applianceRecord.ApplianceId = UCOperationGoodsBill5.GoodsId;
+ applianceRecord.ApplianceName = UCOperationGoodsBill5.GoodsName;
+ if (_record.InstrumentList != null && _record.InstrumentList.Id != null)
+ {
+ applianceRecord.OperationGoodsBillRecord = _record.InstrumentList.Id;
+ }
+ if (UCOperationGoodsBill5.txtFront.Text != "")
+ applianceRecord.OpeFront = UCOperationGoodsBill5.OpeFront;
+ else applianceRecord.OpeFront = null;
+ if (UCOperationGoodsBill5.txtDoing.Text != "")
+ applianceRecord.OpeDoing = UCOperationGoodsBill5.OpeDoing;
+ else applianceRecord.OpeDoing = null;
+ if (UCOperationGoodsBill5.txtCloseFront.Text != "")
+ applianceRecord.CloseFront = UCOperationGoodsBill5.CloseFront;
+ else applianceRecord.CloseFront = null;
+ if (UCOperationGoodsBill5.txtCloseLast.Text != "")
+ applianceRecord.CloseLast = UCOperationGoodsBill5.CloseLast;
+ else applianceRecord.CloseLast = null;
+ if (UCOperationGoodsBill5.txtSkinCloseLast.Text != "")
+ applianceRecord.SkinCloseLast = UCOperationGoodsBill5.SkinCloseLast;
+ else applianceRecord.SkinCloseLast = null;
+ applianceRecordList.Add(applianceRecord);
+ }
+ }
+ return applianceRecordList;
+ }
+ private List GetApplianceRecord2()
+ {
+ List applianceRecordList = new List();
+ foreach (Control ctl in panelQXList2.Controls)
+ {
+ ApplianceRecord applianceRecord = new ApplianceRecord();
+ if (ctl is UCOperationGoodsBill5)
+ {
+ UCOperationGoodsBill5 UCOperationGoodsBill5 = ctl as UCOperationGoodsBill5;
+ if (UCOperationGoodsBill5.Id != null)
+ {
+ applianceRecord.Id = UCOperationGoodsBill5.Id;
+ }
+ applianceRecord.OperationRecordId = this._record.Id;
+ applianceRecord.ApplianceId = UCOperationGoodsBill5.GoodsId;
+ applianceRecord.ApplianceName = UCOperationGoodsBill5.GoodsName;
+ if (_record.InstrumentList2 != null && _record.InstrumentList2.Id != null)
+ {
+ applianceRecord.OperationGoodsBillRecord = _record.InstrumentList2.Id;
+ }
+ if (UCOperationGoodsBill5.txtFront.Text != "")
+ applianceRecord.OpeFront = UCOperationGoodsBill5.OpeFront;
+ else applianceRecord.OpeFront = null;
+ if (UCOperationGoodsBill5.txtDoing.Text != "")
+ applianceRecord.OpeDoing = UCOperationGoodsBill5.OpeDoing;
+ else applianceRecord.OpeDoing = null;
+ if (UCOperationGoodsBill5.txtCloseFront.Text != "")
+ applianceRecord.CloseFront = UCOperationGoodsBill5.CloseFront;
+ else applianceRecord.CloseFront = null;
+ if (UCOperationGoodsBill5.txtCloseLast.Text != "")
+ applianceRecord.CloseLast = UCOperationGoodsBill5.CloseLast;
+ else applianceRecord.CloseLast = null;
+ if (UCOperationGoodsBill5.txtSkinCloseLast.Text != "")
+ applianceRecord.SkinCloseLast = UCOperationGoodsBill5.SkinCloseLast;
+ else applianceRecord.SkinCloseLast = null;
+ applianceRecordList.Add(applianceRecord);
+ }
+ }
+ return applianceRecordList;
+ }
+ #endregion
+
+ #endregion
+
+ #region 打印方法
+ public List mPanes = new List();
+ public List UpPanes = new List();
+ int m_startPrintPage;// 打印的起始页码
+ int m_endPrintPage;//打印的终止页码
+ int m_PageIndex;// 当前打印页码
+ 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;
+ //if (pdg!=null)
+ //{
+ //m_startPrintPage = pdg.pa
+ //m_endPrintPage = pDoc.PrinterSettings.ToPage;
+ //}
+ if (m_startPrintPage == 0 && m_endPrintPage == 0)
+ {
+ 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;
+ }
+ }
+ else
+ {
+ try
+ {
+ //如果当前打印页小于打印起始页码,就递增一页,直至等于打印起始页码
+ if (m_startPrintPage > 0)
+ {
+ while (m_PageIndex < m_startPrintPage)
+ {
+ m_PageIndex++;
+ }
+ }
+
+ mPanes[m_PageIndex - 1].Draw(e.Graphics);
+ //当前打印页加1
+ m_PageIndex++;
+
+ if (m_PageIndex <= m_endPrintPage)
+ {
+ e.HasMorePages = true;
+ }
+
+ //如果设置了打印页码范围并且当前打印页大于打印终止页码,终止打印,设置e.HasMorePages参数,初始化相关变量
+ if ((m_startPrintPage > 0) && (m_PageIndex > m_endPrintPage))
+ {
+ e.HasMorePages = false;
+ m_PageIndex = 1;
+ return;
+ }
+
+ }
+ catch (Exception)
+ {
+ //出错处理,终止打印,设置e.HasMorePages参数,初始化相关变量
+ e.HasMorePages = false;
+ m_PageIndex = 1;
+ }
+ }
+ }
+
+ private void plPrintBrowse_Click(object sender, EventArgs e)
+ {
+ if (_record == null || _record.Id == 0) return;
+ //if (txtOutRoom.Focused)
+ //{
+ // zgcAnaesRecord.Focus();
+ //}
+ if (superTabMain.SelectedTab.Name == "spTabQXQDD")
+ {
+ SaveInstrument(sender);
+ }
+ else
+ {
+ SaveInstrument2(sender);
+ }
+
+ mPanes = new List();
+ UpPanes = new List();
+ PrintDocPage(null, null);
+ count = 0;
+ 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 System.Drawing.Printing.Margins(0, 0, 0, 0);
+ pDoc.PrintPage -= new PrintPageEventHandler(pDoc_PrintPage);
+ pDoc.PrintPage += new PrintPageEventHandler(pDoc_PrintPage);
+
+ PrintPreviewDialog pdg = new PrintPreviewDialog();
+ foreach (Control ctl in pdg.Controls)
+ {
+ if (ctl is ToolStrip)
+ {
+ ToolStrip toolbar = ctl as ToolStrip;
+ toolbar.Items.RemoveAt(0);
+ ToolStrip tb = ctl as ToolStrip;
+ //tb.ImageList.Images.Add(Properties.Resources.);
+ ToolStripButton settingBtn = new ToolStripButton();
+ settingBtn.ToolTipText = "打印";
+ settingBtn.Text = "打印";
+ //settingBtn.ImageIndex = tb.ImageList.Images.Count - 1;
+ settingBtn.Click += PageSetting_Click;
+ tb.Items.Insert(0, settingBtn);
+ }
+ }
+ //pdg.Width = zgcAnaesRecord.Width + 50;
+ //pdg.ClientSize = new System.Drawing.Size(zgcAnaesRecord.Width, zgcAnaesRecord.Height);
+ Form f = (Form)pdg;
+ f.WindowState = FormWindowState.Maximized;
+ pdg.Document = pDoc;
+ pdg.ShowDialog();
+ pdg.Focus();
+ pdg.BringToFront();
+
+ plRefresh_Click(null, null);
+ }
+ private void PageSetting_Click(object sender, EventArgs e)
+ {
+ plPrint_Click(null, null);
+ }
+
+ private void PrintDocPage(object sender, PrintPageEventArgs e)
+ {
+ if (superTabMain.SelectedTab.Name == "spTabQXQDD")
+ {
+ _record.InstrumentList.ApplianceRecordList = GetApplianceRecord();
+ //_record.InstrumentList.InstrumentNurse = txtInstrumentNurse.Text;
+ //_record.InstrumentList.TourNurse = txtTourNurse.Text;
+ //_record.InstrumentList.Remark = txtRemark.Text;
+ //PrintDocPane(e, zgcAnaesRecord, templateManage);
+ }
+ else
+ {
+ if (_record.InstrumentList2 != null && _record.InstrumentList2.Id != null)
+ {
+ _record.InstrumentList = _record.InstrumentList2;
+ _record.InstrumentList.ApplianceRecordList = GetApplianceRecord2();
+ //_record.InstrumentList.InstrumentNurse = txtInstrumentNurse2.Text;
+ //_record.InstrumentList.TourNurse = txtTourNurse2.Text;
+ //_record.InstrumentList.Remark = txtRemark2.Text;
+ //PrintDocPane(e, zgcAnaesRecord, templateManage);
+ }
+
+ }
+ }
+
+ private PublicUI.UI.frmSelectPerson frmTourNurse;
+ private List SelectTourNurseData = new List(); //一助
+ private void txtTourNurse_Click(object sender, EventArgs e)
+ {
+ frmTourNurse = new PublicUI.UI.frmSelectPerson();
+ frmTourNurse.PersonType = "手术室护士";
+ frmTourNurse.SelectDepartmentName = "手术室";
+ frmTourNurse.SelectPersonData = SelectTourNurseData;
+ frmTourNurse.FormClosed += new FormClosedEventHandler(frmTourNurse_FormClosed);
+ frmTourNurse.ShowDialog();
+ }
+
+ void frmTourNurse_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ //txtTourNurse.Text = "";
+ //if (frmTourNurse.SelectPersonData.Count > 0)
+ //{
+ // SelectTourNurseData = frmTourNurse.SelectPersonData;
+ // foreach (int RowId in frmTourNurse.SelectPersonData)
+ // {
+ // txtTourNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
+ // }
+ // int idxStart = txtTourNurse.Text.LastIndexOf(",");
+ // txtTourNurse.Text = txtTourNurse.Text.Substring(0, idxStart);
+ //}
+ //txtTourNurse2.Text = txtTourNurse.Text;
+ }
+
+ private List SelectInstrumentNurseData = new List(); //一助
+ private PublicUI.UI.frmSelectPerson frmInstrumentNurse;
+ private void txtInstrumentNurse_Click(object sender, EventArgs e)
+ {
+ frmInstrumentNurse = new PublicUI.UI.frmSelectPerson();
+ frmInstrumentNurse.PersonType = "手术室护士";
+ frmInstrumentNurse.SelectDepartmentName = "手术室";
+ frmInstrumentNurse.SelectPersonData = SelectInstrumentNurseData;
+ frmInstrumentNurse.FormClosed += new FormClosedEventHandler(frmInstrumentNurse_FormClosed);
+ frmInstrumentNurse.ShowDialog();
+ }
+
+ void frmInstrumentNurse_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ //txtInstrumentNurse.Text = "";
+ //if (frmInstrumentNurse.SelectPersonData.Count > 0)
+ //{
+ // SelectInstrumentNurseData = frmInstrumentNurse.SelectPersonData;
+ // foreach (int RowId in frmInstrumentNurse.SelectPersonData)
+ // {
+ // txtInstrumentNurse.Text += BPerson.SelectSingle(RowId).Name + ",";
+ // }
+ // int idxStart = txtInstrumentNurse.Text.LastIndexOf(",");
+ // txtInstrumentNurse.Text = txtInstrumentNurse.Text.Substring(0, idxStart);
+ //}
+ //txtInstrumentNurse2.Text = txtInstrumentNurse.Text;
+ }
+
+ private PublicUI.UI.frmSelectPerson frmOperationDoctor;
+ private List SelectOperationDoctorData = new List(); //一助
+ private void txtOperationDoctor_DoubleClick(object sender, EventArgs e)
+ {
+ frmOperationDoctor = new PublicUI.UI.frmSelectPerson();
+ frmOperationDoctor.PersonType = "医生";
+ frmOperationDoctor.SelectDepartmentName = _record.ApplyDepartmentName;
+ frmOperationDoctor.SelectPersonData = SelectOperationDoctorData;
+ frmOperationDoctor.FormClosed += new FormClosedEventHandler(frmOperationDoctor_FormClosed);
+ frmOperationDoctor.ShowDialog();
+ }
+
+ void frmOperationDoctor_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ //txtOperationDoctor.Text = "";
+ //if (frmOperationDoctor.SelectPersonData.Count > 0)
+ //{
+ // SelectOperationDoctorData = frmOperationDoctor.SelectPersonData;
+ // foreach (int RowId in frmOperationDoctor.SelectPersonData)
+ // {
+ // txtOperationDoctor.Text += BPerson.SelectSingle(RowId).Name + ",";
+ // }
+ // int idxStart = txtOperationDoctor.Text.LastIndexOf(",");
+ // txtOperationDoctor.Text = txtOperationDoctor.Text.Substring(0, idxStart);
+ //}
+ //txtOperationDoctor2.Text = txtOperationDoctor.Text;
+ }
+
+ ///
+ /// 根据工作类型 选择医生术者赋值TextBox
+ ///
+ /// 医生术者TextBox
+ /// 工作类型
+ public void setDoctor(TextBox controlTextBox, string workersType)
+ {
+ PublicUI.UI.frmSelectPerson frmOperationDoctor = new PublicUI.UI.frmSelectPerson();
+ frmOperationDoctor.PersonType = workersType;
+ frmOperationDoctor.SelectDepartmentName = "手术室";
+ frmOperationDoctor.SelectPersonData = new List();
+ frmOperationDoctor.ShowDialog();
+
+ foreach (int RowId in frmOperationDoctor.SelectPersonData)
+ {
+ controlTextBox.Text = BPerson.GetModel(RowId).Name;
+ }
+ }
+
+ private void button9_Click(object sender, EventArgs e)
+ {
+ if (superTabMain.SelectedTab.Name == "spTabQXQDD")
+ {
+ TextBoxAddEventSources(panelQX, @"/");
+ }
+ else
+ {
+ TextBoxAddEventSources(panelQX2, @"/");
+ }
+ }
+
+ private void TextBoxAddEventSources(Control _panel, string TextValue)
+ {
+ foreach (Control clTemp in _panel.Controls)
+ {
+ if (clTemp.Controls.Count > 0)
+ {
+ TextBoxAddEventSources(clTemp, TextValue);
+ }
+ else
+ {
+ if (clTemp is TextBox)
+ {
+ TextBox cbT = (clTemp as TextBox);
+ if (cbT != null && cbT.Text.Trim() == "")
+ {
+ cbT.Text = TextValue;
+ }
+ }
+ if (clTemp is UText)
+ {
+ UText cbT = (clTemp as UText);
+ if (cbT != null && cbT.Text.Trim() == "")
+ {
+ cbT.Text = TextValue;
+ }
+ }
+ }
+ }
+ }
+
+ private PublicUI.UI.frmOperationPosition frmOperationPosition;
+ private List SelectOperationPositionData = new List(); //手术部位
+ private void txtOperationPosition_DoubleClick(object sender, EventArgs e)
+ {
+ frmOperationPosition = new PublicUI.UI.frmOperationPosition();
+ frmOperationPosition.FormClosed += new FormClosedEventHandler(frmOperationPosition_FormClosed);
+ frmOperationPosition.SelectOperationPositionData = SelectOperationPositionData;
+ frmOperationPosition.ShowDialog();
+ }
+
+ void frmOperationPosition_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ //txtOperationPosition.Text = "";
+ //if (frmOperationPosition.SelectOperationPositionData.Count > 0)
+ //{
+ // SelectOperationPositionData = frmOperationPosition.SelectOperationPositionData;
+ // foreach (int RowId in frmOperationPosition.SelectOperationPositionData)
+ // {
+ // txtOperationPosition.Text += BOperationPosition.SelectSingle(RowId).Name + " ,";
+ // }
+ // int idxStart = txtOperationPosition.Text.LastIndexOf(" ,");
+ // txtOperationPosition.Text = txtOperationPosition.Text.Substring(0, idxStart);
+ //}
+ //DBManage.AddOperationPosition(_record, SelectOperationPositionData);
+ }
+ private PublicUI.UI.frmSelectOperation frmOperation;
+ private List SelectOperationData = new List(); //手术
+ private void txtOperation_DoubleClick(object sender, EventArgs e)
+ {
+ frmOperation = new PublicUI.UI.frmSelectOperation();
+ frmOperation.FormClosed += new FormClosedEventHandler(frmOperation_FormClosed);
+ frmOperation.SelectRightData = SelectOperationData;
+ frmOperation.ShowDialog();
+ }
+
+ void frmOperation_FormClosed(object sender, FormClosedEventArgs e)
+ {
+ //txtOperation.Text = "";
+ //if (frmOperation.SelectRightData.Count > 0)
+ //{
+ // SelectOperationData = frmOperation.SelectRightData;
+ // foreach (int RowId in frmOperation.SelectRightData)
+ // {
+ // txtOperation.Text += BOperation.SelectSingle(RowId).Name + " ,";
+ // }
+ // int idxStart = txtOperation.Text.LastIndexOf(" ,");
+ // txtOperation.Text = txtOperation.Text.Substring(0, idxStart);
+ //}
+ //DBManage.AddOperation(_record, SelectOperationData);
+ }
+
+ private void 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)
+ {
+ panel8.VerticalScroll.Value = 0;
+ //if (templateManage != null)
+ // templateManage.SetPYL();
+ if (_record != null && _record.StateName == "手术中" && State != AIMSExtension.EditState.BROWSE)
+ {
+ DisposeTimer();
+ }
+ }
+ else
+ {
+ if (_record != null && _record.StateName == "手术中" && State != AIMSExtension.EditState.BROWSE)
+ {
+ StartTimer();
+ }
+ }
+ }
+
+
+ private void plPrint_Click(object sender, EventArgs e)
+ {
+ if (_record == null || _record.Id == 0) return;
+ //if (txtOutRoom.Focused)
+ //{
+ // zgcAnaesRecord.Focus();
+ //}
+
+ if (superTabMain.SelectedTab.Name == "spTabQXQDD")
+ {
+ SaveInstrument(sender);
+ }
+ else
+ {
+ SaveInstrument2(sender);
+ }
+ try
+ {
+ mPanes = new List();
+ UpPanes = new List();
+ PrintDocPage(null, null);
+ count = 0;
+ m_PageIndex = 0;
+ 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 System.Drawing.Printing.Margins(0, 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;
+ pDlg.AllowSomePages = true;
+ if (pDlg.ShowDialog() == System.Windows.Forms.DialogResult.OK)
+ {
+ pDoc.Print();
+ }
+
+ plRefresh_Click(null, null);
+ }
+ catch (Exception exp)
+ {
+ PublicMethod.WriteLog(exp, "");
+ }
+ }
+
+ #endregion
+ }
+}
diff --git a/AIMS/OperationAanesthesia/frmInstrumentRecord2.resx b/AIMS/OperationAanesthesia/frmInstrumentRecord2.resx
new file mode 100644
index 0000000..e6263d6
--- /dev/null
+++ b/AIMS/OperationAanesthesia/frmInstrumentRecord2.resx
@@ -0,0 +1,414 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 62
+
+
+
+
+ AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAABMLAAATCwAAAAAAAAAA
+ AAD/////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////+//38/P/9+/r//v38////
+ /v//////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////v5
+ 9//q2tD/4sq6/+rc0v/7+ff/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////37ef/5LGP/+Kdbv/jsZD/9uzl//7/////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////8+/r/79vO/+OZZv/jk1z/45lm/+nQwP/69/b/////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////+fb0/+bLuf/jlF3/45Nc/+OT
+ Xf/gvaT/9vHt////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////fy
+ 7//hv6r/45Re/+OTXP/jlF3/36+N//bs5f//////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////27+r/3rac/+OUXf/jk1z/45Nd/+Omff/y4dX//f39////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////9uzl/96ujf/jlF3/45Nc/+OTXP/mnWz/58q2//fz
+ 8f//////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////fp4P/hp4D/45Nd/+OT
+ XP/jk1z/45Ja/9+0l//z6uX/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////7/
+ ///14tX/5qFy/+OTXP/jk1z/4pJb/+OSW//fp4H/8+PZ////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////5+Pf/68+7/+OSW//jk1z/4pJc/92OWP/hkVv/5KBx//LZyf/9/f7/////////
+ ///////////////////////////////////////////////+/v/9+/r/+/j1//z39P/8+PX//Pn3//79
+ /f//////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////9vLv/+TDq//jklv/4pJb/+GRW//djlj/4JBa/+OS
+ Wv/kvaL/9O7q///////////////////////////////////////////////////////59vT/69nN/9+7
+ ov/gtZf/37id/+HGsv/17Ob//fz7////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////Ts6P/guJ7/45Jb/+KT
+ XP/fkFr/3I5Y/+CRWv/jkVn/36yJ//Dj2f//////////////////////////////////////////////
+ ///38/H/6c68/+Knfv/il2P/4pdi/+KXY//jmmn/6bGM//Di2P/8+/r/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///z5+D/3q6O/+OSW//ilmH/3q2M/+O8ov/mqH//5JZh/+Cid//x28z/////////////////////////
+ ////////////////////////7NvP/+CqhP/jlF7/45Jb/+OTW//jk1v/45Nc/+SYY//jtZT/+O/p////
+ ////////////////////////////////////////////////////////////////////////+PLv/+nP
+ v//vwqP/78Kj/+/Co//vwqP/78Kj/+/Co//vwqP/78Kj/+/Co//vwaP/7cKl/+vOu//8+vj/////////
+ ////////////////////////8+TZ/9+ngP/jklr/45lm/+bOv//27ef/57mb/+KYZf/lnm7/7tC8//r6
+ +f//////+fLu/+jKtv/vwqT/78Kj/+/Co//vwqP/78Kk/+m1k//jnm//45Ja/+OTXP/jk1z/45Nc/+OT
+ XP/jk1z/4pln/+nPvf/59vT/////////////////////////////////////////////////////////
+ //////////////Xt6f/et57/5Jhk/+SYZP/kmGT/5Jhk/+SYZP/kmGT/5Jhk/+SYZP/kmGT/5Jhk/+OZ
+ Zv/ipHr/7d7U//38+/////////////////////////////bh0//koXT/45Re/+iofv/06+X//fz7/+TD
+ rf/hm2r/5JVf/+W5nP/y6ub//Pz7/+/d0P/jqYH/5Jhl/+SYZP/kmGT/5Jhk/+SYZP/lmWb/5JZh/+OT
+ XP/jk1z/45Nc/+OTXP/jk1z/45Nc/+OTW//guqL/9u/r////////////////////////////////////
+ ///////////////////////////////////17ej/3ree/+WaaP/lmmf/5Zpn/+WaZ//lmmf/5Zpn/+Wa
+ Z//lmmf/5Ztp/+WZZv/jklr/45hk/+HFsf/8+ff///////////////////////z9/f/y2sn/5qBx/+SW
+ Yf/rsov//fn2//7+/v/l0MH/4Z9x/+OPVv/fpoD/7d3S//by7//jwar/5pxq/+Wda//lmmj/5Zpn/+Wa
+ Z//lmmf/5Zxq/+SYY//jk1v/45Nc/+OTXP/jk1z/45Nc/+OTXP/jk1v/4Luj//bw7P//////////////
+ ////////////////////////////////////////////////////////+fXy/+3Yy//yzbT/8s20//LN
+ tP/yzbT/8s20//LNtP/yzbT/8s61/+3GrP/krIf/45Ja/+KXY//guZ3//Pj1////////////////////
+ ///39PL/6cmz/+WaZ//jlmH/6LOO//76+P//////7eLb/+Wthf/jlF3/4Z9x//DVw//06uP/3qyK/+SV
+ YP/prIP/8cux//LNtP/yzbT/8s62/+m5mv/jnW7/45Ja/+OTXP/jk1z/45Nc/+OTXP/jk1z/5Jto/+bK
+ t//49PL/////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////18e7/5MOt/+SXYv/jlmH/5LCN//ny
+ 7f//////////////////////8uzo/+K5nf/jkFf/4pdk/+O4mf/9+/n///////j29P/pwKT/45po/+Wb
+ af/wy7P/8dzO/+Kjef/jlmH/6LGM//369//////////////////t3ND/4ayI/+KVYP/jklr/45Jb/+OS
+ W//jk1v/5Jlm/+Sxjv/w4dj//Pv6////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////+vn4/+7Z
+ yv/lpHj/5JVf/+ene//u4NX//Pv6//////////////////Dl3f/fr4//45FZ/+KZZ//hwKj//fv6////
+ ////////5su4/+Cdb//lmWX/5rCM/+a1lv/mnWz/4pdk/+O4nP/9+vj/////////////////+Pb0/+vU
+ xP/irYj/4Zlo/+KYZP/imGX/4p5w/+i1kv/o08b/+vf1////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////26eH/36mE/+OTXP/jl2P/5Mq6//r39v/////////////////v3tL/3qV//+OR
+ Wf/inGz/482+//38+////////////+jWzP/hpn7/45Jb/+GRWv/hklv/45Nc/+Oeb//kzb7//fz7////
+ ///////////////////7+fj/7d/W/+LBqv/muJj/5rqc/+PLuf/v5d7//fz7////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////9e3n/96zlf/jk13/45Zh/9+8pf/59fH/////////
+ ////////8drK/+GhdP/jkln/5KJ0/+zf1//+/f3////////////x6uT/57qc/+KYZv/gkFn/4pJb/+SX
+ Y//ptJD/9e7q//7+/v////////////////////////////7+/f/+/fz//vz7//78+//+/fz//v7+////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////fy7//iwav/45Re/+OV
+ YP/fsJD/+fLt//////////////////TYxP/lnWz/5JZh/+u1kf/69vT////+/////////////////+vI
+ sv/gmmv/4pFa/+OSW//imWb/5ryg//78+///////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///6+Pb/69XH/+ekd//jlWD/5qmB//Tn3v/9/f3///////n5+P/uzrn/5p1s/+OXY//ruZj//v38////
+ ///////////////////p0sH/36F2/+OSWv/jklr/4Z1u/+PJuP/+/v3/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////v////br4//iq4f/45Vf/+SZZv/p0cH/+vj2///////z7ur/5rye/+ST
+ XP/imWb/5r6h///+/f//////////////////////7N/V/+GqhP/jkFf/5Jdi/+ewi//r39f//v7+////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////48u3/3rWY/+OVX//jlF3/4L+p//fy
+ 7///////7uPc/+CujP/jkFf/4Ztr/+PDrf/+/v3///////////////////////Tv7P/pvqH/5Zdi/+KZ
+ Zv/nv6T/+vj2////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////+fXy/+HC
+ rP/jlV//45Rd/96ylf/27uj//////+zZzf/fpX7/45FY/+GecP/kzLz//v7+////////////////////
+ ///9/f3/7NTF/9+phv/grYr/69fJ////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////v59//p1cb/5Z9w/+OUXv/hqYT/9ejf///////u1MH/4J9z/+OQV//jonb/6drQ///+
+ /v////////////////////////////bv6//t28//8N/T//fz8P//////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////+/f3/9erj/+WtiP/jlmD/5J1u/+7Xyf/7/f7/8dG7/+Oc
+ a//jk1z/6LCJ//Tv6///////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////v28v/ftZf/4pZi/+OS
+ Wv/kvqX/8ube//DIrf/lm2j/45hk/+3Aov//////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///7+PX/4MKs/+KXZP/jklv/3qR9/+S0lP/mrIP/5Jll/+GZaP/pwqj/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////Pr5/+bSxP/knGv/4pFc/9+QWv/gkVv/35Ba/+CPWP/gnW//5sm1////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////79/f/06uX/6K+J/+OVYP/gkVr/35Ba/+CQ
+ Wv/ikFj/4KJ2/+bSw///////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////////////////////Pn2/+O4
+ mv/il2T/349Y/9+QWf/gkFr/4pBZ/+Knfv/p29L/////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////37+f/hwq3/4ppo/+KRWv/fj1n/349Z/+SYZf/ouJj/7+fi////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////9/Pv/5dLF/+OcbP/jklr/4pJb/+KRWv/kmmj/7saq//z8
+ +///////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////v39//Ho4v/nrYX/45Vg/+OT
+ XP/jklv/4pxs/+3LtP//////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///7+ff/5rue/+KZZv/jklv/45Ja/+Cfc//qz73/////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////v39/+PEsP/hm2v/45Ja/+ORWf/fpHz/6dbJ////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////7+/f/l0cX/4p9x/+OSWf/jkVj/4aqF/+zf
+ 1///////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////////////////v7/7uXf/+Wq
+ gf/jk1z/5JNc/+W1lP/w6eT/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////v6+f/qv6H/45hl/+Scav/ryK//9/Xz////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////58u3/+Ghdf/go3n/7tfG////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////Tu6v/m0cT/5M7A//Pr
+ 5f//////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///+/f3//Pr4//v5+P/9/fz/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+
+
+
\ No newline at end of file
diff --git a/AIMS/OperationAanesthesia/oldSystemCode/frmSelectPatientGoodsBill.Designer.cs b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.Designer.cs
similarity index 100%
rename from AIMS/OperationAanesthesia/oldSystemCode/frmSelectPatientGoodsBill.Designer.cs
rename to AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.Designer.cs
diff --git a/AIMS/OperationAanesthesia/oldSystemCode/frmSelectPatientGoodsBill.cs b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs
similarity index 100%
rename from AIMS/OperationAanesthesia/oldSystemCode/frmSelectPatientGoodsBill.cs
rename to AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.cs
diff --git a/AIMS/OperationAanesthesia/oldSystemCode/frmSelectPatientGoodsBill.resx b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.resx
similarity index 100%
rename from AIMS/OperationAanesthesia/oldSystemCode/frmSelectPatientGoodsBill.resx
rename to AIMS/OperationAanesthesia/frmSelectPatientGoodsBill.resx
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.Designer.cs b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.Designer.cs
new file mode 100644
index 0000000..e30e136
--- /dev/null
+++ b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.Designer.cs
@@ -0,0 +1,597 @@
+namespace AIMS.OperationAanesthesia
+{
+ partial class frmSelectPatientGoodsBill2
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmSelectPatientGoodsBill2));
+ this.panel1 = new System.Windows.Forms.Panel();
+ this.txtquery = new DevComponents.DotNetBar.Controls.TextBoxX();
+ this.btnQuery = new DevComponents.DotNetBar.ButtonX();
+ this.label4 = new System.Windows.Forms.Label();
+ this.label1 = new System.Windows.Forms.Label();
+ this.label2 = new System.Windows.Forms.Label();
+ this.cboRoom = new System.Windows.Forms.ComboBox();
+ this.btnFrontDay = new System.Windows.Forms.Button();
+ this.btnNextDay = new System.Windows.Forms.Button();
+ this.dtpSelectPatientTime = new System.Windows.Forms.DateTimePicker();
+ this.groupBox1 = new System.Windows.Forms.GroupBox();
+ this.panel2 = new System.Windows.Forms.Panel();
+ this.buttonX2 = new DevComponents.DotNetBar.ButtonX();
+ this.buttonX1 = new DevComponents.DotNetBar.ButtonX();
+ this.txtState = new System.Windows.Forms.Label();
+ this.txttime = new System.Windows.Forms.Label();
+ this.txtage = new System.Windows.Forms.Label();
+ this.txtsex = new System.Windows.Forms.Label();
+ this.txtdept = new System.Windows.Forms.Label();
+ this.txtNo = new System.Windows.Forms.Label();
+ this.txths = new System.Windows.Forms.Label();
+ this.txtmzys = new System.Windows.Forms.Label();
+ this.txtzdys = new System.Windows.Forms.Label();
+ this.txtss = new System.Windows.Forms.Label();
+ this.txtzd = new System.Windows.Forms.Label();
+ this.txtname = new System.Windows.Forms.Label();
+ this.label5 = new System.Windows.Forms.Label();
+ this.txtRoom = new System.Windows.Forms.Label();
+ this.label11 = new System.Windows.Forms.Label();
+ this.label15 = new System.Windows.Forms.Label();
+ this.label21 = new System.Windows.Forms.Label();
+ this.label9 = new System.Windows.Forms.Label();
+ this.label19 = new System.Windows.Forms.Label();
+ this.label13 = new System.Windows.Forms.Label();
+ this.label25 = new System.Windows.Forms.Label();
+ this.label17 = new System.Windows.Forms.Label();
+ this.label23 = new System.Windows.Forms.Label();
+ this.txtType = new System.Windows.Forms.Label();
+ this.label3 = new System.Windows.Forms.Label();
+ this.groupBox2 = new System.Windows.Forms.GroupBox();
+ this.panel3 = new System.Windows.Forms.Panel();
+ this.panel1.SuspendLayout();
+ this.groupBox1.SuspendLayout();
+ this.panel2.SuspendLayout();
+ this.groupBox2.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // panel1
+ //
+ this.panel1.BackColor = System.Drawing.Color.AliceBlue;
+ this.panel1.Controls.Add(this.txtquery);
+ this.panel1.Controls.Add(this.btnQuery);
+ this.panel1.Controls.Add(this.label4);
+ this.panel1.Controls.Add(this.label1);
+ this.panel1.Controls.Add(this.label2);
+ this.panel1.Controls.Add(this.cboRoom);
+ this.panel1.Controls.Add(this.btnFrontDay);
+ this.panel1.Controls.Add(this.btnNextDay);
+ this.panel1.Controls.Add(this.dtpSelectPatientTime);
+ this.panel1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.panel1.Font = new System.Drawing.Font("宋体", 10.5F);
+ this.panel1.Location = new System.Drawing.Point(0, 0);
+ this.panel1.Name = "panel1";
+ this.panel1.Size = new System.Drawing.Size(1054, 39);
+ this.panel1.TabIndex = 0;
+ //
+ // txtquery
+ //
+ //
+ //
+ //
+ this.txtquery.Border.Class = "TextBoxBorder";
+ this.txtquery.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.txtquery.Location = new System.Drawing.Point(540, 9);
+ this.txtquery.Name = "txtquery";
+ this.txtquery.PreventEnterBeep = true;
+ this.txtquery.Size = new System.Drawing.Size(100, 23);
+ this.txtquery.TabIndex = 12;
+ //
+ // btnQuery
+ //
+ this.btnQuery.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.btnQuery.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.btnQuery.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
+ this.btnQuery.Location = new System.Drawing.Point(646, 10);
+ this.btnQuery.Name = "btnQuery";
+ this.btnQuery.Size = new System.Drawing.Size(80, 23);
+ this.btnQuery.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.btnQuery.TabIndex = 11;
+ this.btnQuery.Text = "查询";
+ this.btnQuery.Click += new System.EventHandler(this.btnQuery_Click);
+ //
+ // label4
+ //
+ this.label4.AutoSize = true;
+ this.label4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label4.Location = new System.Drawing.Point(471, 9);
+ this.label4.Name = "label4";
+ this.label4.Size = new System.Drawing.Size(65, 20);
+ this.label4.TabIndex = 10;
+ this.label4.Text = "患者查询";
+ //
+ // label1
+ //
+ this.label1.AutoSize = true;
+ this.label1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label1.Location = new System.Drawing.Point(12, 9);
+ this.label1.Name = "label1";
+ this.label1.Size = new System.Drawing.Size(65, 20);
+ this.label1.TabIndex = 7;
+ this.label1.Text = "手术日期";
+ //
+ // label2
+ //
+ this.label2.AutoSize = true;
+ this.label2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.label2.Location = new System.Drawing.Point(291, 8);
+ this.label2.Name = "label2";
+ this.label2.Size = new System.Drawing.Size(51, 20);
+ this.label2.TabIndex = 6;
+ this.label2.Text = "手术间";
+ //
+ // cboRoom
+ //
+ this.cboRoom.FormattingEnabled = true;
+ this.cboRoom.Location = new System.Drawing.Point(345, 8);
+ this.cboRoom.Name = "cboRoom";
+ this.cboRoom.Size = new System.Drawing.Size(121, 22);
+ this.cboRoom.TabIndex = 5;
+ //
+ // btnFrontDay
+ //
+ this.btnFrontDay.BackColor = System.Drawing.Color.Transparent;
+ this.btnFrontDay.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnFrontDay.BackgroundImage")));
+ this.btnFrontDay.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnFrontDay.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnFrontDay.FlatAppearance.BorderSize = 0;
+ this.btnFrontDay.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnFrontDay.Location = new System.Drawing.Point(213, 7);
+ this.btnFrontDay.Name = "btnFrontDay";
+ this.btnFrontDay.Size = new System.Drawing.Size(34, 24);
+ this.btnFrontDay.TabIndex = 2;
+ this.btnFrontDay.UseVisualStyleBackColor = false;
+ this.btnFrontDay.Click += new System.EventHandler(this.btnFrontDay_Click);
+ //
+ // btnNextDay
+ //
+ this.btnNextDay.BackColor = System.Drawing.Color.Transparent;
+ this.btnNextDay.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("btnNextDay.BackgroundImage")));
+ this.btnNextDay.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
+ this.btnNextDay.Cursor = System.Windows.Forms.Cursors.Hand;
+ this.btnNextDay.FlatAppearance.BorderSize = 0;
+ this.btnNextDay.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
+ this.btnNextDay.Location = new System.Drawing.Point(251, 7);
+ this.btnNextDay.Name = "btnNextDay";
+ this.btnNextDay.Size = new System.Drawing.Size(34, 24);
+ this.btnNextDay.TabIndex = 1;
+ this.btnNextDay.UseVisualStyleBackColor = false;
+ this.btnNextDay.Click += new System.EventHandler(this.btnNext_Click);
+ //
+ // dtpSelectPatientTime
+ //
+ this.dtpSelectPatientTime.CustomFormat = "yyyy-MM-dd";
+ this.dtpSelectPatientTime.Format = System.Windows.Forms.DateTimePickerFormat.Custom;
+ this.dtpSelectPatientTime.Location = new System.Drawing.Point(79, 9);
+ this.dtpSelectPatientTime.Name = "dtpSelectPatientTime";
+ this.dtpSelectPatientTime.Size = new System.Drawing.Size(111, 23);
+ this.dtpSelectPatientTime.TabIndex = 0;
+ this.dtpSelectPatientTime.ValueChanged += new System.EventHandler(this.dtpSelectPatientTime_ValueChanged);
+ //
+ // groupBox1
+ //
+ this.groupBox1.BackColor = System.Drawing.Color.AliceBlue;
+ this.groupBox1.Controls.Add(this.panel2);
+ this.groupBox1.Dock = System.Windows.Forms.DockStyle.Top;
+ this.groupBox1.Location = new System.Drawing.Point(0, 39);
+ this.groupBox1.Name = "groupBox1";
+ this.groupBox1.Size = new System.Drawing.Size(1054, 103);
+ this.groupBox1.TabIndex = 1;
+ this.groupBox1.TabStop = false;
+ this.groupBox1.Text = "患者信息";
+ //
+ // panel2
+ //
+ this.panel2.AutoScroll = true;
+ this.panel2.Controls.Add(this.buttonX2);
+ this.panel2.Controls.Add(this.buttonX1);
+ this.panel2.Controls.Add(this.txtState);
+ this.panel2.Controls.Add(this.txttime);
+ this.panel2.Controls.Add(this.txtage);
+ this.panel2.Controls.Add(this.txtsex);
+ this.panel2.Controls.Add(this.txtdept);
+ this.panel2.Controls.Add(this.txtNo);
+ this.panel2.Controls.Add(this.txths);
+ this.panel2.Controls.Add(this.txtmzys);
+ this.panel2.Controls.Add(this.txtzdys);
+ this.panel2.Controls.Add(this.txtss);
+ this.panel2.Controls.Add(this.txtzd);
+ this.panel2.Controls.Add(this.txtname);
+ this.panel2.Controls.Add(this.label5);
+ this.panel2.Controls.Add(this.txtRoom);
+ this.panel2.Controls.Add(this.label11);
+ this.panel2.Controls.Add(this.label15);
+ this.panel2.Controls.Add(this.label21);
+ this.panel2.Controls.Add(this.label9);
+ this.panel2.Controls.Add(this.label19);
+ this.panel2.Controls.Add(this.label13);
+ this.panel2.Controls.Add(this.label25);
+ this.panel2.Controls.Add(this.label17);
+ this.panel2.Controls.Add(this.label23);
+ this.panel2.Controls.Add(this.txtType);
+ this.panel2.Controls.Add(this.label3);
+ this.panel2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel2.Location = new System.Drawing.Point(3, 17);
+ this.panel2.Name = "panel2";
+ this.panel2.Size = new System.Drawing.Size(1048, 83);
+ this.panel2.TabIndex = 0;
+ this.panel2.Visible = false;
+ //
+ // buttonX2
+ //
+ this.buttonX2.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.buttonX2.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.buttonX2.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.buttonX2.Location = new System.Drawing.Point(908, 14);
+ this.buttonX2.Name = "buttonX2";
+ this.buttonX2.Size = new System.Drawing.Size(95, 54);
+ this.buttonX2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.buttonX2.TabIndex = 6;
+ this.buttonX2.Text = "切换手术间";
+ this.buttonX2.Click += new System.EventHandler(this.buttonX2_Click);
+ //
+ // buttonX1
+ //
+ this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton;
+ this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground;
+ this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 11.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.buttonX1.Location = new System.Drawing.Point(781, 14);
+ this.buttonX1.Name = "buttonX1";
+ this.buttonX1.Size = new System.Drawing.Size(121, 54);
+ this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.buttonX1.TabIndex = 6;
+ this.buttonX1.Text = "查看器械清点单";
+ this.buttonX1.Click += new System.EventHandler(this.buttonX1_Click);
+ //
+ // txtState
+ //
+ this.txtState.AutoSize = true;
+ this.txtState.Font = new System.Drawing.Font("微软雅黑", 14F, System.Drawing.FontStyle.Bold);
+ this.txtState.ForeColor = System.Drawing.Color.Red;
+ this.txtState.Location = new System.Drawing.Point(687, 24);
+ this.txtState.Name = "txtState";
+ this.txtState.Size = new System.Drawing.Size(69, 26);
+ this.txtState.TabIndex = 5;
+ this.txtState.Text = "手术中";
+ //
+ // txttime
+ //
+ this.txttime.AutoSize = true;
+ this.txttime.Location = new System.Drawing.Point(607, 14);
+ this.txttime.Name = "txttime";
+ this.txttime.Size = new System.Drawing.Size(11, 12);
+ this.txttime.TabIndex = 5;
+ this.txttime.Text = " ";
+ //
+ // txtage
+ //
+ this.txtage.AutoSize = true;
+ this.txtage.Location = new System.Drawing.Point(454, 14);
+ this.txtage.Name = "txtage";
+ this.txtage.Size = new System.Drawing.Size(11, 12);
+ this.txtage.TabIndex = 5;
+ this.txtage.Text = " ";
+ //
+ // txtsex
+ //
+ this.txtsex.AutoSize = true;
+ this.txtsex.Location = new System.Drawing.Point(375, 14);
+ this.txtsex.Name = "txtsex";
+ this.txtsex.Size = new System.Drawing.Size(11, 12);
+ this.txtsex.TabIndex = 5;
+ this.txtsex.Text = " ";
+ //
+ // txtdept
+ //
+ this.txtdept.AutoSize = true;
+ this.txtdept.Location = new System.Drawing.Point(115, 34);
+ this.txtdept.Name = "txtdept";
+ this.txtdept.Size = new System.Drawing.Size(11, 12);
+ this.txtdept.TabIndex = 5;
+ this.txtdept.Text = " ";
+ //
+ // txtNo
+ //
+ this.txtNo.AutoSize = true;
+ this.txtNo.Location = new System.Drawing.Point(127, 14);
+ this.txtNo.Name = "txtNo";
+ this.txtNo.Size = new System.Drawing.Size(11, 12);
+ this.txtNo.TabIndex = 5;
+ this.txtNo.Text = " ";
+ //
+ // txths
+ //
+ this.txths.AutoSize = true;
+ this.txths.Location = new System.Drawing.Point(535, 34);
+ this.txths.Name = "txths";
+ this.txths.Size = new System.Drawing.Size(11, 12);
+ this.txths.TabIndex = 5;
+ this.txths.Text = " ";
+ //
+ // txtmzys
+ //
+ this.txtmzys.AutoSize = true;
+ this.txtmzys.Location = new System.Drawing.Point(397, 34);
+ this.txtmzys.Name = "txtmzys";
+ this.txtmzys.Size = new System.Drawing.Size(11, 12);
+ this.txtmzys.TabIndex = 5;
+ this.txtmzys.Text = " ";
+ //
+ // txtzdys
+ //
+ this.txtzdys.AutoSize = true;
+ this.txtzdys.Location = new System.Drawing.Point(261, 34);
+ this.txtzdys.Name = "txtzdys";
+ this.txtzdys.Size = new System.Drawing.Size(11, 12);
+ this.txtzdys.TabIndex = 5;
+ this.txtzdys.Text = " ";
+ //
+ // txtss
+ //
+ this.txtss.AutoSize = true;
+ this.txtss.Location = new System.Drawing.Point(454, 56);
+ this.txtss.Name = "txtss";
+ this.txtss.Size = new System.Drawing.Size(11, 12);
+ this.txtss.TabIndex = 5;
+ this.txtss.Text = " ";
+ //
+ // txtzd
+ //
+ this.txtzd.AutoSize = true;
+ this.txtzd.Location = new System.Drawing.Point(134, 56);
+ this.txtzd.Name = "txtzd";
+ this.txtzd.Size = new System.Drawing.Size(11, 12);
+ this.txtzd.TabIndex = 5;
+ this.txtzd.Text = " ";
+ //
+ // txtname
+ //
+ this.txtname.AutoSize = true;
+ this.txtname.Location = new System.Drawing.Point(261, 14);
+ this.txtname.Name = "txtname";
+ this.txtname.Size = new System.Drawing.Size(11, 12);
+ this.txtname.TabIndex = 5;
+ this.txtname.Text = " ";
+ //
+ // label5
+ //
+ this.label5.AutoSize = true;
+ this.label5.Location = new System.Drawing.Point(525, 14);
+ this.label5.Name = "label5";
+ this.label5.Size = new System.Drawing.Size(77, 12);
+ this.label5.TabIndex = 5;
+ this.label5.Text = "申请预约时间";
+ //
+ // txtRoom
+ //
+ this.txtRoom.AutoSize = true;
+ this.txtRoom.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold);
+ this.txtRoom.Location = new System.Drawing.Point(10, 23);
+ this.txtRoom.Name = "txtRoom";
+ this.txtRoom.Size = new System.Drawing.Size(49, 19);
+ this.txtRoom.TabIndex = 5;
+ this.txtRoom.Text = "一间";
+ //
+ // label11
+ //
+ this.label11.AutoSize = true;
+ this.label11.Location = new System.Drawing.Point(421, 14);
+ this.label11.Name = "label11";
+ this.label11.Size = new System.Drawing.Size(29, 12);
+ this.label11.TabIndex = 5;
+ this.label11.Text = "年龄";
+ //
+ // label15
+ //
+ this.label15.AutoSize = true;
+ this.label15.Location = new System.Drawing.Point(75, 34);
+ this.label15.Name = "label15";
+ this.label15.Size = new System.Drawing.Size(29, 12);
+ this.label15.TabIndex = 5;
+ this.label15.Text = "科室";
+ //
+ // label21
+ //
+ this.label21.AutoSize = true;
+ this.label21.Location = new System.Drawing.Point(476, 34);
+ this.label21.Name = "label21";
+ this.label21.Size = new System.Drawing.Size(53, 12);
+ this.label21.TabIndex = 5;
+ this.label21.Text = "术中护士";
+ //
+ // label9
+ //
+ this.label9.AutoSize = true;
+ this.label9.Location = new System.Drawing.Point(342, 14);
+ this.label9.Name = "label9";
+ this.label9.Size = new System.Drawing.Size(29, 12);
+ this.label9.TabIndex = 5;
+ this.label9.Text = "性别";
+ //
+ // label19
+ //
+ this.label19.AutoSize = true;
+ this.label19.Location = new System.Drawing.Point(338, 34);
+ this.label19.Name = "label19";
+ this.label19.Size = new System.Drawing.Size(53, 12);
+ this.label19.TabIndex = 5;
+ this.label19.Text = "麻醉医生";
+ //
+ // label13
+ //
+ this.label13.AutoSize = true;
+ this.label13.Location = new System.Drawing.Point(75, 14);
+ this.label13.Name = "label13";
+ this.label13.Size = new System.Drawing.Size(41, 12);
+ this.label13.TabIndex = 5;
+ this.label13.Text = "住院号";
+ //
+ // label25
+ //
+ this.label25.AutoSize = true;
+ this.label25.Location = new System.Drawing.Point(395, 56);
+ this.label25.Name = "label25";
+ this.label25.Size = new System.Drawing.Size(53, 12);
+ this.label25.TabIndex = 5;
+ this.label25.Text = "拟施手术";
+ //
+ // label17
+ //
+ this.label17.AutoSize = true;
+ this.label17.Location = new System.Drawing.Point(202, 34);
+ this.label17.Name = "label17";
+ this.label17.Size = new System.Drawing.Size(53, 12);
+ this.label17.TabIndex = 5;
+ this.label17.Text = "主刀医生";
+ //
+ // label23
+ //
+ this.label23.AutoSize = true;
+ this.label23.Location = new System.Drawing.Point(75, 56);
+ this.label23.Name = "label23";
+ this.label23.Size = new System.Drawing.Size(53, 12);
+ this.label23.TabIndex = 5;
+ this.label23.Text = "术前诊断";
+ //
+ // txtType
+ //
+ this.txtType.AutoSize = true;
+ this.txtType.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+ this.txtType.ForeColor = System.Drawing.Color.Red;
+ this.txtType.Location = new System.Drawing.Point(22, 52);
+ this.txtType.Name = "txtType";
+ this.txtType.Size = new System.Drawing.Size(23, 16);
+ this.txtType.TabIndex = 5;
+ this.txtType.Text = "急";
+ //
+ // label3
+ //
+ this.label3.AutoSize = true;
+ this.label3.Location = new System.Drawing.Point(202, 14);
+ this.label3.Name = "label3";
+ this.label3.Size = new System.Drawing.Size(53, 12);
+ this.label3.TabIndex = 5;
+ this.label3.Text = "患者姓名";
+ //
+ // groupBox2
+ //
+ this.groupBox2.BackColor = System.Drawing.Color.AliceBlue;
+ this.groupBox2.Controls.Add(this.panel3);
+ this.groupBox2.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.groupBox2.Location = new System.Drawing.Point(0, 142);
+ this.groupBox2.Name = "groupBox2";
+ this.groupBox2.Size = new System.Drawing.Size(1054, 495);
+ this.groupBox2.TabIndex = 2;
+ this.groupBox2.TabStop = false;
+ this.groupBox2.Text = "手术患者";
+ //
+ // panel3
+ //
+ this.panel3.AutoScroll = true;
+ this.panel3.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.panel3.Location = new System.Drawing.Point(3, 17);
+ this.panel3.Name = "panel3";
+ this.panel3.Size = new System.Drawing.Size(1048, 475);
+ this.panel3.TabIndex = 0;
+ //
+ // frmSelectPatientGoodsBill2
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(1054, 637);
+ this.Controls.Add(this.groupBox2);
+ this.Controls.Add(this.groupBox1);
+ this.Controls.Add(this.panel1);
+ this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
+ this.MaximizeBox = false;
+ this.MinimizeBox = false;
+ this.Name = "frmSelectPatientGoodsBill2";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
+ this.Text = "选择患者";
+ this.Load += new System.EventHandler(this.frmSelectPatientGoodsBill2_Load);
+ this.panel1.ResumeLayout(false);
+ this.panel1.PerformLayout();
+ this.groupBox1.ResumeLayout(false);
+ this.panel2.ResumeLayout(false);
+ this.panel2.PerformLayout();
+ this.groupBox2.ResumeLayout(false);
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private System.Windows.Forms.Panel panel1;
+ private System.Windows.Forms.DateTimePicker dtpSelectPatientTime;
+ private System.Windows.Forms.Button btnNextDay;
+ private System.Windows.Forms.Button btnFrontDay;
+ private System.Windows.Forms.GroupBox groupBox1;
+ private System.Windows.Forms.GroupBox groupBox2;
+ private System.Windows.Forms.Panel panel2;
+ private System.Windows.Forms.Panel panel3;
+ private System.Windows.Forms.Label label2;
+ private System.Windows.Forms.ComboBox cboRoom;
+ private System.Windows.Forms.Label label1;
+ private DevComponents.DotNetBar.ButtonX buttonX1;
+ private System.Windows.Forms.Label txtState;
+ private System.Windows.Forms.Label txttime;
+ private System.Windows.Forms.Label txtage;
+ private System.Windows.Forms.Label txtsex;
+ private System.Windows.Forms.Label txtdept;
+ private System.Windows.Forms.Label txtNo;
+ private System.Windows.Forms.Label txths;
+ private System.Windows.Forms.Label txtmzys;
+ private System.Windows.Forms.Label txtzdys;
+ private System.Windows.Forms.Label txtss;
+ private System.Windows.Forms.Label txtzd;
+ private System.Windows.Forms.Label txtname;
+ private System.Windows.Forms.Label label5;
+ private System.Windows.Forms.Label txtRoom;
+ private System.Windows.Forms.Label label11;
+ private System.Windows.Forms.Label label15;
+ private System.Windows.Forms.Label label21;
+ private System.Windows.Forms.Label label9;
+ private System.Windows.Forms.Label label19;
+ private System.Windows.Forms.Label label13;
+ private System.Windows.Forms.Label label25;
+ private System.Windows.Forms.Label label17;
+ private System.Windows.Forms.Label label23;
+ private System.Windows.Forms.Label txtType;
+ private System.Windows.Forms.Label label3;
+ private DevComponents.DotNetBar.Controls.TextBoxX txtquery;
+ private DevComponents.DotNetBar.ButtonX btnQuery;
+ private System.Windows.Forms.Label label4;
+ private DevComponents.DotNetBar.ButtonX buttonX2;
+ }
+}
\ No newline at end of file
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs
new file mode 100644
index 0000000..7c7f948
--- /dev/null
+++ b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.cs
@@ -0,0 +1,576 @@
+using AIMS.OremrUserControl;
+using AIMSBLL;
+using AIMSExtension;
+using AIMSModel;
+using AxNsoOfficeLib;
+using DrawGraph;
+using System;
+using System.Collections.Generic;
+using System.Data;
+using System.Drawing;
+using System.Net;
+using System.Windows.Forms;
+
+namespace AIMS.OperationAanesthesia
+{
+ public partial class frmSelectPatientGoodsBill2 : Form
+ {
+
+ public int SelPatientId;
+ public int SelApplyId;
+ public bool isMainOpen = false;
+ public AIMS.OperationAanesthesia.frmInstrumentRecord2 tempfrmAnasRecord;
+ List rooms;
+
+ public frmSelectPatientGoodsBill2()
+ {
+ InitializeComponent();
+ }
+
+ private void frmSelectPatientGoodsBill2_Load(object sender, EventArgs e)
+ {
+ rooms = BOperationRoom.GetOperationRooms("IsValid=1 and Site='手术室'");
+ rooms.Insert(0, new OperationRoom() { Id = -1, Name = "" });
+ cboRoom.DataSource = rooms;
+ cboRoom.DisplayMember = "Name";
+ cboRoom.ValueMember = "Id";
+
+ //判断如果当前手术间编号不为空,则显示当前手术间
+ OperationRoom oprm = GetOperationRoom(rooms);
+ if (oprm != null && oprm.Id.Value > 0)
+ {
+ cboRoom.SelectedValue = oprm.Id.Value;
+ cboRoom.Text = oprm.Name.ToString();
+ }
+ if (cboRoom.Text == "" && PublicMethod.SelectRoom != 0)
+ {
+ cboRoom.SelectedValue = PublicMethod.SelectRoom;
+ }
+ FillDgv();
+
+ this.cboRoom.SelectedIndexChanged += new System.EventHandler(this.cboRoom_SelectedIndexChanged);
+ }
+
+
+
+ void dgv_DataError(object sender, DataGridViewDataErrorEventArgs e)
+ {
+
+ }
+
+ private void btnNext_Click(object sender, EventArgs e)
+ {
+ dtpSelectPatientTime.Value = dtpSelectPatientTime.Value.AddDays(1);
+ }
+ private void btnFrontDay_Click(object sender, EventArgs e)
+ {
+ dtpSelectPatientTime.Value = dtpSelectPatientTime.Value.AddDays(-1);
+ }
+
+ private void dtpSelectPatientTime_ValueChanged(object sender, EventArgs e)
+ {
+ FillDgv();
+ }
+
+ private void FillDgv()
+ {
+ panel3.Controls.Clear();
+ panel2.Visible = false;
+
+ DataTable dt = new DataTable();
+ if (txtquery.Text.Trim() != "")
+ dt = SelectPatient.GetSelectPatientDataTable(txtquery.Text);
+ else
+ dt = SelectPatient.GetSelectPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
+
+ DataTable dt2 = new DataTable();
+ if (txtquery.Text.Trim() != "")
+ dt2 = SelectPatient.GetRelieveLockingPatientDataTable(txtquery.Text);
+ else
+ dt2 = SelectPatient.GetRelieveLockingPatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()), cboRoom.SelectedValue.ToString());
+
+ List list = new List();
+ for (int i = 0; i < rooms.Count; i++)
+ {
+ foreach (DataRow dr in dt.Rows)
+ {
+ if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
+ {
+ list.Add(rooms[i].Name);
+ }
+ }
+
+ foreach (DataRow dr in dt2.Rows)
+ {
+ if (dr["OperationRoom"].ToString() == rooms[i].Name && !list.Contains(rooms[i].Name))
+ {
+ list.Add(rooms[i].Name);
+ }
+ }
+ }
+
+ if (cboRoom.Text != "")
+ {
+ int i = 0, j = 0;
+ foreach (DataRow dr in dt.Rows)
+ {
+ if (dr["OperationRoom"].ToString() != cboRoom.Text) continue;
+ ucPatientCard uc = new ucPatientCard(dr);
+ uc.InRoom += Uc_InRoom;
+ uc.QxRoom += Uc_QxRoom;
+ uc.Clicks += Uc_Clicks;
+ if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
+ uc.buttonX1.Enabled = true;
+ else
+ uc.buttonX1.Enabled = false;
+ uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
+ panel3.Controls.Add(uc);
+ j++;
+ if (j == 5)
+ {
+ i++;
+ j = 0;
+ }
+ }
+
+ foreach (DataRow dr in dt2.Rows)
+ {
+ if (dr["OperationRoom"].ToString() != cboRoom.Text) continue;
+ ucPatientCard uc = new ucPatientCard(dr);
+ uc.buttonX1.Text = "器械清点";
+ uc.InRoom += Uc_InRoom;
+ uc.QxRoom += Uc_QxRoom;
+ uc.Clicks += Uc_Clicks;
+ if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
+ uc.buttonX2.Enabled = true;
+ else
+ uc.buttonX2.Enabled = false;
+ uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30);
+ panel3.Controls.Add(uc);
+ j++;
+ if (j == 5)
+ {
+ i++;
+ j = 0;
+ }
+ }
+ }
+ else
+ {
+ for (int i = 0; i < list.Count; i++)
+ {
+ int j = 0;
+ int Pointx = 0;
+ foreach (DataRow dr in dt.Rows)
+ {
+ if (dr["OperationRoom"].ToString() != list[i]) continue;
+ ucPatientCard uc = new ucPatientCard(dr);
+ uc.InRoom += Uc_InRoom;
+ uc.QxRoom += Uc_QxRoom;
+ uc.Clicks += Uc_Clicks;
+ if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
+ uc.buttonX1.Enabled = true;
+ else
+ uc.buttonX1.Enabled = false;
+ uc.Location = new Point((uc.Width + 9) * i, (uc.Height + 10) * j + 30);
+ panel3.Controls.Add(uc);
+ j++; Pointx = (uc.Width + 9) * i;
+ }
+
+ foreach (DataRow dr in dt2.Rows)
+ {
+ if (dr["OperationRoom"].ToString() != list[i]) continue;
+ ucPatientCard uc = new ucPatientCard(dr);
+ uc.buttonX1.Text = "器械清点";
+ uc.InRoom += Uc_InRoom;
+ uc.QxRoom += Uc_QxRoom;
+ uc.Clicks += Uc_Clicks;
+ if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")
+ uc.buttonX2.Enabled = true;
+ else
+ uc.buttonX2.Enabled = false;
+ uc.Location = new Point((uc.Width + 9) * i, (uc.Height + 10) * j + 30);
+ panel3.Controls.Add(uc);
+ j++;
+ Pointx = (uc.Width + 9) * i;
+ }
+
+ if (Pointx > 0)
+ {
+ DevComponents.DotNetBar.Controls.Line line1 = new DevComponents.DotNetBar.Controls.Line();
+ line1.Location = new System.Drawing.Point(Pointx - 10, 0);
+ line1.DashStyle = System.Drawing.Drawing2D.DashStyle.DashDotDot;
+ line1.Size = new System.Drawing.Size(10, panel3.Height);
+ line1.ForeColor = Color.DarkGray;
+ line1.VerticalLine = true;
+ panel3.Controls.Add(line1);
+ }
+ }
+ }
+ }
+
+ public ucPatientCard SelUc;
+
+ private void Uc_Clicks(ucPatientCard uc, int PatientId, int applyId, DataRow dr)
+ {
+ SelPatientId = PatientId;
+ SelApplyId = applyId;
+ txtType.Text = dr["OperationType"].ToString();
+ txtNo.Text = dr["MdrecNo"].ToString();
+ txtname.Text = dr["PatientName"].ToString();
+ txtsex.Text = dr["sex"].ToString();
+ txtage.Text = dr["age"].ToString();
+ txtss.Text = dr["ApplyOperationInfoName"].ToString();
+ txtmzys.Text = dr["AnesthesiaDoctor"].ToString();
+ txttime.Text = dr["OrderOperationTime"].ToString();
+ txtdept.Text = dr["ApplyDepName"].ToString();
+ txtzdys.Text = dr["OperationDoctor"].ToString();
+ txths.Text = dr["InstrumentNurse"].ToString() + " " + dr["TourNurse"].ToString();
+ txtzd.Text = dr["ApplyDiagnoseInfoName"].ToString();
+ txtRoom.Text = dr["OperationRoom"].ToString();
+ txtRoom.Tag = dr["OperationRoomId"].ToString();
+ if (!txtType.Text.Contains("急")) txtType.ForeColor = Color.DarkGreen;
+ else txtType.ForeColor = Color.Red;
+ txtState.Text = dr["State"].ToString();
+ if (txtState.Text == "手术中" || txtState.Text == "手术结束")
+ {
+ label5.Text = "手术开始时间";
+ label23.Text = "术中诊断";
+ label25.Text = "实施手术";
+ }
+ else
+ {
+ label5.Text = "申请预约时间";
+ label23.Text = "术前诊断";
+ label25.Text = "拟施手术";
+ }
+ if (txtRoom.Text != "")
+ uc.buttonX2.Enabled = true;
+ else
+ uc.buttonX2.Enabled = false;
+ buttonX1.Text = uc.buttonX1.Text;
+ panel2.Visible = true;
+ SelUc = uc;
+ }
+
+ private void Uc_InRoom(ucPatientCard uc, int PatientId, int applyId)
+ {
+ string RoomStr = uc.Tag.ToString();
+ if (RoomStr == "")
+ {
+ frmSeleteRoom seleteRoom = new frmSeleteRoom();
+ seleteRoom.ShowDialog();
+ if (seleteRoom.RoomId != null)
+ {
+ RoomStr = seleteRoom.RoomId.ToString();
+ if (RoomStr != null && RoomStr != "")
+ {
+ OperationApply opeapply = BOperationApply.SelectSingle(applyId, RecursiveType.None, 0);
+ opeapply.State = 4;
+ opeapply.OperationRoomId = int.Parse(seleteRoom.RoomId);
+ opeapply.PlanOperationTime = dtpSelectPatientTime.Value;
+ opeapply.PlanOrder = BOperationApply.GetMaxPlanOrder(opeapply.PlanOperationTime.Value, opeapply.OperationRoomId.Value) + 1;
+ BOperationApply.Update(opeapply);
+ }
+ }
+ }
+ if (RoomStr == "") return;
+ SatrtOperation(uc, PatientId, applyId, int.Parse(RoomStr));
+ }
+
+ private void SatrtOperation(ucPatientCard uc, int PatientId, int applyId, int RoomId)
+ {
+ try
+ {
+ string State = uc.buttonX1.Text;
+ if (State == "转入术间")
+ {
+ OperationApply operA = BOperationApply.SelectSingle(applyId);
+ if (operA.State == 11)
+ {
+ MessageBox.Show("当前手术已停止 ,请确认后重新选择!", "系统提示");
+ return;
+ }
+
+ if (uc.lblAnesDoctors.Text != "麻醉医生:" && uc.lblAnesDoctors.Text.Trim() != "麻醉医生")
+ {
+ MessageBox.Show("当前手术已安排麻醉师,请于麻醉师转入后操作", "系统提示");
+ return;
+ }
+
+ DataTable dtOperationRecord = SelectPatient.GetTodayDoOpePatientDataTable(DateTime.Parse(dtpSelectPatientTime.Value.ToString("yyyy-MM-dd").ToString()));
+ foreach (DataRow row in dtOperationRecord.Rows)
+ {
+ if (row["OperationRoomId"].ToString() == operA.OperationRoomId.ToString())
+ {
+ MessageBox.Show("当前有未完成的手术占用手术间,请先选择解锁术中手术!", "系统提示");
+ return;
+ }
+ }
+
+ frmInstrumentRecord2 frmAnasRecord = null;
+ if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null)
+ {
+ frmAnasRecord = tempfrmAnasRecord;
+ frmAnasRecord.ClearRecordDate();
+ }
+ else
+ {
+ frmAnasRecord = new frmInstrumentRecord2();
+ }
+ frmAnasRecord.PatientId = PatientId;
+ frmAnasRecord.ApplyId = applyId;
+ frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(RoomId);
+ frmAnasRecord.State = AIMSExtension.EditState.ADD;
+ SelectPatient.UpdateApplyState(PatientId, applyId); //修改状态
+
+ uc.label2.Text = "手术中";
+ uc.label2.ForeColor = Color.Red;
+ uc.buttonX1.Text = "器械清点";
+ uc.buttonX2.Text = "取消手术";
+ uc.buttonX1.Visible = true;
+ uc.buttonX2.Visible = true;
+ uc.BackColor = Color.OldLace;
+
+ if (isMainOpen == false)
+ {
+ frmAnasRecord.ShowDialog();
+ FillDgv();
+ }
+ else
+ {
+ //if (frmAnasRecord._record != null)
+ // frmAnasRecord.ClearRecordDate();
+ this.Close();
+ }
+
+ }
+ else
+ {
+ frmInstrumentRecord2 frmAnasRecord = null;
+ if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null)
+ {
+ frmAnasRecord = tempfrmAnasRecord;
+ frmAnasRecord.ClearRecordDate();
+ }
+ else
+ {
+ frmAnasRecord = new frmInstrumentRecord2();
+ }
+ frmAnasRecord.PatientId = PatientId;
+ frmAnasRecord.ApplyId = applyId;
+ frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(RoomId);
+ frmAnasRecord.State = AIMSExtension.EditState.BROWSE;
+
+ if (isMainOpen == false)
+ {
+ frmAnasRecord.ShowDialog();
+ FillDgv();
+ }
+ else
+ {
+ this.Close();
+ }
+ }
+ }
+ catch (Exception ex)
+ {
+ AIMSExtension.PublicMethod.WriteLog(ex);
+ }
+ }
+
+ private void Uc_QxRoom(ucPatientCard uc, int RecorId, int PatientId, int applyId)
+ {
+ try
+ {
+ if (uc.lblAnesDoctors.Text != "麻醉医生:" && uc.lblAnesDoctors.Text.Trim() != "麻醉医生")
+ {
+ MessageBox.Show("当前手术已有麻醉师,请麻醉师进行操作!", "系统提示");
+ return;
+ }
+
+ if (uc.buttonX2.Text == "取消手术")
+ {
+ //if (BOperationRecord.GetDataCount(RecorId, PatientId, 1) > 0)
+ //{
+ // MessageBox.Show("清除数据在进行取消转入操作!");
+ // return;
+ //}
+ if (MessageBox.Show("确认要取消手术吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ try
+ {
+ HelperDB.DbHelperSQL.BeginTrans();
+ BOperationApply.UpdateApplyState(applyId, 4);
+ BOperationRecord.DeleteOperationRecordData(RecorId, PatientId, 1);
+ HelperDB.DbHelperSQL.CommitTrans();
+
+ if (isMainOpen == false)
+ {
+ FillDgv();
+ }
+ else
+ {
+ this.Close();
+ }
+ }
+ catch
+ {
+ HelperDB.DbHelperSQL.RollbackTrans();
+ }
+ }
+ }
+ else
+ {
+ if (MessageBox.Show("确认要返回手术吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes)
+ {
+ try
+ {
+ HelperDB.DbHelperSQL.BeginTrans();
+ BOperationApply.UpdateApplyState(applyId, 6);
+ BOperationRecord.UpdateState(PatientId, 1, 1);
+ BOperationRecord.DeleteEvent(PatientId, 8);
+ HelperDB.DbHelperSQL.CommitTrans();
+
+ frmInstrumentRecord2 frmAnasRecord = null;
+ if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null)
+ {
+ frmAnasRecord = tempfrmAnasRecord;
+ frmAnasRecord.ClearRecordDate();
+ }
+ else
+ {
+ frmAnasRecord = new frmInstrumentRecord2();
+ }
+ frmAnasRecord.PatientId = PatientId;
+ frmAnasRecord.ApplyId = applyId;
+ frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(int.Parse(uc.Tag.ToString()));
+ frmAnasRecord.State = AIMSExtension.EditState.EDIT;
+
+ frmAnasRecord._record = new OperationRecord();
+ frmAnasRecord._record.Id = PatientId;
+
+ if (isMainOpen == false)
+ {
+ frmAnasRecord.ShowDialog();
+ FillDgv();
+ }
+ else
+ {
+ //if (frmAnasRecord._record != null)
+ // frmAnasRecord.ClearRecordDate();
+ this.Close();
+ }
+ }
+ catch
+ {
+ HelperDB.DbHelperSQL.RollbackTrans();
+ }
+ }
+
+ }
+ }
+ catch (Exception ex)
+ {
+ AIMSExtension.PublicMethod.WriteLog(ex);
+ }
+ }
+
+ private void cboRoom_SelectedIndexChanged(object sender, EventArgs e)
+ {
+ if (cboRoom.SelectedIndex > 0)
+ {
+ PublicMethod.SelectRoom = Convert.ToInt32(cboRoom.SelectedValue);
+ }
+ else
+ {
+ PublicMethod.SelectRoom = -1;
+ }
+ FillDgv();
+ }
+
+ private void buttonX1_Click(object sender, EventArgs e)
+ {
+ string RoomStr = txtRoom.Tag.ToString();
+ if (RoomStr == "")
+ {
+ frmSeleteRoom seleteRoom = new frmSeleteRoom();
+ seleteRoom.ShowDialog();
+ if (seleteRoom.RoomId != null)
+ {
+ RoomStr = seleteRoom.RoomId.ToString();
+ if (RoomStr != null && RoomStr != "")
+ {
+ OperationApply opeapply = BOperationApply.SelectSingle(SelApplyId, RecursiveType.None, 0);
+ opeapply.State = 4;
+ opeapply.OperationRoomId = int.Parse(seleteRoom.RoomId);
+ opeapply.PlanOperationTime = dtpSelectPatientTime.Value;
+ opeapply.PlanOrder = BOperationApply.GetMaxPlanOrder(opeapply.PlanOperationTime.Value, opeapply.OperationRoomId.Value) + 1;
+ BOperationApply.Update(opeapply);
+ }
+ }
+ }
+ if (RoomStr == "") return;
+ SatrtOperation(SelUc, SelPatientId, SelApplyId, (int.Parse(RoomStr)));
+ }
+
+ public OperationRoom GetOperationRoom(List list)
+ {
+ try
+ {
+ //得到计算机名
+ string strPcName = Dns.GetHostName();
+ //得到本机IP地址数组
+ IPHostEntry ipEntry = Dns.GetHostEntry(strPcName);
+ //遍历数组
+ foreach (OperationRoom room in list)
+ {
+ foreach (var IPadd in ipEntry.AddressList)
+ {
+ //判断当前字符串是否为正确IP地址
+ if (PublicMethod.IsRightIP(IPadd.ToString()))
+ {
+ if (room.Ip == IPadd.ToString() || room.Ip2 == IPadd.ToString() || room.Ip3 == IPadd.ToString())
+ {
+ return room;
+ }
+ }
+ }
+ }
+ return null;
+ }
+ catch (Exception)
+ {
+ return null;
+ }
+ }
+
+ private void btnQuery_Click(object sender, EventArgs e)
+ {
+ FillDgv();
+ }
+
+ private void buttonX2_Click(object sender, EventArgs e)
+ {
+ string RoomStr = txtRoom.Tag.ToString();
+ if (RoomStr != "")
+ {
+ frmSeleteRoom seleteRoom = new frmSeleteRoom();
+ seleteRoom.NowRoomId = RoomStr;
+ seleteRoom.ShowDialog();
+ RoomStr = seleteRoom.RoomId;
+ if (RoomStr != null && RoomStr != "")
+ {
+ txtRoom.Text = seleteRoom.RoomName;
+ txtRoom.Tag = int.Parse(RoomStr);
+ BOperationRecord.Update("RoomId=@RoomId where OperationApplyId=@id ", new AIMSModel.ParameterList("@RoomId", int.Parse(RoomStr), "@id", SelApplyId));
+ BOperationApply.UpdateApplyRoom(SelApplyId, int.Parse(RoomStr), DateTime.Parse(txttime.Text));
+ BOperationApply.UpdteOperationOrder(DateTime.Parse(txttime.Text), int.Parse(RoomStr));
+ FillDgv();
+ panel2.Visible = true;
+ MessageBox.Show("手术间切换成功!");
+ }
+ }
+ }
+ }
+}
diff --git a/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.resx b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.resx
new file mode 100644
index 0000000..1dbb543
--- /dev/null
+++ b/AIMS/OperationAanesthesia/frmSelectPatientGoodsBill2.resx
@@ -0,0 +1,523 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
+ DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
+ bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
+ iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
+ sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
+ yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
+ b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArou
+ S49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5RqP+6+Dcl7u0i
+ vQr43DOI1veH7a/8UuoAYMyKarPrD1vMfgA6tgIgd/8Pm+YhACRFfWu/8cV5aOJ5iRcIUm2MjTMzM424
+ HJaRuKC/6386/A198T0j8Xa/l4fuyollCpMEdHHdWClJKUI+PT2VyeLQDf88xP848K/zWBrIieXwOTxR
+ RKhoyri8OFG7eWyugJvCo3N5/6mJ/zDsT1qca5Eo9Z8ANcoISN2gAuTnPoCiEAESeVDc9d/75oMPBeKb
+ F6Y6sTj3nwX9+65wifiRzo37HOcSGExnCfkZi2viawnQgAAkARXIAxWgAXSBITADVsAWOAI3sAL4gWAQ
+ DtYCFogHyYAPMkEu2AwKQBHYBfaCSlAD6kEjaAEnQAc4DS6Ay+A6uAnugAdgBIyD52AGvAHzEARhITJE
+ geQhVUgLMoDMIAZkD7lBPlAgFA5FQ3EQDxJCudAWqAgqhSqhWqgR+hY6BV2ArkID0D1oFJqCfoXewwhM
+ gqmwMqwNG8MM2An2hoPhNXAcnAbnwPnwTrgCroOPwe3wBfg6fAcegZ/DswhAiAgNUUMMEQbigvghEUgs
+ wkc2IIVIOVKHtCBdSC9yCxlBppF3KAyKgqKjDFG2KE9UCIqFSkNtQBWjKlFHUe2oHtQt1ChqBvUJTUYr
+ oQ3QNmgv9Cp0HDoTXYAuRzeg29CX0HfQ4+g3GAyGhtHBWGE8MeGYBMw6TDHmAKYVcx4zgBnDzGKxWHms
+ AdYO64dlYgXYAux+7DHsOewgdhz7FkfEqeLMcO64CBwPl4crxzXhzuIGcRO4ebwUXgtvg/fDs/HZ+BJ8
+ Pb4LfwM/jp8nSBN0CHaEYEICYTOhgtBCuER4SHhFJBLVidbEACKXuIlYQTxOvEIcJb4jyZD0SS6kSJKQ
+ tJN0hHSedI/0ikwma5MdyRFkAXknuZF8kfyY/FaCImEk4SXBltgoUSXRLjEo8UISL6kl6SS5VjJHslzy
+ pOQNyWkpvJS2lIsUU2qDVJXUKalhqVlpirSptJ90snSxdJP0VelJGayMtoybDFsmX+awzEWZMQpC0aC4
+ UFiULZR6yiXKOBVD1aF6UROoRdRvqP3UGVkZ2WWyobJZslWyZ2RHaAhNm+ZFS6KV0E7QhmjvlygvcVrC
+ WbJjScuSwSVzcopyjnIcuUK5Vrk7cu/l6fJu8onyu+U75B8poBT0FQIUMhUOKlxSmFakKtoqshQLFU8o
+ 3leClfSVApXWKR1W6lOaVVZR9lBOVd6vfFF5WoWm4qiSoFKmclZlSpWiaq/KVS1TPaf6jC5Ld6In0Svo
+ PfQZNSU1TzWhWq1av9q8uo56iHqeeqv6Iw2CBkMjVqNMo1tjRlNV01czV7NZ874WXouhFa+1T6tXa05b
+ RztMe5t2h/akjpyOl06OTrPOQ12yroNumm6d7m09jB5DL1HvgN5NfVjfQj9ev0r/hgFsYGnANThgMLAU
+ vdR6KW9p3dJhQ5Khk2GGYbPhqBHNyMcoz6jD6IWxpnGE8W7jXuNPJhYmSSb1Jg9MZUxXmOaZdpn+aqZv
+ xjKrMrttTjZ3N99o3mn+cpnBMs6yg8vuWlAsfC22WXRbfLS0suRbtlhOWWlaRVtVWw0zqAx/RjHjijXa
+ 2tl6o/Vp63c2ljYCmxM2v9ga2ibaNtlOLtdZzllev3zMTt2OaVdrN2JPt4+2P2Q/4qDmwHSoc3jiqOHI
+ dmxwnHDSc0pwOub0wtnEme/c5jznYuOy3uW8K+Lq4Vro2u8m4xbiVun22F3dPc692X3Gw8Jjncd5T7Sn
+ t+duz2EvZS+WV6PXzAqrFetX9HiTvIO8K72f+Oj78H26fGHfFb57fB+u1FrJW9nhB/y8/Pb4PfLX8U/z
+ /z4AE+AfUBXwNNA0MDewN4gSFBXUFPQm2Dm4JPhBiG6IMKQ7VDI0MrQxdC7MNaw0bGSV8ar1q66HK4Rz
+ wzsjsBGhEQ0Rs6vdVu9dPR5pEVkQObRGZ03WmqtrFdYmrT0TJRnFjDoZjY4Oi26K/sD0Y9YxZ2O8Yqpj
+ ZlgurH2s52xHdhl7imPHKeVMxNrFlsZOxtnF7YmbineIL4+f5rpwK7kvEzwTahLmEv0SjyQuJIUltSbj
+ kqOTT/FkeIm8nhSVlKyUgVSD1ILUkTSbtL1pM3xvfkM6lL4mvVNAFf1M9Ql1hVuFoxn2GVUZbzNDM09m
+ SWfxsvqy9bN3ZE/kuOd8vQ61jrWuO1ctd3Pu6Hqn9bUboA0xG7o3amzM3zi+yWPT0c2EzYmbf8gzySvN
+ e70lbEtXvnL+pvyxrR5bmwskCvgFw9tst9VsR23nbu/fYb5j/45PhezCa0UmReVFH4pZxde+Mv2q4quF
+ nbE7+0ssSw7uwuzi7Rra7bD7aKl0aU7p2B7fPe1l9LLCstd7o/ZeLV9WXrOPsE+4b6TCp6Jzv+b+Xfs/
+ VMZX3qlyrmqtVqreUT13gH1g8KDjwZYa5ZqimveHuIfu1nrUttdp15UfxhzOOPy0PrS+92vG140NCg1F
+ DR+P8I6MHA082tNo1djYpNRU0gw3C5unjkUeu/mN6zedLYYtta201qLj4Ljw+LNvo78dOuF9ovsk42TL
+ d1rfVbdR2grbofbs9pmO+I6RzvDOgVMrTnV32Xa1fW/0/ZHTaqerzsieKTlLOJt/duFczrnZ86nnpy/E
+ XRjrjup+cHHVxds9AT39l7wvXbnsfvlir1PvuSt2V05ftbl66hrjWsd1y+vtfRZ9bT9Y/NDWb9nffsPq
+ RudN65tdA8sHzg46DF645Xrr8m2v29fvrLwzMBQydHc4cnjkLvvu5L2key/vZ9yff7DpIfph4SOpR+WP
+ lR7X/aj3Y+uI5ciZUdfRvidBTx6Mscae/5T+04fx/Kfkp+UTqhONk2aTp6fcp24+W/1s/Hnq8/npgp+l
+ f65+ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeK
+ j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDAAACwwBP0AiyAAAAXJJREFUSEu1lk1KxTAU
+ hTMSF6Ag6ExBHLkHceISXIP0J0n7+n7U5bgHFyCIougSnPgDOnD2wEE8t6+tSW5FafIG3+T2cA9Jzm0i
+ jDGMNJNzm6SYCZepSDQxsTlOc/Xa148VCDQ2Nkl5JhxglKqRSHMNJOk30ix/JK3fi2AFwjYgFs1PfzFR
+ W9DcNtp5Xz9WINrmLV1z30TqdZjcW9pQE7aSVazkztNGNpHlpa8DkbZrdE5JmuHAHU1DgEkd0TG2qBKJ
+ qo5wDp9Ik6NpGG7SJSnL98EL+/5DoInUO9iid/bNJcSk2sNK3lidE2AiywdW6yfAJMv/swoiaCXXrNbP
+ cBPEdhdn8uzXewgyQbqK7WWnq5kTubw5WVxQ3cQfYOI/ok+883Mk9OQEW/fl60CoiUUBVHXh60BME9zz
+ eryCMFx52ugmdKesIRA3ljayiapNKHWbOJ/WKLZJPTv0kCD9oNfKH++uFkS7fYMV00MYPvF+RnwD+CXX
+ 0K4KC2cAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABkAAAAZCAYAAADE6YVjAAAABGdBTUEAALGOfPtRkwAAACBjSFJNAACH
+ DwAAjA8AAP1SAACBQAAAfXkAAOmLAAA85QAAGcxzPIV3AAAKOWlDQ1BQaG90b3Nob3AgSUNDIHByb2Zp
+ bGUAAEjHnZZ3VFTXFofPvXd6oc0w0hl6ky4wgPQuIB0EURhmBhjKAMMMTWyIqEBEEREBRZCggAGjoUis
+ iGIhKKhgD0gQUGIwiqioZEbWSnx5ee/l5ffHvd/aZ+9z99l7n7UuACRPHy4vBZYCIJkn4Ad6ONNXhUfQ
+ sf0ABniAAaYAMFnpqb5B7sFAJC83F3q6yAn8i94MAUj8vmXo6U+ng/9P0qxUvgAAyF/E5mxOOkvE+SJO
+ yhSkiu0zIqbGJIoZRomZL0pQxHJijlvkpZ99FtlRzOxkHlvE4pxT2clsMfeIeHuGkCNixEfEBRlcTqaI
+ b4tYM0mYzBXxW3FsMoeZDgCKJLYLOKx4EZuImMQPDnQR8XIAcKS4LzjmCxZwsgTiQ7mkpGbzuXHxArou
+ S49uam3NoHtyMpM4AoGhP5OVyOSz6S4pyalMXjYAi2f+LBlxbemiIluaWltaGpoZmX5RqP+6+Dcl7u0i
+ vQr43DOI1veH7a/8UuoAYMyKarPrD1vMfgA6tgIgd/8Pm+YhACRFfWu/8cV5aOJ5iRcIUm2MjTMzM424
+ HJaRuKC/6386/A198T0j8Xa/l4fuyollCpMEdHHdWClJKUI+PT2VyeLQDf88xP848K/zWBrIieXwOTxR
+ RKhoyri8OFG7eWyugJvCo3N5/6mJ/zDsT1qca5Eo9Z8ANcoISN2gAuTnPoCiEAESeVDc9d/75oMPBeKb
+ F6Y6sTj3nwX9+65wifiRzo37HOcSGExnCfkZi2viawnQgAAkARXIAxWgAXSBITADVsAWOAI3sAL4gWAQ
+ DtYCFogHyYAPMkEu2AwKQBHYBfaCSlAD6kEjaAEnQAc4DS6Ay+A6uAnugAdgBIyD52AGvAHzEARhITJE
+ geQhVUgLMoDMIAZkD7lBPlAgFA5FQ3EQDxJCudAWqAgqhSqhWqgR+hY6BV2ArkID0D1oFJqCfoXewwhM
+ gqmwMqwNG8MM2An2hoPhNXAcnAbnwPnwTrgCroOPwe3wBfg6fAcegZ/DswhAiAgNUUMMEQbigvghEUgs
+ wkc2IIVIOVKHtCBdSC9yCxlBppF3KAyKgqKjDFG2KE9UCIqFSkNtQBWjKlFHUe2oHtQt1ChqBvUJTUYr
+ oQ3QNmgv9Cp0HDoTXYAuRzeg29CX0HfQ4+g3GAyGhtHBWGE8MeGYBMw6TDHmAKYVcx4zgBnDzGKxWHms
+ AdYO64dlYgXYAux+7DHsOewgdhz7FkfEqeLMcO64CBwPl4crxzXhzuIGcRO4ebwUXgtvg/fDs/HZ+BJ8
+ Pb4LfwM/jp8nSBN0CHaEYEICYTOhgtBCuER4SHhFJBLVidbEACKXuIlYQTxOvEIcJb4jyZD0SS6kSJKQ
+ tJN0hHSedI/0ikwma5MdyRFkAXknuZF8kfyY/FaCImEk4SXBltgoUSXRLjEo8UISL6kl6SS5VjJHslzy
+ pOQNyWkpvJS2lIsUU2qDVJXUKalhqVlpirSptJ90snSxdJP0VelJGayMtoybDFsmX+awzEWZMQpC0aC4
+ UFiULZR6yiXKOBVD1aF6UROoRdRvqP3UGVkZ2WWyobJZslWyZ2RHaAhNm+ZFS6KV0E7QhmjvlygvcVrC
+ WbJjScuSwSVzcopyjnIcuUK5Vrk7cu/l6fJu8onyu+U75B8poBT0FQIUMhUOKlxSmFakKtoqshQLFU8o
+ 3leClfSVApXWKR1W6lOaVVZR9lBOVd6vfFF5WoWm4qiSoFKmclZlSpWiaq/KVS1TPaf6jC5Ld6In0Svo
+ PfQZNSU1TzWhWq1av9q8uo56iHqeeqv6Iw2CBkMjVqNMo1tjRlNV01czV7NZ874WXouhFa+1T6tXa05b
+ RztMe5t2h/akjpyOl06OTrPOQ12yroNumm6d7m09jB5DL1HvgN5NfVjfQj9ev0r/hgFsYGnANThgMLAU
+ vdR6KW9p3dJhQ5Khk2GGYbPhqBHNyMcoz6jD6IWxpnGE8W7jXuNPJhYmSSb1Jg9MZUxXmOaZdpn+aqZv
+ xjKrMrttTjZ3N99o3mn+cpnBMs6yg8vuWlAsfC22WXRbfLS0suRbtlhOWWlaRVtVWw0zqAx/RjHjijXa
+ 2tl6o/Vp63c2ljYCmxM2v9ga2ibaNtlOLtdZzllev3zMTt2OaVdrN2JPt4+2P2Q/4qDmwHSoc3jiqOHI
+ dmxwnHDSc0pwOub0wtnEme/c5jznYuOy3uW8K+Lq4Vro2u8m4xbiVun22F3dPc692X3Gw8Jjncd5T7Sn
+ t+duz2EvZS+WV6PXzAqrFetX9HiTvIO8K72f+Oj78H26fGHfFb57fB+u1FrJW9nhB/y8/Pb4PfLX8U/z
+ /z4AE+AfUBXwNNA0MDewN4gSFBXUFPQm2Dm4JPhBiG6IMKQ7VDI0MrQxdC7MNaw0bGSV8ar1q66HK4Rz
+ wzsjsBGhEQ0Rs6vdVu9dPR5pEVkQObRGZ03WmqtrFdYmrT0TJRnFjDoZjY4Oi26K/sD0Y9YxZ2O8Yqpj
+ ZlgurH2s52xHdhl7imPHKeVMxNrFlsZOxtnF7YmbineIL4+f5rpwK7kvEzwTahLmEv0SjyQuJIUltSbj
+ kqOTT/FkeIm8nhSVlKyUgVSD1ILUkTSbtL1pM3xvfkM6lL4mvVNAFf1M9Ql1hVuFoxn2GVUZbzNDM09m
+ SWfxsvqy9bN3ZE/kuOd8vQ61jrWuO1ctd3Pu6Hqn9bUboA0xG7o3amzM3zi+yWPT0c2EzYmbf8gzySvN
+ e70lbEtXvnL+pvyxrR5bmwskCvgFw9tst9VsR23nbu/fYb5j/45PhezCa0UmReVFH4pZxde+Mv2q4quF
+ nbE7+0ssSw7uwuzi7Rra7bD7aKl0aU7p2B7fPe1l9LLCstd7o/ZeLV9WXrOPsE+4b6TCp6Jzv+b+Xfs/
+ VMZX3qlyrmqtVqreUT13gH1g8KDjwZYa5ZqimveHuIfu1nrUttdp15UfxhzOOPy0PrS+92vG140NCg1F
+ DR+P8I6MHA082tNo1djYpNRU0gw3C5unjkUeu/mN6zedLYYtta201qLj4Ljw+LNvo78dOuF9ovsk42TL
+ d1rfVbdR2grbofbs9pmO+I6RzvDOgVMrTnV32Xa1fW/0/ZHTaqerzsieKTlLOJt/duFczrnZ86nnpy/E
+ XRjrjup+cHHVxds9AT39l7wvXbnsfvlir1PvuSt2V05ftbl66hrjWsd1y+vtfRZ9bT9Y/NDWb9nffsPq
+ RudN65tdA8sHzg46DF645Xrr8m2v29fvrLwzMBQydHc4cnjkLvvu5L2key/vZ9yff7DpIfph4SOpR+WP
+ lR7X/aj3Y+uI5ciZUdfRvidBTx6Mscae/5T+04fx/Kfkp+UTqhONk2aTp6fcp24+W/1s/Hnq8/npgp+l
+ f65+ofviu18cf+mbWTUz/pL/cuHX4lfyr468Xva6e9Z/9vGb5Dfzc4Vv5d8efcd41/s+7P3EfOYH7IeK
+ j3ofuz55f3q4kLyw8Bv3hPP74uYdwgAAAAlwSFlzAAALDAAACwwBP0AiyAAAAaJJREFUSEu1lkFKw0AY
+ hWclHkBB0J2CuPIO4sYjeAbJZGaSttqqx/EOHkCQiqJHcKMWdOFOcDG+lzRN8/+ldpEsPgovr+9lkn+G
+ mBijwrrwkWQXp8DUDE2Sk1EDm/qfeRblKYHAHG3qXvC7ZZ1HaWZs6JfBvasGpbdGZhElEJh5V/zTA1a1
+ s7jksrWSiJIn67PNLlcyLcoeUbLe3UoqfO+2+xLnI6ZslPSv54raLkkd3893EgYnNgww0ufFaEufzCJK
+ IDAvKKlw7+Cwmjh5XWYRJRCYl5QA5z8xcXvdlhCXTfDYDqQus4gSCMz/lxDfe5aazCJKIDCvVpK6idRk
+ FlECgXnVldxLTWYRJRCYV3knbxjnfanLLKIEAvPykmK68l2U0Nu4JrOIEgjMS0q4T/x0n7ReUuz4L9z9
+ Ub3jhy2XOP+LY+Rs/tziISl9MosogcCsSrCCmyTnydtE+mQWUQKBuVni8zs8nrXyqO+ixGVj7IeN4h10
+ UuL8GCXbKDFJaL8Ef6i+VoLB40IJJqrVEhde8Y11XH9r6e+tCgRz1TN0XjR/BRzX0I6JRvgAAAAASUVO
+ RK5CYII=
+
+
+
+
+ AAABAAEAQEAAAAEAIAAoQgAAFgAAACgAAABAAAAAgAAAAAEAIAAAAAAAAEAAABMLAAATCwAAAAAAAAAA
+ AAD/////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////////////+//38/P/9+/r//v38////
+ /v//////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////v5
+ 9//q2tD/4sq6/+rc0v/7+ff/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////37ef/5LGP/+Kdbv/jsZD/9uzl//7/////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////8+/r/79vO/+OZZv/jk1z/45lm/+nQwP/69/b/////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////+fb0/+bLuf/jlF3/45Nc/+OT
+ Xf/gvaT/9vHt////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////fy
+ 7//hv6r/45Re/+OTXP/jlF3/36+N//bs5f//////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////27+r/3rac/+OUXf/jk1z/45Nd/+Omff/y4dX//f39////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////9uzl/96ujf/jlF3/45Nc/+OTXP/mnWz/58q2//fz
+ 8f//////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////fp4P/hp4D/45Nd/+OT
+ XP/jk1z/45Ja/9+0l//z6uX/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////////////////////7/
+ ///14tX/5qFy/+OTXP/jk1z/4pJb/+OSW//fp4H/8+PZ////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////5+Pf/68+7/+OSW//jk1z/4pJc/92OWP/hkVv/5KBx//LZyf/9/f7/////////
+ ///////////////////////////////////////////////+/v/9+/r/+/j1//z39P/8+PX//Pn3//79
+ /f//////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////9vLv/+TDq//jklv/4pJb/+GRW//djlj/4JBa/+OS
+ Wv/kvaL/9O7q///////////////////////////////////////////////////////59vT/69nN/9+7
+ ov/gtZf/37id/+HGsv/17Ob//fz7////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////Ts6P/guJ7/45Jb/+KT
+ XP/fkFr/3I5Y/+CRWv/jkVn/36yJ//Dj2f//////////////////////////////////////////////
+ ///38/H/6c68/+Knfv/il2P/4pdi/+KXY//jmmn/6bGM//Di2P/8+/r/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///z5+D/3q6O/+OSW//ilmH/3q2M/+O8ov/mqH//5JZh/+Cid//x28z/////////////////////////
+ ////////////////////////7NvP/+CqhP/jlF7/45Jb/+OTW//jk1v/45Nc/+SYY//jtZT/+O/p////
+ ////////////////////////////////////////////////////////////////////////+PLv/+nP
+ v//vwqP/78Kj/+/Co//vwqP/78Kj/+/Co//vwqP/78Kj/+/Co//vwaP/7cKl/+vOu//8+vj/////////
+ ////////////////////////8+TZ/9+ngP/jklr/45lm/+bOv//27ef/57mb/+KYZf/lnm7/7tC8//r6
+ +f//////+fLu/+jKtv/vwqT/78Kj/+/Co//vwqP/78Kk/+m1k//jnm//45Ja/+OTXP/jk1z/45Nc/+OT
+ XP/jk1z/4pln/+nPvf/59vT/////////////////////////////////////////////////////////
+ //////////////Xt6f/et57/5Jhk/+SYZP/kmGT/5Jhk/+SYZP/kmGT/5Jhk/+SYZP/kmGT/5Jhk/+OZ
+ Zv/ipHr/7d7U//38+/////////////////////////////bh0//koXT/45Re/+iofv/06+X//fz7/+TD
+ rf/hm2r/5JVf/+W5nP/y6ub//Pz7/+/d0P/jqYH/5Jhl/+SYZP/kmGT/5Jhk/+SYZP/lmWb/5JZh/+OT
+ XP/jk1z/45Nc/+OTXP/jk1z/45Nc/+OTW//guqL/9u/r////////////////////////////////////
+ ///////////////////////////////////17ej/3ree/+WaaP/lmmf/5Zpn/+WaZ//lmmf/5Zpn/+Wa
+ Z//lmmf/5Ztp/+WZZv/jklr/45hk/+HFsf/8+ff///////////////////////z9/f/y2sn/5qBx/+SW
+ Yf/rsov//fn2//7+/v/l0MH/4Z9x/+OPVv/fpoD/7d3S//by7//jwar/5pxq/+Wda//lmmj/5Zpn/+Wa
+ Z//lmmf/5Zxq/+SYY//jk1v/45Nc/+OTXP/jk1z/45Nc/+OTXP/jk1v/4Luj//bw7P//////////////
+ ////////////////////////////////////////////////////////+fXy/+3Yy//yzbT/8s20//LN
+ tP/yzbT/8s20//LNtP/yzbT/8s61/+3GrP/krIf/45Ja/+KXY//guZ3//Pj1////////////////////
+ ///39PL/6cmz/+WaZ//jlmH/6LOO//76+P//////7eLb/+Wthf/jlF3/4Z9x//DVw//06uP/3qyK/+SV
+ YP/prIP/8cux//LNtP/yzbT/8s62/+m5mv/jnW7/45Ja/+OTXP/jk1z/45Nc/+OTXP/jk1z/5Jto/+bK
+ t//49PL/////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////18e7/5MOt/+SXYv/jlmH/5LCN//ny
+ 7f//////////////////////8uzo/+K5nf/jkFf/4pdk/+O4mf/9+/n///////j29P/pwKT/45po/+Wb
+ af/wy7P/8dzO/+Kjef/jlmH/6LGM//369//////////////////t3ND/4ayI/+KVYP/jklr/45Jb/+OS
+ W//jk1v/5Jlm/+Sxjv/w4dj//Pv6////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////+vn4/+7Z
+ yv/lpHj/5JVf/+ene//u4NX//Pv6//////////////////Dl3f/fr4//45FZ/+KZZ//hwKj//fv6////
+ ////////5su4/+Cdb//lmWX/5rCM/+a1lv/mnWz/4pdk/+O4nP/9+vj/////////////////+Pb0/+vU
+ xP/irYj/4Zlo/+KYZP/imGX/4p5w/+i1kv/o08b/+vf1////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////26eH/36mE/+OTXP/jl2P/5Mq6//r39v/////////////////v3tL/3qV//+OR
+ Wf/inGz/482+//38+////////////+jWzP/hpn7/45Jb/+GRWv/hklv/45Nc/+Oeb//kzb7//fz7////
+ ///////////////////7+fj/7d/W/+LBqv/muJj/5rqc/+PLuf/v5d7//fz7////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////9e3n/96zlf/jk13/45Zh/9+8pf/59fH/////////
+ ////////8drK/+GhdP/jkln/5KJ0/+zf1//+/f3////////////x6uT/57qc/+KYZv/gkFn/4pJb/+SX
+ Y//ptJD/9e7q//7+/v////////////////////////////7+/f/+/fz//vz7//78+//+/fz//v7+////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////fy7//iwav/45Re/+OV
+ YP/fsJD/+fLt//////////////////TYxP/lnWz/5JZh/+u1kf/69vT////+/////////////////+vI
+ sv/gmmv/4pFa/+OSW//imWb/5ryg//78+///////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///6+Pb/69XH/+ekd//jlWD/5qmB//Tn3v/9/f3///////n5+P/uzrn/5p1s/+OXY//ruZj//v38////
+ ///////////////////p0sH/36F2/+OSWv/jklr/4Z1u/+PJuP/+/v3/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////v////br4//iq4f/45Vf/+SZZv/p0cH/+vj2///////z7ur/5rye/+ST
+ XP/imWb/5r6h///+/f//////////////////////7N/V/+GqhP/jkFf/5Jdi/+ewi//r39f//v7+////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////////////////////48u3/3rWY/+OVX//jlF3/4L+p//fy
+ 7///////7uPc/+CujP/jkFf/4Ztr/+PDrf/+/v3///////////////////////Tv7P/pvqH/5Zdi/+KZ
+ Zv/nv6T/+vj2////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////+fXy/+HC
+ rP/jlV//45Rd/96ylf/27uj//////+zZzf/fpX7/45FY/+GecP/kzLz//v7+////////////////////
+ ///9/f3/7NTF/9+phv/grYr/69fJ////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////v59//p1cb/5Z9w/+OUXv/hqYT/9ejf///////u1MH/4J9z/+OQV//jonb/6drQ///+
+ /v////////////////////////////bv6//t28//8N/T//fz8P//////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////+/f3/9erj/+WtiP/jlmD/5J1u/+7Xyf/7/f7/8dG7/+Oc
+ a//jk1z/6LCJ//Tv6///////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////v28v/ftZf/4pZi/+OS
+ Wv/kvqX/8ube//DIrf/lm2j/45hk/+3Aov//////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///7+PX/4MKs/+KXZP/jklv/3qR9/+S0lP/mrIP/5Jll/+GZaP/pwqj/////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////Pr5/+bSxP/knGv/4pFc/9+QWv/gkVv/35Ba/+CPWP/gnW//5sm1////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////79/f/06uX/6K+J/+OVYP/gkVr/35Ba/+CQ
+ Wv/ikFj/4KJ2/+bSw///////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////////////////////Pn2/+O4
+ mv/il2T/349Y/9+QWf/gkFr/4pBZ/+Knfv/p29L/////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////37+f/hwq3/4ppo/+KRWv/fj1n/349Z/+SYZf/ouJj/7+fi////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///////////////////////////////////9/Pv/5dLF/+OcbP/jklr/4pJb/+KRWv/kmmj/7saq//z8
+ +///////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////v39//Ho4v/nrYX/45Vg/+OT
+ XP/jklv/4pxs/+3LtP//////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///7+ff/5rue/+KZZv/jklv/45Ja/+Cfc//qz73/////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////v39/+PEsP/hm2v/45Ja/+ORWf/fpHz/6dbJ////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////7+/f/l0cX/4p9x/+OSWf/jkVj/4aqF/+zf
+ 1///////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ /////////////////////////////////////////////////////////////////////v7/7uXf/+Wq
+ gf/jk1z/5JNc/+W1lP/w6eT/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////v6+f/qv6H/45hl/+Scav/ryK//9/Xz////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////58u3/+Ghdf/go3n/7tfG////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ //////////////////////////////////////////////////////////////Tu6v/m0cT/5M7A//Pr
+ 5f//////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ///+/f3//Pr4//v5+P/9/fz/////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////////////////////////////////////////////////////////////////////////////
+ ////////AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
+ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
+
+
+
\ No newline at end of file
diff --git a/AIMS/OperationAanesthesia/oldSystemCode/PublicToDoument.cs b/AIMS/OperationAanesthesia/oldSystemCode/PublicToDoument.cs
deleted file mode 100644
index 053fbee..0000000
--- a/AIMS/OperationAanesthesia/oldSystemCode/PublicToDoument.cs
+++ /dev/null
@@ -1,222 +0,0 @@
-using AIMSExtension;
-using DevComponents.Editors.DateTimeAdv;
-using DrawGraph;
-using Newtonsoft.Json;
-using System;
-using System.Collections.Generic;
-using System.Drawing;
-using System.Drawing.Imaging;
-using System.IO;
-using System.Windows.Forms;
-
-namespace AIMS.OperationAanesthesia
-{
- public static class PublicToDoument
- {
- ///
- /// 反序列化数据加载到控件
- ///
- ///
- public static void DeserializeControl(Control control, string JsonTextData)
- {
- try
- {
- List list = JsonConvert.DeserializeObject>(JsonTextData);
- foreach (JsonTextForDoc m in list)
- {
- if (m.Id.Trim() == "")
- continue;
- Control[] cs = control.Controls.Find(m.Id, true);
- if (cs != null && cs.Length > 0)
- {
- Control c = cs[0];
- if (c == null)
- continue;
- if (c is TextBox || c is ComboBox || c is RichTextBox)
- {
- c.Text = m.Value;
- }
- else if (c is CheckBox)
- {
- ((CheckBox)c).Checked = m.Value == "true" ? true : false;
- }
- else if (c is RadioButton)
- {
- ((RadioButton)c).Checked = m.Value == "true" ? true : false;
- }
- else if (c is ComboBox)
- {
- ((ComboBox)c).Text = m.Value;
- }
- else if (c is DateTimePicker)
- {
- ((DateTimePicker)c).Value = DateTime.Parse(m.Value);
- }
- else if (c is DateTimeInput)
- {
- ((DateTimeInput)c).Value = DateTime.Parse(m.Value);
- }
- //else if (c is PictureBox)
- //{
- // ((PictureBox)c).Image = BytesToImage(Convert.FromBase64String(m.Value));
- //}
- }
- }
- }
- catch (Exception ex)
- {
- PublicMethod.WriteLog(ex);
- }
- }
-
- ///
- /// 序列化保存控件数据
- ///
- ///
- public static string SerializeControl(Control controls, OperationRecord record, List NoOpe)
- {
- List list = new List();
- Dictionary dicList = new Dictionary();
- SerializeControl(controls, list, NoOpe);
- foreach (var item in list)
- {
- if (item.Tag == null) continue;
- if (item.Tag.ToString() == "" || item.Tag.ToString().Trim() == "") continue;
- dicList.Add(item.Tag, item.Value);
- }
- string JsonText = JsonConvert.SerializeObject(list, Newtonsoft.Json.Formatting.None).Replace("'", "''");
- //SavePrintDocStatic(dicList, record.Id.Value, record.OperationApplyId.Value);
- return JsonText;
- }
-
- private static void SerializeControl(Control control, List list, List NoOpe)
- {
- foreach (Control c in control.Controls)
- {
- if (c.Controls.Count > 0)
- {
- if (NoOpe.Contains(c.Name)) continue;
- SerializeControl(c, list, NoOpe);
- }
-
- JsonTextForDoc model = new JsonTextForDoc();
- if (c.Tag == null) continue;
- if (c.Tag.ToString() == "" || c.Tag.ToString().Trim() == "") continue;
- if (c.Text == "" || c.Text.Trim() == "") continue;
- if (c is TextBox || c is ComboBox || c is RichTextBox)
- {
- if (c is ComboBox && (c as ComboBox).DropDownStyle != ComboBoxStyle.DropDown) continue;
- list.Add(model = new JsonTextForDoc { Id = c.Name, Value = c.Text.Trim(), Type = "Text", Tag = c.Tag.ToString() });
- }
- else if (c is CheckBox)
- {
- list.Add(model = new JsonTextForDoc { Id = c.Name, Value = ((CheckBox)c).Checked == true ? "true" : "false", Type = "Check", Tag = c.Tag.ToString() });
- }
- else if (c is RadioButton)
- {
- list.Add(model = new JsonTextForDoc { Id = c.Name, Value = ((RadioButton)c).Checked == true ? "true" : "false", Type = "Radio", Tag = c.Tag.ToString() });
- }
- else if (c is ComboBox)
- {
- list.Add(model = new JsonTextForDoc { Id = c.Name, Value = ((ComboBox)c).Text, Type = "Combo", Tag = c.Tag.ToString() });
- }
- else if (c is DateTimePicker)
- {
- if (((DateTimePicker)c).CustomFormat != " ")
- {
- list.Add(model = new JsonTextForDoc { Id = c.Name, Value = ((DateTimePicker)c).Value.ToString(), Type = "Date", Tag = c.Tag.ToString() });
- }
- }
- else if (c is DateTimeInput)
- {
- if (((DateTimeInput)c).CustomFormat != " ")
- {
- list.Add(model = new JsonTextForDoc { Id = c.Name, Value = ((DateTimeInput)c).Value.ToString(), Type = "Date", Tag = c.Tag.ToString() });
- }
- }
- }
- }
-
- ///
- /// 循环控件值写入excel
- ///
- ///
- ///
- public static void SetExcelValues(Control cons, GoldPrinter.ExcelAccess excel)
- {
- try
- {
- foreach (Control c in cons.Controls)
- {
- if (c.Controls.Count > 0)
- {
- SetExcelValues(c, excel);
- }
- if (c.Tag != null && !c.Tag.Equals(string.Empty))
- {
- string excelValue = c.Tag.ToString().Split('|')[0];
- if (excelValue.Length <= 0 || excelValue == "")
- continue;
- if (!(char.IsLower(excelValue[0]) || char.IsUpper(excelValue[0])))
- {
- continue;
- }
- for (int k = 0; k < excelValue.Length; k++)
- {
- if (char.IsNumber(excelValue[k]))
- {
- int p_rowIndex = int.Parse(excelValue.Substring(k, excelValue.Length - k));
- string p_colChars = excelValue.Substring(0, excelValue.IndexOf(excelValue[k]));
- if (c is TextBox || c is RichTextBox || c is System.Windows.Forms.Label)
- {
- excel.SetCellText(p_rowIndex, p_colChars, c.Text);
- }
- else if (c is DateTimePicker)
- {
- if (((DateTimePicker)c).Enabled == true && ((DateTimePicker)c).Visible == true)
- {
- string text = c.Text;
- if (text == "")
- {
- try
- {
- text = ((DateTimePicker)c).Value.ToString("yyyy-MM-dd");
- }
- catch (Exception) { }
- }
- excel.SetCellText(p_rowIndex, p_colChars, text);
- }
- else
- {
- excel.SetCellText(p_rowIndex, p_colChars, "");
- }
-
- }
- else if (c is CheckBox)
- {
- string value = ((CheckBox)c).Checked == true ? "☑" : "□";
- excel.SetCellText(p_rowIndex, p_colChars, value);
- }
- else if (c is ComboBox)
- {
- excel.SetCellText(p_rowIndex, p_colChars, c.Text);
- }
- else if (c is RadioButton)
- {
- string value = ((RadioButton)c).Checked == true ? "☑" : "□";
- excel.SetCellText(p_rowIndex, p_colChars, value);
- }
- break;
- }
- }
- }
- }
- }
- catch (Exception ex)
- {
- PublicMethod.WriteLog(ex);
- }
- }
- }
-
-}
\ No newline at end of file
diff --git a/AIMS/OperationFront/frmSelectiveOperationsPrint.cs b/AIMS/OperationFront/frmSelectiveOperationsPrint.cs
index 3d2453e..a26ec82 100644
--- a/AIMS/OperationFront/frmSelectiveOperationsPrint.cs
+++ b/AIMS/OperationFront/frmSelectiveOperationsPrint.cs
@@ -76,12 +76,14 @@ namespace AIMS.OperationFront.UI
{
dtpTime.Value = dtpTime.Value.AddDays(-1);
checkBoxX1.Checked = true;
+ checkBoxX1_CheckedChanged(null, null);
}
private void btnAfterDay_Click(object sender, EventArgs e)
{
dtpTime.Value = dtpTime.Value.AddDays(1);
checkBoxX1.Checked = true;
+ checkBoxX1_CheckedChanged(null, null);
}
private void dtpTime_ValueChanged(object sender, EventArgs e)
diff --git a/AIMS/OperationFront/frmSelectiveOperationsPrint.designer.cs b/AIMS/OperationFront/frmSelectiveOperationsPrint.designer.cs
index 393dc80..92fdeb4 100644
--- a/AIMS/OperationFront/frmSelectiveOperationsPrint.designer.cs
+++ b/AIMS/OperationFront/frmSelectiveOperationsPrint.designer.cs
@@ -62,6 +62,7 @@ namespace AIMS.OperationFront.UI
this.btnAfterDay = new DevComponents.DotNetBar.ButtonX();
this.dtpTime = new DevComponents.Editors.DateTimeAdv.DateTimeInput();
this.panel2 = new System.Windows.Forms.Panel();
+ this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.dgvApplyOrDoctor = new DevComponents.DotNetBar.Controls.DataGridViewX();
this.Column1 = new System.Windows.Forms.DataGridViewCheckBoxColumn();
this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn();
@@ -100,7 +101,6 @@ namespace AIMS.OperationFront.UI
this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn();
this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn();
- this.checkBoxX1 = new DevComponents.DotNetBar.Controls.CheckBoxX();
this.panel1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.dtpTime)).BeginInit();
this.panel2.SuspendLayout();
@@ -293,6 +293,19 @@ namespace AIMS.OperationFront.UI
this.panel2.Size = new System.Drawing.Size(1286, 491);
this.panel2.TabIndex = 2;
//
+ // checkBoxX1
+ //
+ //
+ //
+ //
+ this.checkBoxX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
+ this.checkBoxX1.Location = new System.Drawing.Point(4, 7);
+ this.checkBoxX1.Name = "checkBoxX1";
+ this.checkBoxX1.Size = new System.Drawing.Size(21, 23);
+ this.checkBoxX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
+ this.checkBoxX1.TabIndex = 63;
+ this.checkBoxX1.CheckedChanged += new System.EventHandler(this.checkBoxX1_CheckedChanged);
+ //
// dgvApplyOrDoctor
//
this.dgvApplyOrDoctor.AllowUserToAddRows = false;
@@ -643,19 +656,6 @@ namespace AIMS.OperationFront.UI
this.dataGridViewTextBoxColumn18.HeaderText = "备注";
this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18";
//
- // checkBoxX1
- //
- //
- //
- //
- this.checkBoxX1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square;
- this.checkBoxX1.Location = new System.Drawing.Point(4, 7);
- this.checkBoxX1.Name = "checkBoxX1";
- this.checkBoxX1.Size = new System.Drawing.Size(21, 23);
- this.checkBoxX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled;
- this.checkBoxX1.TabIndex = 63;
- this.checkBoxX1.CheckedChanged += new System.EventHandler(this.checkBoxX1_CheckedChanged);
- //
// frmSelectiveOperationsPrint
//
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
diff --git a/AIMS/OremrUserControl/ucDocument.Designer.cs b/AIMS/OremrUserControl/ucDocument.Designer.cs
index f900894..a76fa95 100644
--- a/AIMS/OremrUserControl/ucDocument.Designer.cs
+++ b/AIMS/OremrUserControl/ucDocument.Designer.cs
@@ -321,8 +321,6 @@
}
#endregion
-
- private System.Windows.Forms.ToolStrip toolStrip1;
private System.Windows.Forms.ToolStripButton tsbSave;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
private System.Windows.Forms.ToolStripButton tsbSaveAndPrint;
@@ -350,5 +348,6 @@
private System.Windows.Forms.ToolStripSeparator toolStripMenuItem8;
private System.Windows.Forms.ToolStripSeparator toolStripSeparator4;
private System.Windows.Forms.ToolStripButton toolStripButton1;
+ public System.Windows.Forms.ToolStrip toolStrip1;
}
}
diff --git a/AIMS/OremrUserControl/ucDocumentGoodsBill.Designer.cs b/AIMS/OremrUserControl/ucDocumentGoodsBill.Designer.cs
new file mode 100644
index 0000000..a5813e3
--- /dev/null
+++ b/AIMS/OremrUserControl/ucDocumentGoodsBill.Designer.cs
@@ -0,0 +1,315 @@
+namespace AIMS.OremrUserControl
+{
+ partial class ucDocumentGoodsBill
+ {
+ ///
+ /// 必需的设计器变量。
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// 清理所有正在使用的资源。
+ ///
+ /// 如果应释放托管资源,为 true;否则为 false。
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region 组件设计器生成的代码
+
+ ///
+ /// 设计器支持所需的方法 - 不要
+ /// 使用代码编辑器修改此方法的内容。
+ ///
+ private void InitializeComponent()
+ {
+ this.components = new System.ComponentModel.Container();
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ucDocumentGoodsBill));
+ this.toolStrip1 = new System.Windows.Forms.ToolStrip();
+ this.tsbSave = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator();
+ this.tsbSaveAndPrint = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator5 = new System.Windows.Forms.ToolStripSeparator();
+ this.tsbPreview = new System.Windows.Forms.ToolStripButton();
+ this.toolStripSeparator2 = new System.Windows.Forms.ToolStripSeparator();
+ this.tsbCheckout = new System.Windows.Forms.ToolStripButton();
+ this.myEditControl = new DCSoft.Writer.Controls.WriterControl();
+ this.writerCommandControler1 = new DCSoft.Writer.Commands.WriterCommandControler(this.components);
+ this.cmRedo = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmUndo = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmCut = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmCopy = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmPaste = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmColor = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmFont = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmAlignLeft = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmAlignCenter = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmAlignRight = new System.Windows.Forms.ToolStripMenuItem();
+ this.cmEdit = new System.Windows.Forms.ContextMenuStrip(this.components);
+ this.toolStripMenuItem4 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripMenuItem5 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripMenuItem6 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStripMenuItem8 = new System.Windows.Forms.ToolStripSeparator();
+ this.toolStrip1.SuspendLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit();
+ this.cmEdit.SuspendLayout();
+ this.SuspendLayout();
+ //
+ // 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.tsbSave,
+ this.toolStripSeparator1,
+ this.tsbSaveAndPrint,
+ this.toolStripSeparator5,
+ this.tsbPreview,
+ this.toolStripSeparator2,
+ this.tsbCheckout});
+ this.toolStrip1.Location = new System.Drawing.Point(0, 0);
+ this.toolStrip1.Name = "toolStrip1";
+ this.toolStrip1.Size = new System.Drawing.Size(865, 49);
+ this.toolStrip1.TabIndex = 4;
+ this.toolStrip1.Text = "toolStrip1";
+ //
+ // tsbSave
+ //
+ this.tsbSave.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.tsbSave.Image = global::AIMS.Properties.Resources.图标_手术申请;
+ this.tsbSave.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.tsbSave.Name = "tsbSave";
+ this.tsbSave.Size = new System.Drawing.Size(48, 46);
+ this.tsbSave.Text = " 保存 ";
+ this.tsbSave.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.tsbSave.Click += new System.EventHandler(this.tsbSave_Click);
+ //
+ // toolStripSeparator1
+ //
+ this.toolStripSeparator1.Name = "toolStripSeparator1";
+ this.toolStripSeparator1.Size = new System.Drawing.Size(6, 49);
+ //
+ // tsbSaveAndPrint
+ //
+ this.tsbSaveAndPrint.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.tsbSaveAndPrint.Image = global::AIMS.Properties.Resources.图标_打印;
+ this.tsbSaveAndPrint.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.tsbSaveAndPrint.Name = "tsbSaveAndPrint";
+ this.tsbSaveAndPrint.Size = new System.Drawing.Size(88, 46);
+ this.tsbSaveAndPrint.Text = " 保存并打印 ";
+ this.tsbSaveAndPrint.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.tsbSaveAndPrint.Click += new System.EventHandler(this.tsbSaveAndPrint_Click);
+ //
+ // toolStripSeparator5
+ //
+ this.toolStripSeparator5.Name = "toolStripSeparator5";
+ this.toolStripSeparator5.Size = new System.Drawing.Size(6, 49);
+ //
+ // tsbPreview
+ //
+ this.tsbPreview.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.tsbPreview.Image = global::AIMS.Properties.Resources.图标_预览;
+ this.tsbPreview.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.tsbPreview.Name = "tsbPreview";
+ this.tsbPreview.Size = new System.Drawing.Size(40, 46);
+ this.tsbPreview.Text = " 预览";
+ this.tsbPreview.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.tsbPreview.Click += new System.EventHandler(this.tsbPreview_Click);
+ //
+ // toolStripSeparator2
+ //
+ this.toolStripSeparator2.Name = "toolStripSeparator2";
+ this.toolStripSeparator2.Size = new System.Drawing.Size(6, 49);
+ //
+ // tsbCheckout
+ //
+ this.tsbCheckout.Font = new System.Drawing.Font("微软雅黑", 9F);
+ this.tsbCheckout.Image = global::AIMS.Properties.Resources.图标_回顾手术;
+ this.tsbCheckout.ImageTransparentColor = System.Drawing.Color.Magenta;
+ this.tsbCheckout.Name = "tsbCheckout";
+ this.tsbCheckout.Size = new System.Drawing.Size(64, 46);
+ this.tsbCheckout.Text = " 查看痕迹";
+ this.tsbCheckout.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
+ this.tsbCheckout.Click += new System.EventHandler(this.tsbCheckout_Click);
+ //
+ // myEditControl
+ //
+ this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.myEditControl.Location = new System.Drawing.Point(0, 49);
+ this.myEditControl.Name = "myEditControl";
+ this.myEditControl.Size = new System.Drawing.Size(865, 399);
+ this.myEditControl.TabIndex = 5;
+ //
+ // cmRedo
+ //
+ this.writerCommandControler1.SetCommandName(this.cmRedo, "Redo");
+ this.cmRedo.Image = ((System.Drawing.Image)(resources.GetObject("cmRedo.Image")));
+ this.cmRedo.Name = "cmRedo";
+ this.cmRedo.Size = new System.Drawing.Size(124, 22);
+ this.cmRedo.Text = "重复";
+ //
+ // cmUndo
+ //
+ this.writerCommandControler1.SetCommandName(this.cmUndo, "Undo");
+ this.cmUndo.Image = ((System.Drawing.Image)(resources.GetObject("cmUndo.Image")));
+ this.cmUndo.Name = "cmUndo";
+ this.cmUndo.Size = new System.Drawing.Size(124, 22);
+ this.cmUndo.Text = "撤销";
+ //
+ // cmCut
+ //
+ this.writerCommandControler1.SetCommandName(this.cmCut, "Cut");
+ this.cmCut.Image = ((System.Drawing.Image)(resources.GetObject("cmCut.Image")));
+ this.cmCut.Name = "cmCut";
+ this.cmCut.Size = new System.Drawing.Size(124, 22);
+ this.cmCut.Text = "剪切";
+ //
+ // cmCopy
+ //
+ this.writerCommandControler1.SetCommandName(this.cmCopy, "Copy");
+ this.cmCopy.Image = ((System.Drawing.Image)(resources.GetObject("cmCopy.Image")));
+ this.cmCopy.Name = "cmCopy";
+ this.cmCopy.Size = new System.Drawing.Size(124, 22);
+ this.cmCopy.Text = "复制";
+ //
+ // cmPaste
+ //
+ this.writerCommandControler1.SetCommandName(this.cmPaste, "Paste");
+ this.cmPaste.Image = ((System.Drawing.Image)(resources.GetObject("cmPaste.Image")));
+ this.cmPaste.Name = "cmPaste";
+ this.cmPaste.Size = new System.Drawing.Size(124, 22);
+ this.cmPaste.Text = "粘贴";
+ //
+ // cmColor
+ //
+ this.writerCommandControler1.SetCommandName(this.cmColor, "Color");
+ this.cmColor.Image = ((System.Drawing.Image)(resources.GetObject("cmColor.Image")));
+ this.cmColor.Name = "cmColor";
+ this.cmColor.Size = new System.Drawing.Size(124, 22);
+ this.cmColor.Text = "颜色";
+ //
+ // cmFont
+ //
+ this.writerCommandControler1.SetCommandName(this.cmFont, "Font");
+ this.cmFont.Image = ((System.Drawing.Image)(resources.GetObject("cmFont.Image")));
+ this.cmFont.Name = "cmFont";
+ this.cmFont.Size = new System.Drawing.Size(124, 22);
+ this.cmFont.Text = "字体...";
+ //
+ // cmAlignLeft
+ //
+ this.writerCommandControler1.SetCommandName(this.cmAlignLeft, "AlignLeft");
+ this.cmAlignLeft.Image = ((System.Drawing.Image)(resources.GetObject("cmAlignLeft.Image")));
+ this.cmAlignLeft.Name = "cmAlignLeft";
+ this.cmAlignLeft.Size = new System.Drawing.Size(124, 22);
+ this.cmAlignLeft.Text = "左对齐";
+ //
+ // cmAlignCenter
+ //
+ this.writerCommandControler1.SetCommandName(this.cmAlignCenter, "AlignCenter");
+ this.cmAlignCenter.Image = ((System.Drawing.Image)(resources.GetObject("cmAlignCenter.Image")));
+ this.cmAlignCenter.Name = "cmAlignCenter";
+ this.cmAlignCenter.Size = new System.Drawing.Size(124, 22);
+ this.cmAlignCenter.Text = "居中对齐";
+ //
+ // cmAlignRight
+ //
+ this.writerCommandControler1.SetCommandName(this.cmAlignRight, "AlignRight");
+ this.cmAlignRight.Image = ((System.Drawing.Image)(resources.GetObject("cmAlignRight.Image")));
+ this.cmAlignRight.Name = "cmAlignRight";
+ this.cmAlignRight.Size = new System.Drawing.Size(124, 22);
+ this.cmAlignRight.Text = "右对齐";
+ //
+ // cmEdit
+ //
+ this.cmEdit.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
+ this.cmRedo,
+ this.cmUndo,
+ this.toolStripMenuItem4,
+ this.cmCut,
+ this.cmCopy,
+ this.cmPaste,
+ this.toolStripMenuItem5,
+ this.cmColor,
+ this.cmFont,
+ this.toolStripMenuItem6,
+ this.cmAlignLeft,
+ this.cmAlignCenter,
+ this.cmAlignRight,
+ this.toolStripMenuItem8});
+ this.cmEdit.Name = "cmEdit";
+ this.cmEdit.Size = new System.Drawing.Size(125, 248);
+ //
+ // toolStripMenuItem4
+ //
+ this.toolStripMenuItem4.Name = "toolStripMenuItem4";
+ this.toolStripMenuItem4.Size = new System.Drawing.Size(121, 6);
+ //
+ // toolStripMenuItem5
+ //
+ this.toolStripMenuItem5.Name = "toolStripMenuItem5";
+ this.toolStripMenuItem5.Size = new System.Drawing.Size(121, 6);
+ //
+ // toolStripMenuItem6
+ //
+ this.toolStripMenuItem6.Name = "toolStripMenuItem6";
+ this.toolStripMenuItem6.Size = new System.Drawing.Size(121, 6);
+ //
+ // toolStripMenuItem8
+ //
+ this.toolStripMenuItem8.Name = "toolStripMenuItem8";
+ this.toolStripMenuItem8.Size = new System.Drawing.Size(121, 6);
+ //
+ // ucDocumentGoodsBill
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.Controls.Add(this.myEditControl);
+ this.Controls.Add(this.toolStrip1);
+ this.Margin = new System.Windows.Forms.Padding(2);
+ this.Name = "ucDocumentGoodsBill";
+ this.Size = new System.Drawing.Size(865, 448);
+ this.Load += new System.EventHandler(this.ucDocumentGoodsBill_Load);
+ this.toolStrip1.ResumeLayout(false);
+ this.toolStrip1.PerformLayout();
+ ((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit();
+ this.cmEdit.ResumeLayout(false);
+ this.ResumeLayout(false);
+ this.PerformLayout();
+
+ }
+
+ #endregion
+ private System.Windows.Forms.ToolStripButton tsbSave;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator1;
+ private System.Windows.Forms.ToolStripButton tsbSaveAndPrint;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator5;
+ private System.Windows.Forms.ToolStripButton tsbPreview;
+ private System.Windows.Forms.ToolStripSeparator toolStripSeparator2;
+ private System.Windows.Forms.ToolStripButton tsbCheckout;
+ private DCSoft.Writer.Controls.WriterControl myEditControl;
+ private DCSoft.Writer.Commands.WriterCommandControler writerCommandControler1;
+ private System.Windows.Forms.ContextMenuStrip cmEdit;
+ private System.Windows.Forms.ToolStripMenuItem cmRedo;
+ private System.Windows.Forms.ToolStripMenuItem cmUndo;
+ private System.Windows.Forms.ToolStripSeparator toolStripMenuItem4;
+ private System.Windows.Forms.ToolStripMenuItem cmCut;
+ private System.Windows.Forms.ToolStripMenuItem cmCopy;
+ private System.Windows.Forms.ToolStripMenuItem cmPaste;
+ private System.Windows.Forms.ToolStripSeparator toolStripMenuItem5;
+ private System.Windows.Forms.ToolStripMenuItem cmColor;
+ private System.Windows.Forms.ToolStripMenuItem cmFont;
+ private System.Windows.Forms.ToolStripSeparator toolStripMenuItem6;
+ private System.Windows.Forms.ToolStripMenuItem cmAlignLeft;
+ private System.Windows.Forms.ToolStripMenuItem cmAlignCenter;
+ private System.Windows.Forms.ToolStripMenuItem cmAlignRight;
+ private System.Windows.Forms.ToolStripSeparator toolStripMenuItem8;
+ public System.Windows.Forms.ToolStrip toolStrip1;
+ }
+}
diff --git a/AIMS/OremrUserControl/ucDocumentGoodsBill.cs b/AIMS/OremrUserControl/ucDocumentGoodsBill.cs
new file mode 100644
index 0000000..30d8e5c
--- /dev/null
+++ b/AIMS/OremrUserControl/ucDocumentGoodsBill.cs
@@ -0,0 +1,397 @@
+using AIMS.PublicUI.UI;
+using DCSoft.Writer;
+using DCSoft.Writer.Data;
+using DCSoft.Writer.Dom;
+using DocumentManagement;
+using DrawGraph;
+using System;
+using System.Data;
+using System.Linq;
+using System.Reflection;
+using System.Windows.Forms;
+using System.Xml;
+
+namespace AIMS.OremrUserControl
+{
+ public partial class ucDocumentGoodsBill : UserControl
+ {
+ //模板Model
+ private PrintTemplate TModel = new PrintTemplate();
+ //文档Model
+ private PrintDocument DModel = new PrintDocument();
+ //患者Id
+ public PatientRecord Patient = new PatientRecord();
+ //刷新文档目录
+ public delegate void RefreshUcClassify(int patientId);
+ public RefreshUcClassify RefreshUc;
+ //文档标题
+ public delegate void ModifyTitle();
+ public ModifyTitle ModifyT;
+ public delegate void ClearTitle();
+ public ClearTitle ClearT;
+ //关闭
+ public delegate void CloseParent();
+ public CloseParent CloseP;
+ //容器tab
+ //public TabItem Tb;
+ //文档事件
+ private EventCodeCompiler codeCompiler;
+ private string strClick, strContentChanged;
+
+ public ucDocumentGoodsBill(int tempId, int docId, PatientRecord patient)
+ {
+ InitializeComponent();
+
+ Patient = patient;
+ TModel.Id = tempId;
+ DModel.Id = docId;
+ DModel.TemplateId = tempId;
+ }
+
+ public ucDocumentGoodsBill(PrintDocument model, PatientRecord patient)
+ {
+ InitializeComponent();
+
+ Patient = patient;
+ DModel = model;
+ }
+
+ private void ucDocumentGoodsBill_Load(object sender, EventArgs e)
+ {
+ //myEditControl初始化
+ myEditControl.MoveFocusHotKey = MoveFocusHotKeys.Tab;
+ myEditControl.HeaderFooterReadonly = true;
+ myEditControl.CommandControler = this.writerCommandControler1;
+ writerCommandControler1.Start();
+ //表单视图模式
+ myEditControl.FormView = DCSoft.Writer.Controls.FormViewMode.Strict;
+ //加载知识库
+ //DocumentDAL.LoadKBLibaray();
+ myEditControl.ExecuteCommand("LoadKBLibrary", false, DocumentDAL.Lib);
+ // 注册自定义的输入域下拉列表提供者
+ myEditControl.AppHost.Services.AddService(
+ typeof(IListItemsProvider),
+ new MyListItemsProvider());
+ //// 设置文档处于调试模式
+ //myEditControl.DocumentOptions.BehaviorOptions.DebugMode = true;
+ //myEditControl.DocumentOptions.BehaviorOptions.InsertCommentBindingUserTrack = true;
+ //启用逻辑删除、权限控制
+ myEditControl.Document.Options.SecurityOptions.EnablePermission = true;
+ myEditControl.Document.Options.SecurityOptions.EnableLogicDelete = true;
+ myEditControl.Document.Options.SecurityOptions.ShowLogicDeletedContent = true;
+ myEditControl.Document.Options.SecurityOptions.ShowPermissionMark = true;
+ myEditControl.Document.Options.SecurityOptions.ShowPermissionTip = true;
+ //文档事件
+ myEditControl.DocumentContentChanged += new WriterEventHandler(myEditControl_DocumentContentChanged);
+ myEditControl.AfterExecuteCommand += new DCSoft.Writer.Commands.WriterCommandEventHandler(myEditControl_AfterExecuteCommand);
+
+ if (DModel.Id > 0)
+ {
+ //加载文档
+ DModel = DocumentDAL.GetDocumentbyId(DModel.Id);
+ myEditControl.LoadDocumentFromString(DModel.XmlFile, "xml");
+
+ //患者基本信息二次赋值
+ var query = from XTextElement in myEditControl.Document.Fields.ToArray()
+ where XTextElement is XTextInputFieldElement
+ && (XTextElement as XTextInputFieldElement).FieldSettings != null
+ && (XTextElement as XTextInputFieldElement).FieldSettings.EditStyle != InputFieldEditStyle.Date
+ && (XTextElement as XTextInputFieldElement).FieldSettings.ListSource != null
+ select XTextElement as XTextInputFieldElement;
+ DataRow[] dr = DocumentDAL.GetReflectionList("V_OperationRecordALL").Select("KB_SEQ <> '' and Reload=1");
+ var p = typeof(PatientRecord).GetProperties();
+ for (int i = 0; i < dr.Count(); i++)
+ {
+ var name = dr[i].ItemArray[0].ToString();
+ var value = dr[i].ItemArray[1].ToString();
+ XTextInputFieldElement element = query.Where(x => x.FieldSettings.ListSource.SourceName == value).FirstOrDefault();
+ PropertyInfo info = p.Where(px => px.Name == name).FirstOrDefault();
+ if (element != null && info != null)
+ {
+ element.Text = info.GetValue(Patient, null).ToString();
+ }
+ }
+ }
+ else
+ {
+ //无文档则加载模板
+ TModel = DocumentDAL.GetTemplatebyId(DModel.TemplateId);
+ if (TModel.XmlFile == null || TModel.XmlFile.Trim().Equals(string.Empty))
+ {
+ myEditControl.ExecuteCommand("FileNew", true, null);
+ }
+ else
+ {
+ myEditControl.LoadDocumentFromString(TModel.XmlFile, "xml");
+ }
+ DModel.XmlFileName = TModel.XmlFileName;
+ DModel.TemplateId = TModel.Id;
+ //患者基本信息赋值
+ var query = from XTextElement in myEditControl.Document.Fields.ToArray()
+ where XTextElement is XTextInputFieldElement
+ && (XTextElement as XTextInputFieldElement).FieldSettings != null
+ && (XTextElement as XTextInputFieldElement).FieldSettings.EditStyle != InputFieldEditStyle.Date
+ && (XTextElement as XTextInputFieldElement).FieldSettings.ListSource != null
+ select XTextElement as XTextInputFieldElement;
+ DataRow[] dr = DocumentDAL.GetReflectionList("V_OperationRecordALL").Select("KB_SEQ <> ''");
+ var p = typeof(PatientRecord).GetProperties();
+ for (int i = 0; i < dr.Count(); i++)
+ {
+ var name = dr[i].ItemArray[0].ToString();
+ var value = dr[i].ItemArray[1].ToString();
+ XTextInputFieldElement element = query.Where(x => x.FieldSettings.ListSource.SourceName == value).FirstOrDefault();
+ PropertyInfo info = p.Where(px => px.Name == name).FirstOrDefault();
+ if (element != null && info != null)
+ {
+ element.Text = info.GetValue(Patient, null).ToString();
+ }
+ }
+
+ if (Patient.LisResult != null && Patient.LisResult.PATIENT_ID != null)
+ {
+ DataRow[] drr = DocumentDAL.GetReflectionList("V_LisResult").Select("KB_SEQ <> ''");
+ var lis = typeof(PatientLisResult).GetProperties();
+ for (int i = 0; i < drr.Count(); i++)
+ {
+ var name = drr[i].ItemArray[0].ToString();
+ var value = drr[i].ItemArray[1].ToString();
+ XTextInputFieldElement element = query.Where(x => x.FieldSettings.ListSource.SourceName == value).FirstOrDefault();
+ PropertyInfo info = lis.Where(px => px.Name == name).FirstOrDefault();
+ if (element != null && info != null)
+ {
+ element.Text = info.GetValue(Patient.LisResult, null).ToString();
+ }
+ }
+ }
+ DocumentExtension.SetDocumentDefaultValue(TModel.XmlFileName, myEditControl.Document, Patient);
+ }
+ string xmlStatic = DocumentDAL.GetEventXml(DModel.TemplateId);
+ if (xmlStatic != string.Empty)
+ {
+ XmlDocument doc = new XmlDocument();
+ doc.LoadXml(xmlStatic);
+ strClick = doc.GetElementsByTagName("ClickEvent")[0].InnerText;
+ strContentChanged = doc.GetElementsByTagName("ContentChangedEnvent")[0].InnerText;
+ }
+ codeCompiler = new EventCodeCompiler(ref this.myEditControl, strClick, strContentChanged);
+
+ //文档用户信息
+ myEditControl.UserLoginByParameter(
+ AIMSExtension.PublicMethod.OperatorNo,
+ AIMSExtension.PublicMethod.OperatorName,
+ AIMSExtension.PublicMethod.PermissionLevel);
+ //隐藏痕迹先
+ myEditControl.ExecuteCommand(StandardCommandNames.CleanViewMode, false, true);
+
+ if (Patient.MedicalRecord != null && Patient.MedicalRecord != "")
+ {
+ tsbSave.Visible = false;
+ tsbSaveAndPrint.Text = "打印";
+ }
+
+ }
+
+ void myEditControl_AfterExecuteCommand(object eventSender, DCSoft.Writer.Commands.WriterCommandEventArgs args)
+ {
+ if (args.Name == "Undo" && !myEditControl.Document.Modified && ClearT != null)
+ {
+ ClearT();
+ }
+ }
+
+ void myEditControl_DocumentContentChanged(object eventSender, WriterEventArgs args)
+ {
+ if (myEditControl.Document.Modified && ModifyT != null)
+ {
+ ModifyT();
+ }
+ }
+
+ private void tsbSave_Click(object sender, EventArgs e)
+ {
+ try
+ {
+ SaveDocument();
+ }
+ catch (Exception exp)
+ {
+ MessageBox.Show(exp.Message, "提示");
+ }
+ }
+
+ ///
+ /// 关闭文档
+ ///
+ /// 文档标题
+ /// 是否取消关闭
+ public void CloseMsg(string text, ref bool isCancel)
+ {
+ if (text.EndsWith("*"))
+ {
+ DialogResult result = MessageBox.Show("文档【"
+ + DModel.XmlFileName +
+ "】已经修改,尚未保存,是否保存文件?", "系统提示", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Question,
+ MessageBoxDefaultButton.Button1);
+ switch (result)
+ {
+ case DialogResult.Yes:
+ try
+ {
+ SaveDocument();
+ }
+ catch (Exception exp)
+ {
+ MessageBox.Show(exp.Message, "提示");
+ isCancel = true;
+ }
+ break;
+ case DialogResult.No:
+ break;
+ case DialogResult.Cancel:
+ isCancel = true;
+ return;
+ //break;
+ default:
+ break;
+ }
+ }
+ }
+
+ ///
+ /// 保存文档
+ ///
+ public void SaveDocument()
+ {
+ try
+ {
+ //输入域校验
+ ValueValidateResultList listR = myEditControl.Document.ValueValidate();
+ string vMsg = "";
+ foreach (var item in listR)
+ {
+ vMsg += item.Message + System.Environment.NewLine;
+ }
+ if (vMsg.Length > 0)
+ {
+ throw new Exception(vMsg);
+ }
+ //model赋值
+ DModel.XmlFile = myEditControl.Document.XMLText;
+ DModel.PatientId = this.Patient.PatientId;
+ DModel.OperatorNo = AIMSExtension.PublicMethod.OperatorNo;
+ XmlDocument doc = new XmlDocument();
+ XmlElement rootNode = doc.CreateElement("Root");
+ doc.AppendChild(rootNode);
+ var query = from XTextElement in myEditControl.Document.Fields.ToArray()
+ where (XTextElement is XTextInputFieldElement && (XTextElement as XTextInputFieldElement).ToolTip != "")
+ || XTextElement is XTextCheckBoxElement && ((XTextElement as XTextCheckBoxElement).ToolTip != "")
+ select XTextElement;
+ foreach (var element in query)
+ {
+ XmlElement itemNode = doc.CreateElement("Item");
+
+ if (element is XTextInputFieldElement)
+ {
+ itemNode.SetAttribute("Name", (element as XTextInputFieldElement).ToolTip);
+ itemNode.InnerText = element.Text;
+ rootNode.AppendChild(itemNode);
+ }
+ else if (element is XTextCheckBoxElement)
+ {
+ itemNode.SetAttribute("Name", (element as XTextCheckBoxElement).ToolTip);
+ itemNode.SetAttribute("Checked", ((XTextCheckBoxElement)element).Checked == true ? "1" : "0");
+ itemNode.InnerText = (element as XTextCheckBoxElement).Value;
+ rootNode.AppendChild(itemNode);
+ }
+ }
+ DModel.XmlStatic = doc.OuterXml;
+ if (DModel.Id > 0)
+ {
+ DocumentDAL.UpdatePrintDocument(this.DModel);
+ //MessageBox.Show("修改成功!");
+ }
+ else
+ {
+ DocumentDAL.InsertPrintDocument(this.DModel);
+ //new frmMessageBox().Show();
+ }
+ if (RefreshUc != null)
+ {
+ RefreshUc(this.Patient.PatientId);
+ }
+ if (ClearT != null)
+ {
+ ClearT();
+ }
+ myEditControl.Document.Modified = false;
+ ////更新ASA分级与心功能分级
+ //if (DModel.XmlFileName == "麻醉术前访视单")
+ //{
+ // var asa = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
+ // && (x as XTextInputFieldElement).ToolTip == "ASA分级").FirstOrDefault();
+ // string strASA = asa == null ? "" : asa.Text;
+ // var hf = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement
+ // && (x as XTextInputFieldElement).ToolTip == "心功能分级").FirstOrDefault();
+ // string strH = hf == null ? "" : hf.Text;
+ // BOperationApply.UpdateASA(Patient.ApplyId, strASA, strH);
+ //}
+
+ new frmMessageBox().Show();
+ }
+ catch
+ {
+ //MessageBox.Show(ex.Message, "错误");
+ throw;
+ }
+ }
+
+ public void tsbSaveAndPrint_Click(object sender, EventArgs e)
+ {
+ if (tsbCheckout.Text == " 隐藏痕迹")
+ {
+ tsbCheckout_Click(null, null);
+ }
+ if (tsbSaveAndPrint.Text == "打印")
+ {
+ myEditControl.ExecuteCommand("FilePrint", true, null);
+ }
+ else
+ {
+ tsbSave_Click(null, null);
+ myEditControl.ExecuteCommand("FilePrint", true, null);
+ }
+ }
+
+ private void tsbPreview_Click(object sender, EventArgs e)
+ {
+ if (tsbCheckout.Text == " 隐藏痕迹")
+ {
+ tsbCheckout_Click(null, null);
+ }
+ myEditControl.ExecuteCommand("FilePrintPreview", true, null);
+ }
+
+ private void tsbExit_Click(object sender, EventArgs e)
+ {
+ CloseP();
+ }
+
+ private void tsbCheckout_Click(object sender, EventArgs e)
+ {
+ if (tsbCheckout.Text == " 查看痕迹")
+ {
+ myEditControl.ExecuteCommand(StandardCommandNames.ComplexViewMode, false, true);
+ myEditControl.RefreshDocument();
+ tsbCheckout.Text = " 隐藏痕迹";
+ }
+ else
+ {
+ myEditControl.ExecuteCommand(StandardCommandNames.CleanViewMode, false, true);
+ myEditControl.RefreshDocument();
+ tsbCheckout.Text = " 查看痕迹";
+ }
+ }
+
+
+ }
+}
diff --git a/AIMS/OremrUserControl/ucDocumentGoodsBill.resx b/AIMS/OremrUserControl/ucDocumentGoodsBill.resx
new file mode 100644
index 0000000..98f903d
--- /dev/null
+++ b/AIMS/OremrUserControl/ucDocumentGoodsBill.resx
@@ -0,0 +1,231 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 17, 17
+
+
+ 143, 17
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAAVpJREFUOE/Fk7FLAlEcx+8/6U+4PQfHwuU2wyEkCXI7iOBGheDavBZpiRw8Glzs
+ EEwiOLjBxMG8EAcLlGhIkd7rrEgMvr331CwUUgn6wC3v/X6f3/f94KQ/xW28Il/xkLEpaq13jI7nI+cQ
+ 0ZiwJp9uElQac4gKRQrzgiAQa8EXzcG/k0VAcxBNEmhM4rb6QtLtDeBXr6eFGSZQDgjkjRSC8QIiuiNE
+ cjiLsEGwm6YosSRn5Wcmt6cFJ5eemL66eYzHpxdRkC7cwrdlQlZS2E5SqCkC9YgNYVLR9J2xILiX+XFZ
+ rnegxi3RzJMosWHK0fWEU6eHkE6wzhKMjgRtOoBxPpwsmtUmS2RMC+zqeAdZUO/tq4AvjL+Zx+aTefPK
+ 2gwBh0f0a00Uq/ezC37DKrZFish+eTkBJxRzhSRf6qJDP5YTqYcPCCUIbu4mu1iYq3ofTm3Bf+GfkKRP
+ YYMA39/ezxQAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAAVJJREFUOE+1kD9Lw1AUxfuN8gE6ZHfJpnQKdrFbxo4pCHUzk3SRdrAoZKmhUEJR
+ AxmKBLF/KA4qtlgtWoovbWOpWjjmvgZBUpUIPXCXd+/5nXtfbKVq92bQ7TF0y0Xlcozm9Su86RxB+3eR
+ USsx7Jsudo1FEahss+UQ7YhhOPngDfPC4+bUHoOo1CFulRBPlbGmdlGsMpg1NwxQfcCxM8JZa8rNstbx
+ zZZvtpDM2ljPmBDlAqQdBn0ZQMl1oOQYlEKQLJd4HZg3fPjpxUN8s8i3yJ+MwwBKlFRKXkCUjAHnavBt
+ kLb5ESCpHQjKAkKbEPCu/x4CJLJdHNqTMEBM0830YRYEf3Vhwy9J+xp8GHi8R39gNZb8wV+qNe5BIXRi
+ 8BRNyW2Hpxu152iAgTtH5XzIzQm1GT29dTvlZildx6nzGB1gt2fIV/sYeW//u33FisU+AR7kFq4i1td2
+ AAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAAVZJREFUOE+tkMFLAkEUxv2DBO952EMX8TLnPS2B4EKHOQpdtsvacZcgvAgSSpAY
+ 22KIB0EYqCQqsUsgiMNCm0W0UHTq8LVvCqGDq4IfDMO8+b7fezOpjWs0GqPpd/F3VJJS4qTl/6st1Mtb
+ BKdSw3v0MQ94Xh9icL8agORUPHTFrQrI5wgGt0BTqMtV1G4LOE4NYRiifz0EM/h6gJ54UM9onnfALQe6
+ bq4eJgVBqII0OnXf27fXA5DMUlmFWdFCT6zxgXL2Dbf1CWZNYR9PwEpD6NYI7qmEGL4mgyhsHkXQyxL5
+ nQZyhSryJaEgWrGPw8YgGWC3ZmAH09jsIcMccNtXYbrrXEpVU8ZFojDt4yCamwkwefpC8+IOGY0vAcTv
+ JnNHUDdLmbl7A82IJ9IMpNPZZAB3H3/NcfctVlBmGj27bSIdr7p/lQwgc263qgL1syXmzSiV+gGVpfCL
+ dUj0HgAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAAT5JREFUOE+9kSFPxEAQhftT+hPuJ1RWViIrkSuRK5ErK1eeXFm5ssmZNYSSQNgL
+ CSFBsA7cY2b27not5CpIeMkzzc733kyLP8v5iOyQ3QdYF/D4/IrDk8vi4aWs82i1xfi0X4dw6lJm6+GH
+ gFaZdQhXZvkRoOYIMcFYBzckWinb9vTNZd+/fM6BXPekLyAlIL7RIAGW0tuEzbXH7uFjgliqy7IDVack
+ 7SKUjbCUvJTqMnhz5bC7e88Q3peVJD1JOq9h+3xc47LDmNCaKMPssrEHAO3Lw8dkcRfokPO/w28Y7gPB
+ 6VhzALXl1DBGekAeIjSBWLy36qKkNzqIBVCfATZ1+8PKTL/3GMDp8lfo8GVtpkP+pvY2A86TTw3obquA
+ 5sbL3lx3spdhPnxZrQAq5WcXF1OqmIbLSl8G/JOK4hs42OceHB7wsAAAAABJRU5ErkJggg==
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAAZRJREFUOE+1kqFuHDEURecP9hP2ExYWGgYaLjQMNAw0CFgVGQ40XGi40HBQZThS
+ qtRRChYals3tfXYm2aQbVapUS0eWZuae5/c8w39ZKToIMTj8fHrEy+Pr6/v8DfHoXwneoJ5Do8we9lbB
+ HyxxbX9+engvlFCtEQupNSCMtu1f7y3y5OCshjM71ETxaQtr9J8CCQv+YBii8OxZ3aFMBnHUMHuF4LbI
+ foDdfxSEVRDgnWFFQfPoL7CipcDbLjA36r0grALpu7B65tHD5o2RMLiivuw+CEbXh1a4z+w/a9S4gQ9s
+ aYxwnhwCrAswdx7G+isCqTxzSBPDiQMTAcPLsnR+LRxsRTlX6FsHbdybJHipTCbVw6cNShhaZQmHmDrH
+ hFwoYDhNGUqbLpH7lb7XcD0OXcBjX1bOc0XKBXpvW1jdaCjFgcrPUSciYR69UJBHXhd7lvDlCWQuMeU+
+ H6J2WwqchPsVXSIDu6ycptLC8dR5FTz/eGj3L/dttIJWu/ZCpi09r9Wu0QSfLZm2fPA3+tf/vIbhN/oU
+ /B2SVSR4AAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAAT9JREFUOE9jwAcu3Xr1v2rSof9QLukgv33/f//89f+vPXhPuiGfv/4EawZhr4wl
+ pBvQNv/M/7ZZh/7bx8//r+/f/3/v8dukGQKy9dOXH/9DyxaDDfBImUO8AduO3vqfVLMBrOHUlWf/9cP7
+ wYacuvSIOENAmm/dfwNXbJ04FWxAUsk8wgY8e/Xpv334/P+h+Yv/h2ZOA9PWkUAD3Ov/y5vn/3/0FGEw
+ VlA1Yc//pIZV/6/cevz/2Llb/0+du/f/+h2gN0AG2Of/TymdjdsAUKCBnPvx0zcMRQ2TtoFdoONcjt2A
+ Zy8//M9v3fjfOqjtv1ciqqJV204ANceDXQDCOs4Z/z98+oJq0MfP38FOvXLzMRA/QJH88OkrWOzKtbv/
+ LwLxlet3/3/4iGYAheA/0DRyMBxgkyQGwwE2SWIwAwMA+v4jx0CWuW8AAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAALZJREFUOE9jGEZgQseE/7jw9P7p/6HKcAOQwnOnz/1//PDx/yXzloA1gvggDGJD
+ leEGIIVQJsPqpavBmkCGgfjIckQBkAEGGgb/vby8/js4BGBgfn5+/AbOnz8fpOB/Y2Pj//379//X19cH
+ 8/v7+//D5EDqcAKQooSMBLgX7O3twZpAhoH4IINANE6AHgboBuAEHz98/A/TDMKg2ACJEW0ALjBwBty/
+ fx/ufBAGxQbZrqARYGAAAIsJsq+EVytAAAAAAElFTkSuQmCC
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAADFJREFUOE9jGDTgPxGYtgCbjYQwdQE2G9AxbQE2Gwlh6gJsNqBj2gJsNhLCwwMw
+ MAAA3ddBv2ARh7EAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAAD1JREFUOE/djTEKACAMxAr2/1/WJWOGIgeCgWx3pN7TvfaN3INYxWQexCoTuQex
+ isk8iFUmcg9iFZP5P1Qdb5tK0V1/owgAAAAASUVORK5CYII=
+
+
+
+
+ iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAALGPC/xhBQAAAAlwSFlzAAAS
+ cQAAEnEB89x6jgAAACtJREFUOE9jGBTgP5mYdgCbbdgw9QA204nBwwlg8x8xmHYAm23Y8PAADAwA4MY9
+ w+4nm/MAAAAASUVORK5CYII=
+
+
+
+ 394, 17
+
+
\ No newline at end of file
diff --git a/DocumentManagement/UI/frmKB.cs b/DocumentManagement/UI/frmKB.cs
index e5f93ad..4e492f6 100644
--- a/DocumentManagement/UI/frmKB.cs
+++ b/DocumentManagement/UI/frmKB.cs
@@ -29,7 +29,7 @@ namespace DocumentManagement
tvwKB.RefreshView();
tvwKB.ExpandAll();
- tvwKB.SelectedNode = tvwKB.Nodes[0] ;
+ tvwKB.SelectedNode = tvwKB.Nodes[0];
}
private void btnClear_Click(object sender, EventArgs e)
@@ -331,11 +331,11 @@ namespace DocumentManagement
}
}
- private void tvwKB_MouseClick(object sender, MouseEventArgs e)
+ private void tvwKB_AfterSelect(object sender, TreeViewEventArgs e)
{
}
- private void tvwKB_AfterSelect(object sender, TreeViewEventArgs e)
+ private void tvwKB_MouseClick(object sender, MouseEventArgs e)
{
if (tvwKB.SelectedNode == null)
{