diff --git a/AIMS/AIMS.xml b/AIMS/AIMS.xml index 83a1b46..9fc56e2 100644 --- a/AIMS/AIMS.xml +++ b/AIMS/AIMS.xml @@ -2,7 +2,7 @@ - Data Source=.;Initial Catalog=AIMSDB_ETKQQMYYY;User ID=sa;Password=Test2020; + Data Source=.;Initial Catalog=AIMSDB_FJZPTFYY;User ID=sa;Password=Test2020; Data Source=.;Initial Catalog=AIMSDB_DATA;User ID=sa;Password=Test2020; Data Source=(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=192.168.10.7)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=orcl2))));Persist Security Info=True;User ID=smview;Password=i39; diff --git a/AIMSControls/AIMSControls.csproj b/AIMSControls/AIMSControls.csproj index 709fe4f..dcb719a 100644 --- a/AIMSControls/AIMSControls.csproj +++ b/AIMSControls/AIMSControls.csproj @@ -373,6 +373,12 @@ frmInstrumentRecord.cs + + Form + + + frmInstrumentRecord3.cs + Form @@ -439,6 +445,12 @@ frmSelectPatientGoodsBill.cs + + Form + + + frmSelectPatientGoodsBill3.cs + Form @@ -1045,6 +1057,10 @@ frmInstrumentRecord.cs Designer + + frmInstrumentRecord3.cs + Designer + frmInstrumentRecord2.cs Designer @@ -1079,6 +1095,9 @@ frmSelectPatientGoodsBill.cs + + frmSelectPatientGoodsBill3.cs + frmSelectPatientGoodsBill2.cs diff --git a/AIMSControls/FormMainManage.cs b/AIMSControls/FormMainManage.cs index 16d296b..644f4f2 100644 --- a/AIMSControls/FormMainManage.cs +++ b/AIMSControls/FormMainManage.cs @@ -168,6 +168,8 @@ namespace AIMS sideNavItem.Symbol = "\uf044"; if (menuSec.Name == "内镜麻醉") sideNavItem.Symbol = "\uf044"; + if (menuSec.Name == "介入手术") + sideNavItem.Symbol = "\uf044"; if (menuSec.Name == "科室登记") sideNavItem.Symbol = "\uf044"; if (menuSec.Name == "复苏记录") diff --git a/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.Designer.cs b/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.Designer.cs new file mode 100644 index 0000000..becbabf --- /dev/null +++ b/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.Designer.cs @@ -0,0 +1,1569 @@ +锘縩amespace AIMS.OperationAanesthesia +{ + partial class frmInstrumentRecord3 + { + /// + /// 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(frmInstrumentRecord3)); + this.panel2 = new System.Windows.Forms.Panel(); + this.panel3 = new System.Windows.Forms.Panel(); + this.panel14 = new System.Windows.Forms.Panel(); + this.button10 = new System.Windows.Forms.Button(); + 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.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.panel9 = new AIMS.PublicUI.UI.DrawPanel(); + this.myEditControl2 = new DCSoft.Writer.Controls.WriterControl(); + this.spTabQXQDD2 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.panelExZKZB = new DevComponents.DotNetBar.PanelEx(); + this.panel8 = new AIMS.PublicUI.UI.DrawPanel(); + this.myEditControl = new DCSoft.Writer.Controls.WriterControl(); + this.spTabQXQDD = new DevComponents.DotNetBar.SuperTabItem(); + this.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.writerCommandControler1 = new DCSoft.Writer.Commands.WriterCommandControler(this.components); + 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.superTabControlPanel2.SuspendLayout(); + this.panel9.SuspendLayout(); + this.superTabControlPanel1.SuspendLayout(); + this.panelExZKZB.SuspendLayout(); + this.panel8.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(); + ((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).BeginInit(); + 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.button10); + 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; + // + // button10 + // + this.button10.BackColor = System.Drawing.Color.Transparent; + this.button10.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; + this.button10.Cursor = System.Windows.Forms.Cursors.Hand; + this.button10.Dock = System.Windows.Forms.DockStyle.Top; + this.button10.FlatAppearance.BorderSize = 0; + this.button10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; + this.button10.Font = new System.Drawing.Font("寰蒋闆呴粦", 11F); + this.button10.ForeColor = System.Drawing.Color.DimGray; + this.button10.Image = global::AIMSControls.Properties.Resources.瀹夊叏妫鏌; + this.button10.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; + this.button10.Location = new System.Drawing.Point(0, 700); + this.button10.Name = "button10"; + this.button10.Size = new System.Drawing.Size(160, 50); + this.button10.TabIndex = 19; + this.button10.Text = " 瀹夊叏鏍告煡"; + this.button10.UseVisualStyleBackColor = false; + this.button10.Visible = false; + this.button10.Click += new System.EventHandler(this.button10_Click); + // + // 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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.Properties.Resources.鎮h呭垪琛; + 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 = " 鎮h呭垪琛"; + 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::AIMSControls.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::AIMSControls.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.Visible = 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::AIMSControls.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.Visible = 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::AIMSControls.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.spTabQXQDD2, + this.spTabQXQDD}); + this.superTabMain.SelectedTabChanged += new System.EventHandler(this.superTabMain_SelectedTabChanged); + // + // superTabControlPanel2 + // + this.superTabControlPanel2.Controls.Add(this.panel9); + this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel2.Location = new System.Drawing.Point(0, 28); + this.superTabControlPanel2.Name = "superTabControlPanel2"; + this.superTabControlPanel2.Size = new System.Drawing.Size(1389, 803); + this.superTabControlPanel2.TabIndex = 0; + this.superTabControlPanel2.TabItem = this.spTabQXQDD2; + // + // panel9 + // + this.panel9.AutoScroll = true; + this.panel9.BackColor = System.Drawing.Color.White; + this.panel9.Controls.Add(this.myEditControl2); + 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; + // + // myEditControl2 + // + this.myEditControl2.Dock = System.Windows.Forms.DockStyle.Fill; + this.myEditControl2.Location = new System.Drawing.Point(0, 0); + this.myEditControl2.Name = "myEditControl2"; + this.myEditControl2.Size = new System.Drawing.Size(1389, 803); + this.myEditControl2.TabIndex = 7; + // + // spTabQXQDD2 + // + this.spTabQXQDD2.AttachedControl = this.superTabControlPanel2; + this.spTabQXQDD2.GlobalItem = false; + this.spTabQXQDD2.Name = "spTabQXQDD2"; + this.spTabQXQDD2.Text = "鎵嬫湳鎶ょ悊璁板綍"; + // + // 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; + // + // panel8 + // + this.panel8.AutoScroll = true; + this.panel8.BackColor = System.Drawing.Color.White; + this.panel8.Controls.Add(this.myEditControl); + this.panel8.Dock = System.Windows.Forms.DockStyle.Fill; + this.panel8.Location = new System.Drawing.Point(0, 0); + this.panel8.Name = "panel8"; + this.panel8.Size = new System.Drawing.Size(1389, 803); + this.panel8.TabIndex = 2; + this.panel8.Scroll += new System.Windows.Forms.ScrollEventHandler(this.panel8_Scroll); + // + // myEditControl + // + this.myEditControl.Dock = System.Windows.Forms.DockStyle.Fill; + this.myEditControl.Location = new System.Drawing.Point(0, 0); + this.myEditControl.Name = "myEditControl"; + this.myEditControl.Size = new System.Drawing.Size(1389, 803); + this.myEditControl.TabIndex = 6; + // + // spTabQXQDD + // + this.spTabQXQDD.AttachedControl = this.superTabControlPanel1; + this.spTabQXQDD.GlobalItem = false; + this.spTabQXQDD.Name = "spTabQXQDD"; + this.spTabQXQDD.Text = "鍣ㄦ娓呯偣璁板綍"; + // + // 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::AIMSControls.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.Click += new System.EventHandler(this.plPrintBrowse_Click); + // + // PanelSave + // + this.PanelSave.BackgroundImage = global::AIMSControls.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.Click += new System.EventHandler(this.PanelSave_Click); + // + // plPrint + // + this.plPrint.BackgroundImage = global::AIMSControls.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.Click += new System.EventHandler(this.plPrint_Click); + // + // plRefresh + // + this.plRefresh.BackgroundImage = global::AIMSControls.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.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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; + // + // frmInstrumentRecord3 + // + 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 = "frmInstrumentRecord3"; + 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.superTabControlPanel2.ResumeLayout(false); + this.panel9.ResumeLayout(false); + this.superTabControlPanel1.ResumeLayout(false); + this.panelExZKZB.ResumeLayout(false); + this.panel8.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(); + ((System.ComponentModel.ISupportInitialize)(this.writerCommandControler1)).EndInit(); + 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.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.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.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; + private DCSoft.Writer.Controls.WriterControl myEditControl; + private DCSoft.Writer.Commands.WriterCommandControler writerCommandControler1; + private System.Windows.Forms.Button button10; + private DCSoft.Writer.Controls.WriterControl myEditControl2; + } +} \ No newline at end of file diff --git a/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.cs b/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.cs new file mode 100644 index 0000000..7ee71a6 --- /dev/null +++ b/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.cs @@ -0,0 +1,2261 @@ +锘縰sing AIMS.DocManager; +using AIMS.OperationFront.UI; +using AIMS.OremrUserControl; +using AIMS.PublicUI.UI; +using AIMSBLL; +using AIMSExtension; +using AIMSModel; +using DCSoft.Writer; +using DCSoft.Writer.Data; +using DCSoft.Writer.Dom; +using DevComponents.Editors.DateTimeAdv; +using DocumentManagement; +using DrawGraph; +using HelperDB; +using Newtonsoft.Json; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Reflection; +using System.Windows.Forms; +using System.Xml; + +namespace AIMS.OperationAanesthesia +{ + public partial class frmInstrumentRecord3 : Form + { + #region 鍒濆鍖 + public OperationRecord _record; + 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 List QXList; + + //妯℃澘Model + private PrintTemplate TModel = new PrintTemplate(); + private PrintTemplate TModel2 = new PrintTemplate(); + //鏂囨。Model + private PrintDocument DModel = new PrintDocument(); + private PrintDocument DModel2 = new PrintDocument(); + //鎮h匢d + public PatientRecord Patient = new PatientRecord(); + //瀹瑰櫒tab + //public TabItem Tb; + //鏂囨。浜嬩欢 + private EventCodeCompilerBill codeCompiler; + private string strClick, strContentChanged; + + public frmInstrumentRecord3() + { + InitializeComponent(); + #region 鏃堕棿杞翠簨浠 + this.picInRoom.BackgroundImage = global::AIMSControls.Properties.Resources.鍏ユ墜鏈; + this.picOpeBegin.BackgroundImage = global::AIMSControls.Properties.Resources.鎵嬫湳寮濮; + this.picOpeEnd.BackgroundImage = global::AIMSControls.Properties.Resources.鎵嬫湳缁撴潫; + this.picOutRoom.BackgroundImage = global::AIMSControls.Properties.Resources.鍑烘墜鏈; + #endregion + } + + 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; + } + if (PublicMethod.OperatorNo == "admin" || PublicMethod.RoleName.Contains("鏁版嵁涓績")) + { + btnsjzx.Visible = true; + } + if (PublicMethod.OperatorNo == "admin" || PublicMethod.RoleName.Contains("澶у睆閫氱煡")) + { + btndptz.Visible = true; + } + if (PublicMethod.HospitalName.Contains("婕虫郸澶╃")) + { + QXList = new List() { + "1","2","3","4","5","6","7","8","9","10","11","12","13","14","15" + }; + + } + else + { + QXList = new List() { + "1","2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","61","62","63", + "21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","64","65","66", + "41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","67","68","69" + }; + } + + //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; + + //myEditControl2鍒濆鍖 + myEditControl2.MoveFocusHotKey = MoveFocusHotKeys.Tab; + myEditControl2.HeaderFooterReadonly = true; + myEditControl2.CommandControler = this.writerCommandControler1; + writerCommandControler1.Start(); + //琛ㄥ崟瑙嗗浘妯″紡 + myEditControl2.FormView = DCSoft.Writer.Controls.FormViewMode.Strict; + //鍔犺浇鐭ヨ瘑搴 + //DocumentDAL.LoadKBLibaray(); + myEditControl2.ExecuteCommand("LoadKBLibrary", false, DocumentDAL.Lib); + // 娉ㄥ唽鑷畾涔夌殑杈撳叆鍩熶笅鎷夊垪琛ㄦ彁渚涜 + myEditControl2.AppHost.Services.AddService( + typeof(IListItemsProvider), + new MyListItemsProvider()); + //// 璁剧疆鏂囨。澶勪簬璋冭瘯妯″紡 + //myEditControl2.DocumentOptions.BehaviorOptions.DebugMode = true; + //myEditControl2.DocumentOptions.BehaviorOptions.InsertCommentBindingUserTrack = true; + //鍚敤閫昏緫鍒犻櫎銆佹潈闄愭帶鍒 + myEditControl2.Document.Options.SecurityOptions.EnablePermission = true; + myEditControl2.Document.Options.SecurityOptions.EnableLogicDelete = true; + myEditControl2.Document.Options.SecurityOptions.ShowLogicDeletedContent = true; + myEditControl2.Document.Options.SecurityOptions.ShowPermissionMark = true; + myEditControl2.Document.Options.SecurityOptions.ShowPermissionTip = 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); + ReviewEvent(); + PublicMethod.WriteLog(Inevent.EventName, _record.PatientId.Value, 1, "鎶ょ悊"); + } + } + /// + /// 鐗规畩浜嬩欢瑙﹀彂鏃惰缃浘鐗 + /// + /// 鏄剧ず鏃堕棿鐨勬帶浠 + 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) + { + ReviewEvent(); + PublicMethod.WriteLog("淇敼" + Inevent.EventName, _record.PatientId.Value, 1, "鎶ょ悊"); + } + } + /// + /// 鐗规畩浜嬩欢瑙﹀彂鏃惰缃浘鐗 + /// + /// 鏄剧ず鏃堕棿鐨勬帶浠 + 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); + ReviewEvent(); + PublicMethod.WriteLog("鍒犻櫎" + Inevent.EventName, _record.PatientId.Value, 1, "鎶ょ悊"); + } + } + /// + /// 鍒ゆ柇鎺т欢瀵瑰簲鐨勪簨浠 鍒犻櫎浜嬩欢 + /// + /// 浜嬩欢瀵瑰簲鐨勬帶浠跺悕绉 + /// 浜嬩欢鍚嶇О + /// 鎺т欢 + 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()); + tb.CustomFormat = " "; + tb.Value = DateTime.Now; + tb.Tag = null; + + if (Inevent != null && Inevent.EventName == "鎵嬫湳寮濮") + { + _record.OperationBeginTime = null; + this.picOpeBegin.BackgroundImage = global::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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.frmSelectPatientGoodsBill3 frmSelectPatient = new frmSelectPatientGoodsBill3(); + 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() + { + //timerLoadAnesRescue = new System.Windows.Forms.Timer(components); + //timerLoadAnesRescue.Enabled = true;//璋冭瘯鏃惰缃负FALSE 锛 + //timerLoadAnesRescue.Interval = 300; + //timerLoadAnesRescue.Tick -= TimerLoadAnesRescue_Tick; + //timerLoadAnesRescue.Tick += TimerLoadAnesRescue_Tick; + //timerLoadAnesRescue.Start(); + TimerLoadAnesRescue_Tick(null, null); + } + 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); + SelectPatient.UpdateApplyState(PatientId, ApplyId); //淇敼鐘舵 + HelperDB.DbHelperSQL.CommitTrans(); + ClearTimeText(); + btnSelectPatient.Enabled = false; + + _record = BOperationRecord.getRecord(_record, -1, 2); + Patient = PatientRecord.GetPatientRecord(PatientId); + DModel = DocumentDAL.GetDocumentbyName("浠嬪叆鎵嬫湳瀹ゆ竻鐐瑰櫒姊拌褰曞崟", Patient.PatientId); + LoadDocumentGoodsBill(); + DModel2 = DocumentDAL.GetDocumentbyName("浠嬪叆鎵嬫湳鎶ょ悊璁板綍鍗", Patient.PatientId); + LoadDocumentGoodsBill2(); + PublicMethod.WriteLog("鍏ユ墜鏈棿", _record.PatientId.Value, 1, "鎶ょ悊"); + StartTimer(); + } + catch + { + HelperDB.DbHelperSQL.RollbackTrans(); + } + } + else if (PatientId > 0 && State == AIMSExtension.EditState.EDIT) + { + _record = new OperationRecord(); + btnSelectPatient.Enabled = false; //娓呯┖璁板綍鐐瑰苟閲嶆柊鍔犺浇 + ClearTimeText(); + + _record = BOperationRecord.getRecord(_record, -1, 2); + Patient = PatientRecord.GetPatientRecord(PatientId); + DModel = DocumentDAL.GetDocumentbyName("浠嬪叆鎵嬫湳瀹ゆ竻鐐瑰櫒姊拌褰曞崟", Patient.PatientId); + LoadDocumentGoodsBill(); + DModel2 = DocumentDAL.GetDocumentbyName("浠嬪叆鎵嬫湳鎶ょ悊璁板綍鍗", Patient.PatientId); + LoadDocumentGoodsBill2(); + StartTimer(); + } + else if (PatientId > 0 && State == AIMSExtension.EditState.BROWSE) + { + _record = new OperationRecord(); + btnSelectPatient.Enabled = true; + btnCancelOperation.Enabled = false; + btnCancelIn.Enabled = false; + ClearTimeText(); + + _record = BOperationRecord.getRecord(_record, -1, 2); + Patient = PatientRecord.GetPatientRecord(PatientId); + DModel = DocumentDAL.GetDocumentbyName("浠嬪叆鎵嬫湳瀹ゆ竻鐐瑰櫒姊拌褰曞崟", Patient.PatientId); + LoadDocumentGoodsBill(); + DModel2 = DocumentDAL.GetDocumentbyName("浠嬪叆鎵嬫湳鎶ょ悊璁板綍鍗", Patient.PatientId); + LoadDocumentGoodsBill2(); + StartTimer(); + } + + if (_record.InstrumentList != null && _record.InstrumentList.Id != null && _record.InstrumentList.ApplianceUseType != null) + { + LoadOperationGoodsBillRecord(); + } + else + { + FirstbtnEnter(); + } + codeCompiler.IsLoad = true; + 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; + } + + 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); + } + + 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("璇烽夋嫨鎮h"); + } + } + + 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("璇烽夋嫨鎮h"); + } + } + 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("璇烽夋嫨鎮h"); + } + } + 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("璇烽夋嫨鎮h"); + } + } + 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("璇烽夋嫨鎮h!"); + 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("璇烽夋嫨鎮h!"); + 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(); + + PublicMethod.WriteLog("鍙栨秷杞叆", _record.PatientId.Value, 0, "鎶ょ悊"); + DisposeTimer(); + //ClearData(); + this.Close(); + } + catch + { + HelperDB.DbHelperSQL.RollbackTrans(); + } + } + } + private void btnTemplate_Click(object sender, EventArgs e) + { + if (_applianceUseType == null) + _applianceUseType = new List(); + frmSelectApplianceUseType ReturnApply = new frmSelectApplianceUseType(); + ReturnApply._SelectApplianceUseType = _applianceUseType; + ReturnApply.IsRedio = false; + ReturnApply.IsLoadOne = false; + DialogResult ddr = ReturnApply.ShowDialog(); + _appliance = ReturnApply._appliance; + if (ddr == System.Windows.Forms.DialogResult.OK && _appliance != null && _applianceUseType.Count > 1) + { + Incount = 9; + FullUcControlsToPanel(QXList, _appliance, _record.InstrumentList, ref i1, ref j1); + for (int nulli = Incount; nulli < QXList.Count; nulli++) + { + var BillText = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli]).FirstOrDefault(); + if (BillText != null && BillText.Text != "") + { + BillText.Text = ""; + BillText.FormulaValue = ""; + BillText.InnerText = ""; + + var BillText2 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "A").FirstOrDefault(); + if (BillText2 != null && BillText2.Text != "") + { + BillText2.Text = ""; + BillText2.FormulaValue = ""; + BillText2.InnerText = ""; + } + var BillText3 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "B").FirstOrDefault(); + if (BillText3 != null && BillText3.Text != "") + { + BillText3.Text = ""; + BillText3.FormulaValue = ""; + BillText3.InnerText = ""; + } + var BillText4 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "C").FirstOrDefault(); + if (BillText4 != null && BillText4.Text != "") + { + BillText4.Text = ""; + BillText4.FormulaValue = ""; + BillText4.InnerText = ""; + } + var BillText5 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "D").FirstOrDefault(); + if (BillText5 != null && BillText5.Text != "") + { + BillText5.Text = ""; + BillText5.FormulaValue = ""; + BillText5.InnerText = ""; + } + } + } + myEditControl.Document.EditorRefreshView(); + } + } + private void tsbExePlan_Click(object sender, EventArgs e) + { + if (PatientId == 0) + { + MessageBox.Show("璇峰厛閫夋嫨鎮h咃紒"); + 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("璇烽夋嫨鎮h"); + } + } + #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() + { + _record = BOperationRecord.getRecord(_record, PatientId, RecoverId); + Patient = PatientRecord.GetPatientRecord(PatientId); + try + { + if (superTabMain.SelectedTab.Name == "spTabQXQDD") + { + if (PatientId != 0) + { + reDrawEvent(); + + //鎮h呭熀鏈俊鎭簩娆¤祴鍊 + 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) + { + if (value == "KB20180604142714558" && element.Text != "") continue; + if (element != null && info != null) + { + element.Text = info.GetValue(Patient, null).ToString(); + } + } + } + } + } + else + { + if (PatientId != 0) + { + + //鎮h呭熀鏈俊鎭簩娆¤祴鍊 + var query = from XTextElement in myEditControl2.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) + { + if (value == "KB20180604142714558" && element.Text != "") continue; + if (element != null && info != null) + { + element.Text = info.GetValue(Patient, null).ToString(); + } + } + } + + } + } + } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); + } + } + + + 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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.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::AIMSControls.Properties.Resources.鍏ユ墜鏈; + this.picOpeBegin.BackgroundImage = global::AIMSControls.Properties.Resources.鎵嬫湳寮濮; + this.picOpeEnd.BackgroundImage = global::AIMSControls.Properties.Resources.鎵嬫湳缁撴潫; + this.picOutRoom.BackgroundImage = global::AIMSControls.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 = ""; + _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(QXList, _appliance, _record.InstrumentList, ref i1, ref j1); + } + } + #endregion + + #region 鍔犺浇鐗╁搧鎺т欢 + int i1 = 0, j1 = 0; + //int i2 = 0, j2 = 0; + int Incount = 0; + int IncRowsount = 25; + /// + /// 鍔犺浇鐗╁搧鎺т欢鍒版寚瀹氱殑Panel + /// + /// 鎸囧畾鐨凱anel + /// 鐗╁搧鏁版嵁琛 + private void FullUcControlsToPanel(List panel, DataTable dt, OperationRecordInstrumentList Instrument, ref int i, ref int j) + { + foreach (DataRow dr in dt.Rows) + { + if (Incount >= QXList.Count) + break; + var BillText = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[Incount]).FirstOrDefault(); + if (BillText != null) + { + BillText.OuterText = dr["Id"].ToString(); + BillText.Text = dr["Name"].ToString(); + BillText.FormulaValue = dr["Name"].ToString(); + BillText.InnerText = dr["Name"].ToString(); + string ApplianceNumber = dr["ApplianceNumber"].ToString(); + } + + Incount++; + j++; + if (j == IncRowsount) + { + j = 0; + i++; + } + } + } + + private void button1_Click(object sender, EventArgs e) + { + for (int nulli = 0; nulli < 10; nulli++) + { + var BillText = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli]).FirstOrDefault(); + if (BillText != null) + { + var BillText2 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "A").FirstOrDefault(); + if (BillText2 != null && BillText2.Text != "") + { + BillText2.Text = "0"; + BillText2.FormulaValue = "0"; + BillText2.InnerText = "0"; + } + var BillText3 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "B").FirstOrDefault(); + if (BillText3 != null && BillText3.Text != "") + { + BillText3.Text = "0"; + BillText3.FormulaValue = "0"; + BillText3.InnerText = "0"; + } + var BillText4 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "C").FirstOrDefault(); + if (BillText4 != null && BillText4.Text != "") + { + BillText4.Text = "0"; + BillText4.FormulaValue = "0"; + BillText4.InnerText = "0"; + } + var BillText5 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "D").FirstOrDefault(); + if (BillText5 != null && BillText5.Text != "") + { + BillText5.Text = "0"; + BillText5.FormulaValue = "0"; + BillText5.InnerText = "0"; + } + } + } + for (int nulli = 9; nulli < QXList.Count; nulli++) + { + var BillText = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli]).FirstOrDefault(); + if (BillText != null) + { + BillText.Text = ""; + BillText.FormulaValue = ""; + BillText.InnerText = ""; + + var BillText2 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "A").FirstOrDefault(); + if (BillText2 != null && BillText2.Text != "") + { + BillText2.Text = ""; + BillText2.FormulaValue = ""; + BillText2.InnerText = ""; + } + var BillText3 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "B").FirstOrDefault(); + if (BillText3 != null && BillText3.Text != "") + { + BillText3.Text = ""; + BillText3.FormulaValue = ""; + BillText3.InnerText = ""; + } + var BillText4 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "C").FirstOrDefault(); + if (BillText4 != null && BillText4.Text != "") + { + BillText4.Text = ""; + BillText4.FormulaValue = ""; + BillText4.InnerText = ""; + } + var BillText5 = myEditControl.Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).Name == QXList[nulli] + "D").FirstOrDefault(); + if (BillText5 != null && BillText5.Text != "") + { + BillText5.Text = ""; + BillText5.FormulaValue = ""; + BillText5.InnerText = ""; + } + } + } + } + + 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(); + } + new frmMessageBox().Show(); + } + + private void SaveInstrument(object sender) + { + btnSelectPatient.Focus(); + 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(); + } + myEditControl.Document.Modified = false; + + + _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 ()); + + var diagnose = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20180604142254986").FirstOrDefault(); + if (diagnose != null && diagnose.Text != "" && diagnose.Text != Patient.ApplyDiagnoseInfoName) + { + //_record.InstrumentList.Remark = diagnose.Text; + DBManage.AddApplyDiagnose(_record, GetDiagnoseId(diagnose.Text)); + } + var operation = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20180604142607822").FirstOrDefault(); + if (operation != null && operation.Text != "" && operation.Text != Patient.OperationInfoName) + { + _record.InstrumentList.Remark = operation.Text; + DBManage.AddOperation(_record, GetOperationId(operation.Text)); + } + var OperationSite = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20230326230037766").FirstOrDefault(); + if (OperationSite != null && OperationSite.Text != "") + { + DBManage.AddOperationSite(_record, GetOperationSiteId(OperationSite.Text)); + } + + var TourNurse = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20211213195424058").FirstOrDefault();//7 + if (TourNurse != null && TourNurse.Text != "" && TourNurse.Text != Patient.TourNurse) + { + DBManage.AddPerson(_record, GetPersonId(TourNurse.Text), 7); + } + var InstrumentNurse = myEditControl.Document.Fields.ToArray().Where(x => x.ID == "KB20221028190620022").FirstOrDefault();//6 + if (InstrumentNurse != null && InstrumentNurse.Text != "" && InstrumentNurse.Text != Patient.InstrumentNurse) + { + DBManage.AddPerson(_record, GetPersonId(InstrumentNurse.Text), 6); + } + + _record.InstrumentList.OperatorNo = PublicMethod.OperatorNo; + _record.InstrumentList.OperatorName = PublicMethod.OperatorName; + _record.InstrumentList.OperateDate = DateTime.Now; + if (_record.InstrumentList.Id == null || _record.InstrumentList.Id == 0) + { + _record.InstrumentList.Id = BOperationRecordInstrumentList.Insert(_record.InstrumentList); + } + else + { + BOperationRecordInstrumentList.Update(_record.InstrumentList); + } + + } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); + } + } + private void SaveInstrument2(object sender) + { + btnSelectPatient.Focus(); + try + { + ValueValidateResultList listR = myEditControl2.Document.ValueValidate(); + string vMsg = ""; + foreach (var item in listR) + { + vMsg += item.Message + System.Environment.NewLine; + } + if (vMsg.Length > 0) + { + throw new Exception(vMsg); + } + //model璧嬪 + DModel2.XmlFile = myEditControl2.Document.XMLText; + DModel2.PatientId = this.Patient.PatientId; + DModel2.OperatorNo = AIMSExtension.PublicMethod.OperatorNo; + XmlDocument doc = new XmlDocument(); + XmlElement rootNode = doc.CreateElement("Root"); + doc.AppendChild(rootNode); + var query = from XTextElement in myEditControl2.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); + } + } + DModel2.XmlStatic = doc.OuterXml; + if (DModel2.Id > 0) + { + DocumentDAL.UpdatePrintDocument(this.DModel2); + //MessageBox.Show("淇敼鎴愬姛锛"); + } + else + { + DocumentDAL.InsertPrintDocument(this.DModel2); + //new frmMessageBox().Show(); + } + myEditControl2.Document.Modified = false; + + + _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 ()); + + var diagnose = myEditControl2.Document.Fields.ToArray().Where(x => x.ID == "KB20180604142254986").FirstOrDefault(); + if (diagnose != null && diagnose.Text != "" && diagnose.Text != Patient.ApplyDiagnoseInfoName) + { + //_record.InstrumentList.Remark = diagnose.Text; + DBManage.AddApplyDiagnose(_record, GetDiagnoseId(diagnose.Text)); + } + var operation = myEditControl2.Document.Fields.ToArray().Where(x => x.ID == "KB20180604142607822").FirstOrDefault(); + if (operation != null && operation.Text != "" && operation.Text != Patient.OperationInfoName) + { + _record.InstrumentList.Remark = operation.Text; + DBManage.AddOperation(_record, GetOperationId(operation.Text)); + } + var OperationSite = myEditControl2.Document.Fields.ToArray().Where(x => x.ID == "KB20230326230037766").FirstOrDefault(); + if (OperationSite != null && OperationSite.Text != "") + { + DBManage.AddOperationSite(_record, GetOperationSiteId(OperationSite.Text)); + } + + var TourNurse = myEditControl2.Document.Fields.ToArray().Where(x => x.ID == "KB20211213195424058").FirstOrDefault();//7 + if (TourNurse != null && TourNurse.Text != "" && TourNurse.Text != Patient.TourNurse) + { + DBManage.AddPerson(_record, GetPersonId(TourNurse.Text), 7); + } + var InstrumentNurse = myEditControl2.Document.Fields.ToArray().Where(x => x.ID == "KB20221028190620022").FirstOrDefault();//6 + if (InstrumentNurse != null && InstrumentNurse.Text != "" && InstrumentNurse.Text != Patient.InstrumentNurse) + { + DBManage.AddPerson(_record, GetPersonId(InstrumentNurse.Text), 6); + } + + _record.InstrumentList.OperatorNo = PublicMethod.OperatorNo; + _record.InstrumentList.OperatorName = PublicMethod.OperatorName; + _record.InstrumentList.OperateDate = DateTime.Now; + if (_record.InstrumentList.Id == null || _record.InstrumentList.Id == 0) + { + _record.InstrumentList.Id = BOperationRecordInstrumentList.Insert(_record.InstrumentList); + } + else + { + BOperationRecordInstrumentList.Update(_record.InstrumentList); + } + + } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); + } + } + + private void superTabMain_SelectedTabChanged(object sender, DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs e) + { + ReviewEvent(); + } + + private string GetOperationId(string namestr) + { + List result = new List(); + List names = new List(); + if (namestr.Contains(",")) + { + names = namestr.Split(',').ToList(); + } + else if (namestr.Contains("锛")) + { + names = namestr.Split('锛').ToList(); + } + else if (namestr.Contains("+")) + { + names = namestr.Split('+').ToList(); + } + else + { + names.Add(namestr); + } + foreach (var name in names) + { + DataTable dt = DBHelper.GetDataTable("select * from Operation where Name ='" + name + "'"); + if (dt.Rows.Count == 0) + { + DBHelper.ExecNonQuery(string.Concat(new Object[]{ + "insert into Operation(ICDCode,Name,HelpCode,IsValid,UseRate,OperatorNo,[OperatorName],OperateDate) values('','"+name+"','"+PublicMethod.GetFirstLetter(name)+"',1,1,'admin','绯荤粺绠$悊鍛','"+DateTime.Now+"')"})); + } + dt = DBHelper.GetDataTable("select * from Operation where Name ='" + name + "'"); + if (dt.Rows.Count > 0) + { + for (int j = 0; j < dt.Rows.Count; j++) + { + result.Add(dt.Rows[0]["Id"].ToString()); + } + } + } + return string.Join(",", result.ToArray()); + } + private string GetDiagnoseId(string namestr) + { + List result = new List(); + List names = new List(); + if (namestr.Contains(",")) + { + names = namestr.Split(',').ToList(); + } + else if (namestr.Contains("锛")) + { + names = namestr.Split('锛').ToList(); + } + else if (namestr.Contains("+")) + { + names = namestr.Split('+').ToList(); + } + else + { + names.Add(namestr); + } + foreach (var name in names) + { + DataTable dt = DBHelper.GetDataTable("select * from Disease where Name ='" + name + "'"); + if (dt.Rows.Count == 0) + { + DBHelper.ExecNonQuery(string.Concat(new Object[]{ + "insert into Disease(ICDCode,Name,[HelpCode],UseRate,IsValid,[OperatorNo],[OperatorName],OperateDate) values('','"+name+"','"+PublicMethod.GetFirstLetter(name)+"',1,1,'admin','绯荤粺绠$悊鍛','"+DateTime.Now+"')"})); + } + dt = DBHelper.GetDataTable("select * from Disease where Name ='" + name + "'"); + if (dt.Rows.Count > 0) + { + for (int j = 0; j < dt.Rows.Count; j++) + { + result.Add(dt.Rows[0]["Id"].ToString()); + } + } + } + return string.Join(",", result.ToArray()); + } + private string GetOperationSiteId(string namestr) + { + List result = new List(); + List names = new List(); + if (namestr.Contains(",")) + { + names = namestr.Split(',').ToList(); + } + else if (namestr.Contains("锛")) + { + names = namestr.Split('锛').ToList(); + } + else if (namestr.Contains("+")) + { + names = namestr.Split('+').ToList(); + } + else + { + names.Add(namestr); + } + foreach (var name in names) + { + DataTable dt = DBHelper.GetDataTable("select * from OperationBodyPosition where Name ='" + name + "'"); + if (dt.Rows.Count == 0) + { + DBHelper.ExecNonQuery(string.Concat(new Object[]{ + "insert into OperationBodyPosition( [Name], [HelpCode], [Explain], [PositionOrder], [IsValid], [OperatorNo], [OperatorName], [OperateDate]) values('"+name+"','"+PublicMethod.GetFirstLetter(name)+"','',1,1,'admin','绯荤粺绠$悊鍛','"+DateTime.Now+"')"})); + dt = DBHelper.GetDataTable("select * from OperationBodyPosition where Name ='" + name + "'"); + } + + if (dt.Rows.Count > 0) + { + for (int j = 0; j < dt.Rows.Count; j++) + { + result.Add(dt.Rows[0]["Id"].ToString()); + } + } + } + return string.Join(",", result.ToArray()); + } + private string GetPersonId(string namestr) + { + List result = new List(); + List names = new List(); + if (namestr.Contains(",")) + { + names = namestr.Split(',').ToList(); + } + else if (namestr.Contains("锛")) + { + names = namestr.Split('锛').ToList(); + } + else if (namestr.Contains("+")) + { + names = namestr.Split('+').ToList(); + } + else + { + names.Add(namestr); + } + foreach (var name in names) + { + DataTable dt = DBHelper.GetDataTable("select * from Person where Name ='" + name + "' and PersonType='鎵嬫湳瀹ゆ姢澹' and isvalid=1"); + + if (dt.Rows.Count > 0) + { + for (int j = 0; j < dt.Rows.Count; j++) + { + result.Add(dt.Rows[0]["Id"].ToString()); + } + } + } + return string.Join(",", result.ToArray()); + } + #endregion + + #endregion + + #region 鎵撳嵃鏂规硶 + private void plPrintBrowse_Click(object sender, EventArgs e) + { + if (_record == null || _record.Id == 0) return; + plPrintBrowse.Select(); + if (superTabMain.SelectedTab.Name == "spTabQXQDD") + { + SaveInstrument(sender); + myEditControl.ExecuteCommand("FilePrintPreview", true, null); + } + else + { + SaveInstrument2(sender); + myEditControl2.ExecuteCommand("FilePrintPreview", true, null); + } + + plRefresh_Click(null, null); + } + private void button9_Click(object sender, EventArgs e) + { + TextBoxAddEventSources(QXList, @"/"); + } + + private void TextBoxAddEventSources(List _panel, string TextValue) + { + var BillText = myEditControl.Document.Fields.ToArray().ToList(); + foreach (var item in BillText) + { + if (item.Text == "") + item.Text = TextValue; + } + } + + private void btnChage_Click(object sender, EventArgs e) + { + if (_record != null) + { + EMRExtension.OpenFeesRecord(_record, "鎶ゅ+"); + } + } + + private void button10_Click(object sender, EventArgs e) + { + frmSafetyExamine frmSafety = new frmSafetyExamine(); + frmSafety.PatientId = PatientId; + frmSafety.Show(); + } + + private void frmAnasRecordInstrument_VisibleChanged(object sender, EventArgs e) + { + if (this.Visible == false) + { + 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; + plPrint.Select(); + + try + { + if (superTabMain.SelectedTab.Name == "spTabQXQDD") + { + SaveInstrument(sender); + myEditControl.ExecuteCommand("FilePrint", false, null); + plRefresh_Click(null, null); + ControlExtension.UPDocument(Patient.PatientId, Patient.ApplyId, DModel.Id, 3, DModel.TemplateId.ToString(), DModel.XmlFileName); + new frmMessageBox("鎵撳嵃瀹屾垚锛").Show(); + } + else + { + SaveInstrument2(sender); + myEditControl2.ExecuteCommand("FilePrint", false, null); + plRefresh_Click(null, null); + ControlExtension.UPDocument(Patient.PatientId, Patient.ApplyId, DModel2.Id, 3, DModel2.TemplateId.ToString(), DModel2.XmlFileName); + new frmMessageBox("鎵撳嵃瀹屾垚锛").Show(); + } + } + catch (Exception exp) + { + PublicMethod.WriteLog(exp, ""); + } + } + + #endregion + + #region 鏂囦功鎺т欢浜嬩欢 + private void LoadDocumentGoodsBill() + { + if (DModel.Id > 0) + { + //鍔犺浇鏂囨。 + DModel = DocumentDAL.GetDocumentbyId(DModel.Id); + myEditControl.LoadDocumentFromString(DModel.XmlFile, "xml"); + + //鎮h呭熀鏈俊鎭簩娆¤祴鍊 + 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) + { + if (value == "KB20180604142714558" && element.Text != "") continue; + else + element.Text = info.GetValue(Patient, null).ToString(); + } + } + } + else + { + //鏃犳枃妗e垯鍔犺浇妯℃澘 + 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; + //鎮h呭熀鏈俊鎭祴鍊 + 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(); + if (element != null) + { + PropertyInfo info = p.Where(px => px.Name == name).FirstOrDefault(); + if (value == "KB20180604142714558" && element.Text != "") continue; + if (element != null && info != null) + { + element.Text = info.GetValue(Patient, 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 EventCodeCompilerBill(ref this.myEditControl, strClick, strContentChanged, QXList); + + //鏂囨。鐢ㄦ埛淇℃伅 + myEditControl.UserLoginByParameter( + AIMSExtension.PublicMethod.OperatorNo, + AIMSExtension.PublicMethod.OperatorName, + AIMSExtension.PublicMethod.PermissionLevel); + //闅愯棌鐥曡抗鍏 + myEditControl.ExecuteCommand(StandardCommandNames.CleanViewMode, false, true); + } + private void LoadDocumentGoodsBill2() + { + if (DModel2.Id > 0) + { + //鍔犺浇鏂囨。 + DModel2 = DocumentDAL.GetDocumentbyId(DModel2.Id); + myEditControl2.LoadDocumentFromString(DModel2.XmlFile, "xml"); + + //鎮h呭熀鏈俊鎭簩娆¤祴鍊 + var query = from XTextElement in myEditControl2.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) + { + if (value == "KB20180604142714558" && element.Text != "") continue; + else + element.Text = info.GetValue(Patient, null).ToString(); + } + } + } + else + { + //鏃犳枃妗e垯鍔犺浇妯℃澘 + TModel2 = DocumentDAL.GetTemplatebyId(DModel2.TemplateId); + if (TModel2.XmlFile == null || TModel2.XmlFile.Trim().Equals(string.Empty)) + { + myEditControl2.ExecuteCommand("FileNew", true, null); + } + else + { + myEditControl2.LoadDocumentFromString(TModel2.XmlFile, "xml"); + } + DModel2.XmlFileName = TModel2.XmlFileName; + DModel2.TemplateId = TModel2.Id; + //鎮h呭熀鏈俊鎭祴鍊 + var query = from XTextElement in myEditControl2.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(); + if (element != null) + { + PropertyInfo info = p.Where(px => px.Name == name).FirstOrDefault(); + if (value == "KB20180604142714558" && element.Text != "") continue; + if (element != null && info != null) + { + element.Text = info.GetValue(Patient, null).ToString(); + } + } + } + DocumentExtension.SetDocumentDefaultValue(TModel2.XmlFileName, myEditControl2.Document, Patient); + } + string xmlStatic = DocumentDAL.GetEventXml(DModel2.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 EventCodeCompilerBill(ref this.myEditControl2, strClick, strContentChanged, QXList); + + //鏂囨。鐢ㄦ埛淇℃伅 + myEditControl2.UserLoginByParameter( + AIMSExtension.PublicMethod.OperatorNo, + AIMSExtension.PublicMethod.OperatorName, + AIMSExtension.PublicMethod.PermissionLevel); + //闅愯棌鐥曡抗鍏 + myEditControl2.ExecuteCommand(StandardCommandNames.CleanViewMode, false, true); + } + #endregion + } +} diff --git a/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.resx b/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.resx new file mode 100644 index 0000000..7498d06 --- /dev/null +++ b/AIMSControls/OperationAanesthesia/frmInstrumentRecord3.resx @@ -0,0 +1,417 @@ +锘 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 + + + 353, 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/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.Designer.cs b/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.Designer.cs new file mode 100644 index 0000000..974d7b9 --- /dev/null +++ b/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.Designer.cs @@ -0,0 +1,630 @@ +锘縩amespace AIMS.OperationAanesthesia +{ + partial class frmSelectPatientGoodsBill3 + { + /// + /// 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(frmSelectPatientGoodsBill3)); + 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.CboOperationSite = new DevComponents.DotNetBar.Controls.ComboBoxEx(); + this.labelSite = new System.Windows.Forms.Label(); + 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.CboOperationSite); + this.panel1.Controls.Add(this.labelSite); + 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 = "鎮h呮煡璇"; + // + // 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 = "鎮h呬俊鎭"; + // + // 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 = "鎮h呭鍚"; + // + // 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 = "鎵嬫湳鎮h"; + // + // 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; + // + // CboOperationSite + // + this.CboOperationSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.CboOperationSite.DisplayMember = "Text"; + this.CboOperationSite.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; + this.CboOperationSite.Font = new System.Drawing.Font("寰蒋闆呴粦", 10F); + this.CboOperationSite.FormattingEnabled = true; + this.CboOperationSite.ItemHeight = 19; + this.CboOperationSite.Location = new System.Drawing.Point(928, 8); + this.CboOperationSite.Name = "CboOperationSite"; + this.CboOperationSite.Size = new System.Drawing.Size(115, 25); + this.CboOperationSite.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.CboOperationSite.TabIndex = 506; + // + // labelSite + // + this.labelSite.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); + this.labelSite.AutoSize = true; + this.labelSite.BackColor = System.Drawing.Color.AliceBlue; + this.labelSite.Font = new System.Drawing.Font("寰蒋闆呴粦", 10.5F); + this.labelSite.Location = new System.Drawing.Point(862, 10); + this.labelSite.Name = "labelSite"; + this.labelSite.Size = new System.Drawing.Size(65, 20); + this.labelSite.TabIndex = 507; + this.labelSite.Text = "鎵嬫湳鍦扮偣"; + this.labelSite.TextAlign = System.Drawing.ContentAlignment.BottomCenter; + // + // frmSelectPatientGoodsBill3 + // + 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 = "frmSelectPatientGoodsBill3"; + this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; + this.Text = "閫夋嫨鎮h"; + this.Load += new System.EventHandler(this.frmSelectPatientGoodsBill3_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; + private DevComponents.DotNetBar.Controls.ComboBoxEx CboOperationSite; + private System.Windows.Forms.Label labelSite; + } +} \ No newline at end of file diff --git a/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.cs b/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.cs new file mode 100644 index 0000000..b2aab4e --- /dev/null +++ b/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.cs @@ -0,0 +1,588 @@ +锘縰sing AIMS.OremrUserControl; +using AIMSBLL; +using AIMSExtension; +using AIMSModel; +using AxNsoOfficeLib; +using DocumentManagement; +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 frmSelectPatientGoodsBill3 : Form + { + + public int SelPatientId; + public int SelApplyId; + public bool isMainOpen = false; + public AIMS.OperationAanesthesia.frmInstrumentRecord3 tempfrmAnasRecord; + + public frmSelectPatientGoodsBill3() + { + InitializeComponent(); + } + + private void frmSelectPatientGoodsBill3_Load(object sender, EventArgs e) + { + ControlExtension.GetOperationSiteRoom(labelSite, CboOperationSite, cboRoom, "浠嬪叆鎵嬫湳瀹"); + + FillDgv(); + + this.cboRoom.SelectedIndexChanged += new System.EventHandler(this.cboRoom_SelectedIndexChanged); + this.CboOperationSite.SelectedIndexChanged += new System.EventHandler(this.CboOperationSite_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()); + + if (CboOperationSite.Visible == true && CboOperationSite.SelectedIndex > 0) + { + dt = AIMSExtension.PublicMethod.GetNewDataTable(dt, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", ""); + dt2 = AIMSExtension.PublicMethod.GetNewDataTable(dt2, " OperationSite ='" + CboOperationSite.SelectedValue + "' ", ""); + } + + List list = new List(); + for (int i = 0; i < ControlExtension.SiteRooms.Count; i++) + { + foreach (DataRow dr in dt.Rows) + { + if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name)) + { + list.Add(ControlExtension.SiteRooms[i].Name); + } + } + + foreach (DataRow dr in dt2.Rows) + { + if (dr["OperationRoom"].ToString() == ControlExtension.SiteRooms[i].Name && !list.Contains(ControlExtension.SiteRooms[i].Name)) + { + list.Add(ControlExtension.SiteRooms[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 = true; + 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 = true; + 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; + 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("褰撳墠鎵嬫湳宸插仠姝 锛岃纭鍚庨噸鏂伴夋嫨锛", "绯荤粺鎻愮ず"); + FillDgv(); + return; + } + + if (operA.State == 5 || operA.State == 6) + { + MessageBox.Show("褰撳墠鎵嬫湳宸插紑濮 锛岃纭鍚庨噸鏂伴夋嫨锛", "绯荤粺鎻愮ず"); + FillDgv(); + 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("褰撳墠鏈夋湭瀹屾垚鐨勬墜鏈崰鐢ㄦ墜鏈棿锛岃鍏堥夋嫨瑙i攣鏈腑鎵嬫湳锛", "绯荤粺鎻愮ず"); + // return; + // } + //} + + frmInstrumentRecord3 frmAnasRecord = null; + if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null) + { + frmAnasRecord = tempfrmAnasRecord; + frmAnasRecord.ClearRecordDate(); + } + else + { + frmAnasRecord = new frmInstrumentRecord3(); + } + frmAnasRecord.PatientId = PatientId; + frmAnasRecord.ApplyId = applyId; + frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(RoomId); + frmAnasRecord.State = AIMSExtension.EditState.ADD; + + 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.Show(this); + frmAnasRecord.Focus(); + FillDgv(); + } + else + { + //if (frmAnasRecord._record != null) + // frmAnasRecord.ClearRecordDate(); + this.Close(); + } + + } + else + { + frmInstrumentRecord3 frmAnasRecord = null; + if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null) + { + frmAnasRecord = tempfrmAnasRecord; + frmAnasRecord.ClearRecordDate(); + } + else + { + frmAnasRecord = new frmInstrumentRecord3(); + } + frmAnasRecord.PatientId = PatientId; + frmAnasRecord.ApplyId = applyId; + frmAnasRecord.NowRoom = AIMSBLL.BOperationRoom.SelectSingle(RoomId); + frmAnasRecord.State = AIMSExtension.EditState.BROWSE; + + if (isMainOpen == false) + { + frmAnasRecord.Show(this); + frmAnasRecord.Focus(); + + 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(); + + PrintDocument DModel = DocumentDAL.GetDocumentbyName("鎵嬫湳鎶ょ悊璁板綍鍗", PatientId); + if (DModel != null && DModel.Id > 0) + { + DocumentDAL.DeletePrintDocument(DModel); + } + + 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(); + + frmInstrumentRecord3 frmAnasRecord = null; + if (tempfrmAnasRecord != null && tempfrmAnasRecord._record != null) + { + frmAnasRecord = tempfrmAnasRecord; + frmAnasRecord.ClearRecordDate(); + } + else + { + frmAnasRecord = new frmInstrumentRecord3(); + } + 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.RoomSite = CboOperationSite.Text; + 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) + { + //鍒ゆ柇褰撳墠瀛楃涓叉槸鍚︿负姝g‘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("鎵嬫湳闂村垏鎹㈡垚鍔燂紒"); + } + } + } + private void CboOperationSite_SelectedIndexChanged(object sender, EventArgs e) + { + ControlExtension.SetOperationSiteRoom(CboOperationSite, cboRoom); + FillDgv(); + } + } +} diff --git a/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.resx b/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.resx new file mode 100644 index 0000000..1dbb543 --- /dev/null +++ b/AIMSControls/OperationAanesthesia/frmSelectPatientGoodsBill3.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/AIMSControls/OperationAanesthesia/frmSeleteRoom.cs b/AIMSControls/OperationAanesthesia/frmSeleteRoom.cs index 76e8bb0..dc1316d 100644 --- a/AIMSControls/OperationAanesthesia/frmSeleteRoom.cs +++ b/AIMSControls/OperationAanesthesia/frmSeleteRoom.cs @@ -17,6 +17,8 @@ namespace AIMS.OperationAanesthesia public string RoomId; public string RoomName; public string NowRoomId; + + public string RoomSite; public frmSeleteRoom() { InitializeComponent(); @@ -35,6 +37,8 @@ namespace AIMS.OperationAanesthesia { if (ade.Id == -1) continue; if (NowRoomId != null && ade.Id.ToString() == NowRoomId) continue; + if (RoomSite != null && ade.Site != RoomSite) continue; + RadioButton cb = new RadioButton(); cb.Tag = ade; cb.Text = ade.Name; diff --git a/AIMSControls/OremrUserControl/ucDocument.cs b/AIMSControls/OremrUserControl/ucDocument.cs index a3d4bf2..8897fbd 100644 --- a/AIMSControls/OremrUserControl/ucDocument.cs +++ b/AIMSControls/OremrUserControl/ucDocument.cs @@ -118,6 +118,7 @@ namespace AIMS.OremrUserControl } } } + DocumentExtension.SetSpecialDocumentValue(TModel.XmlFileName, myEditControl.Document, Patient); } else { @@ -174,6 +175,8 @@ namespace AIMS.OremrUserControl } } DocumentExtension.SetDocumentDefaultValue(TModel.XmlFileName, myEditControl.Document, Patient); + DocumentExtension.SetSpecialDocumentValue(TModel.XmlFileName, myEditControl.Document, Patient); + } string xmlStatic = DocumentDAL.GetEventXml(DModel.TemplateId); if (xmlStatic != string.Empty) diff --git a/AIMSEntity/BLL/Extension/BOperationRoom.cs b/AIMSEntity/BLL/Extension/BOperationRoom.cs index 7a5d5e4..27c80d2 100644 --- a/AIMSEntity/BLL/Extension/BOperationRoom.cs +++ b/AIMSEntity/BLL/Extension/BOperationRoom.cs @@ -37,12 +37,19 @@ namespace AIMSBLL { List list = new List(); list.Add(""); - string strSql = "SELECT Site FROM OperationRoom where Site<>'鎭㈠瀹' group by Site"; + string strSql = "SELECT Site FROM OperationRoom where Site<>'鎭㈠瀹' order by RoomOrder"; DataTable dt = HelperDB.DbHelperSQL.GetDataTable(strSql); foreach (DataRow item in dt.Rows) { - list.Add(item[0].ToString()); + string room = item[0].ToString(); + if (!list.Contains(room)) + list.Add(item[0].ToString()); } + //鍒ゆ柇瑙掕壊鏉冮檺鏈変粙鍏ユ墜鏈墜鏈湴鐐规樉绀哄鍔犱粙鍏ユ墜鏈湴鐐 + //foreach (string item in AIMSExtension.PublicMethod.RoleName) + //{ + // list.Add(item[0].ToString()); + //} return list; } } diff --git a/DocumentManagement/DocumentEntity/DocumentExtension.cs b/DocumentManagement/DocumentEntity/DocumentExtension.cs index 7e2f2c8..b0d5f98 100644 --- a/DocumentManagement/DocumentEntity/DocumentExtension.cs +++ b/DocumentManagement/DocumentEntity/DocumentExtension.cs @@ -173,7 +173,7 @@ namespace DocumentManagement } if (Patient.ASA != "") { - if (Patient.ASA == "鈪" ) + if (Patient.ASA == "鈪") { var qk = Document.RadioBoxes.ToArray().Where(x => x.ID == "asa鍒嗙骇_0").FirstOrDefault(); @@ -253,6 +253,16 @@ namespace DocumentManagement } } GetDocumentValueForCheck(Document); + + //鎵嬫湳鍖荤敓 楹婚唹鍖荤敓淇濈暀绗竴涓 + var DoctorText = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).ID == "field1").FirstOrDefault(); + if (DoctorText != null && Patient.ApplyOperationDoctor != "") + { + (DoctorText as XTextInputFieldElement).Text = Patient.ApplyOperationDoctor; + } + + } else if (DocName == "鍘嬬柈椋庨櫓璇勪及琛") { @@ -357,6 +367,34 @@ namespace DocumentManagement } } } + public static void SetSpecialDocumentValue(string DocName, XTextDocument Document, PatientRecord Patient) + { + if (DocName == "鎵嬫湳椋庨櫓璇勪及琛" || DocName == "瀹夊叏鏍告煡琛") + { + //鎵嬫湳鍖荤敓 + var DoctorText = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).ID == "KB20221028184847370").FirstOrDefault(); + if (DoctorText != null && Patient.OperationDoctor != "") + { + (DoctorText as XTextInputFieldElement).Text = Patient.OperationDoctor.Split(',').ToList()[0]; + } + else if (DoctorText != null && Patient.ApplyOperationDoctor != "") + { + (DoctorText as XTextInputFieldElement).Text = Patient.ApplyOperationDoctor.Split(',').ToList()[0]; + } + // 楹婚唹鍖荤敓淇濈暀绗竴涓 + var DoctorText2 = Document.Fields.ToArray().Where(x => x is XTextInputFieldElement + && (x as XTextInputFieldElement).ID == "KB20220714163642276").FirstOrDefault(); + if (DoctorText2 != null && Patient.AnesthesiaDoctor != "") + { + (DoctorText2 as XTextInputFieldElement).Text = Patient.AnesthesiaDoctor.Split(',').ToList()[0]; + } + else if (DoctorText2 != null && Patient.ApplyAnesthesiaDoctor != "") + { + (DoctorText2 as XTextInputFieldElement).Text = Patient.ApplyAnesthesiaDoctor.Split(',').ToList()[0]; + } + } + } public static void SaveCocumentValue(string XmlFileName, XTextDocument Document, ref PatientRecord Patient) { try @@ -630,7 +668,7 @@ namespace DocumentManagement item.Checked = false; item.EditorRefreshView(); } - } + } } public static void SetCocumentValueText(string XmlFileName, XTextDocument Document, XTextInputFieldElement element)