20221102手麻修改 测试文档修改
This commit is contained in:
		
							parent
							
								
									f7ac298c33
								
							
						
					
					
						commit
						dd4b0f5664
					
				| @ -245,6 +245,12 @@ | |||||||
|     <Compile Include="OperationDoing\AnasRecordBill\frmAnasRecordInstrument2.Designer.cs"> |     <Compile Include="OperationDoing\AnasRecordBill\frmAnasRecordInstrument2.Designer.cs"> | ||||||
|       <DependentUpon>frmAnasRecordInstrument2.cs</DependentUpon> |       <DependentUpon>frmAnasRecordInstrument2.cs</DependentUpon> | ||||||
|     </Compile> |     </Compile> | ||||||
|  |     <Compile Include="OperationDoing\AnasRecordBill\frmOperationInfoNew2.cs"> | ||||||
|  |       <SubType>Form</SubType> | ||||||
|  |     </Compile> | ||||||
|  |     <Compile Include="OperationDoing\AnasRecordBill\frmOperationInfoNew2.designer.cs"> | ||||||
|  |       <DependentUpon>frmOperationInfoNew2.cs</DependentUpon> | ||||||
|  |     </Compile> | ||||||
|     <Compile Include="OperationDoing\AnasRecordBill\frmSelectPatientNew2.cs"> |     <Compile Include="OperationDoing\AnasRecordBill\frmSelectPatientNew2.cs"> | ||||||
|       <SubType>Form</SubType> |       <SubType>Form</SubType> | ||||||
|     </Compile> |     </Compile> | ||||||
| @ -973,6 +979,9 @@ | |||||||
|     <EmbeddedResource Include="OperationDoing\AnasRecordBill\frmBloodGasAnalysisNew.resx"> |     <EmbeddedResource Include="OperationDoing\AnasRecordBill\frmBloodGasAnalysisNew.resx"> | ||||||
|       <DependentUpon>frmBloodGasAnalysisNew.cs</DependentUpon> |       <DependentUpon>frmBloodGasAnalysisNew.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  |     <EmbeddedResource Include="OperationDoing\AnasRecordBill\frmOperationInfoNew2.resx"> | ||||||
|  |       <DependentUpon>frmOperationInfoNew2.cs</DependentUpon> | ||||||
|  |     </EmbeddedResource> | ||||||
|     <EmbeddedResource Include="OperationDoing\AnasRecordBill\frmSelectPatientNew2.resx"> |     <EmbeddedResource Include="OperationDoing\AnasRecordBill\frmSelectPatientNew2.resx"> | ||||||
|       <DependentUpon>frmSelectPatientNew2.cs</DependentUpon> |       <DependentUpon>frmSelectPatientNew2.cs</DependentUpon> | ||||||
|     </EmbeddedResource> |     </EmbeddedResource> | ||||||
|  | |||||||
							
								
								
									
										244
									
								
								AIMS/DataDictionary/frmOperationRoom.designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										244
									
								
								AIMS/DataDictionary/frmOperationRoom.designer.cs
									
									
									
										generated
									
									
									
								
							| @ -42,6 +42,11 @@ | |||||||
|             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); |             this.toolStripSeparator1 = new System.Windows.Forms.ToolStripSeparator(); | ||||||
|             this.tsbExit = new System.Windows.Forms.ToolStripButton(); |             this.tsbExit = new System.Windows.Forms.ToolStripButton(); | ||||||
|             this.panel1 = new System.Windows.Forms.Panel(); |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|  |             this.cbotype = new DevComponents.DotNetBar.Controls.ComboBoxEx(); | ||||||
|  |             this.comboItem1 = new DevComponents.Editors.ComboItem(); | ||||||
|  |             this.comboItem2 = new DevComponents.Editors.ComboItem(); | ||||||
|  |             this.txtIp1 = new DevComponents.DotNetBar.Controls.TextBoxX(); | ||||||
|  |             this.txtName = new DevComponents.DotNetBar.Controls.TextBoxX(); | ||||||
|             this.label6 = new System.Windows.Forms.Label(); |             this.label6 = new System.Windows.Forms.Label(); | ||||||
|             this.cboDepartment = new System.Windows.Forms.ComboBox(); |             this.cboDepartment = new System.Windows.Forms.ComboBox(); | ||||||
|             this.txtOrderBy = new AIMS.OremrUserControl.NumTextBox(); |             this.txtOrderBy = new AIMS.OremrUserControl.NumTextBox(); | ||||||
| @ -52,6 +57,14 @@ | |||||||
|             this.label2 = new System.Windows.Forms.Label(); |             this.label2 = new System.Windows.Forms.Label(); | ||||||
|             this.panel2 = new System.Windows.Forms.Panel(); |             this.panel2 = new System.Windows.Forms.Panel(); | ||||||
|             this.dgvOperationsRoom = new DevComponents.DotNetBar.Controls.DataGridViewX(); |             this.dgvOperationsRoom = new DevComponents.DotNetBar.Controls.DataGridViewX(); | ||||||
|  |             this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.type = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.oName = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.Ip1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.DepartmentNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.OrderBy = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
| @ -61,19 +74,6 @@ | |||||||
|             this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.txtName = new DevComponents.DotNetBar.Controls.TextBoxX(); |  | ||||||
|             this.txtIp1 = new DevComponents.DotNetBar.Controls.TextBoxX(); |  | ||||||
|             this.cbotype = new DevComponents.DotNetBar.Controls.ComboBoxEx(); |  | ||||||
|             this.comboItem1 = new DevComponents.Editors.ComboItem(); |  | ||||||
|             this.comboItem2 = new DevComponents.Editors.ComboItem(); |  | ||||||
|             this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.Index = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.type = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.oName = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.Ip1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.DepartmentNameColumn = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.OrderBy = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.IsValid = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.toolStrip1.SuspendLayout(); |             this.toolStrip1.SuspendLayout(); | ||||||
|             this.panel1.SuspendLayout(); |             this.panel1.SuspendLayout(); | ||||||
|             this.panel2.SuspendLayout(); |             this.panel2.SuspendLayout(); | ||||||
| @ -196,6 +196,63 @@ | |||||||
|             this.panel1.Size = new System.Drawing.Size(811, 103); |             this.panel1.Size = new System.Drawing.Size(811, 103); | ||||||
|             this.panel1.TabIndex = 6; |             this.panel1.TabIndex = 6; | ||||||
|             //  |             //  | ||||||
|  |             // cbotype | ||||||
|  |             //  | ||||||
|  |             this.cbotype.DisplayMember = "Text"; | ||||||
|  |             this.cbotype.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; | ||||||
|  |             this.cbotype.ForeColor = System.Drawing.Color.Black; | ||||||
|  |             this.cbotype.FormattingEnabled = true; | ||||||
|  |             this.cbotype.ItemHeight = 20; | ||||||
|  |             this.cbotype.Items.AddRange(new object[] { | ||||||
|  |             this.comboItem1, | ||||||
|  |             this.comboItem2}); | ||||||
|  |             this.cbotype.Location = new System.Drawing.Point(94, 49); | ||||||
|  |             this.cbotype.Name = "cbotype"; | ||||||
|  |             this.cbotype.Size = new System.Drawing.Size(167, 26); | ||||||
|  |             this.cbotype.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; | ||||||
|  |             this.cbotype.TabIndex = 403; | ||||||
|  |             this.cbotype.Text = "手术室"; | ||||||
|  |             //  | ||||||
|  |             // comboItem1 | ||||||
|  |             //  | ||||||
|  |             this.comboItem1.Text = "手术室"; | ||||||
|  |             //  | ||||||
|  |             // comboItem2 | ||||||
|  |             //  | ||||||
|  |             this.comboItem2.Text = "恢复室"; | ||||||
|  |             //  | ||||||
|  |             // txtIp1 | ||||||
|  |             //  | ||||||
|  |             this.txtIp1.BackColor = System.Drawing.Color.White; | ||||||
|  |             //  | ||||||
|  |             //  | ||||||
|  |             //  | ||||||
|  |             this.txtIp1.Border.Class = "TextBoxBorder"; | ||||||
|  |             this.txtIp1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; | ||||||
|  |             this.txtIp1.DisabledBackColor = System.Drawing.Color.White; | ||||||
|  |             this.txtIp1.ForeColor = System.Drawing.Color.Black; | ||||||
|  |             this.txtIp1.Location = new System.Drawing.Point(327, 10); | ||||||
|  |             this.txtIp1.Name = "txtIp1"; | ||||||
|  |             this.txtIp1.PreventEnterBeep = true; | ||||||
|  |             this.txtIp1.Size = new System.Drawing.Size(167, 26); | ||||||
|  |             this.txtIp1.TabIndex = 402; | ||||||
|  |             //  | ||||||
|  |             // txtName | ||||||
|  |             //  | ||||||
|  |             this.txtName.BackColor = System.Drawing.Color.White; | ||||||
|  |             //  | ||||||
|  |             //  | ||||||
|  |             //  | ||||||
|  |             this.txtName.Border.Class = "TextBoxBorder"; | ||||||
|  |             this.txtName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; | ||||||
|  |             this.txtName.DisabledBackColor = System.Drawing.Color.White; | ||||||
|  |             this.txtName.ForeColor = System.Drawing.Color.Black; | ||||||
|  |             this.txtName.Location = new System.Drawing.Point(94, 8); | ||||||
|  |             this.txtName.Name = "txtName"; | ||||||
|  |             this.txtName.PreventEnterBeep = true; | ||||||
|  |             this.txtName.Size = new System.Drawing.Size(167, 26); | ||||||
|  |             this.txtName.TabIndex = 402; | ||||||
|  |             //  | ||||||
|             // label6 |             // label6 | ||||||
|             //  |             //  | ||||||
|             this.label6.AutoSize = true; |             this.label6.AutoSize = true; | ||||||
| @ -324,7 +381,7 @@ | |||||||
|             dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; |             dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; | ||||||
|             this.dgvOperationsRoom.DefaultCellStyle = dataGridViewCellStyle3; |             this.dgvOperationsRoom.DefaultCellStyle = dataGridViewCellStyle3; | ||||||
|             this.dgvOperationsRoom.Dock = System.Windows.Forms.DockStyle.Fill; |             this.dgvOperationsRoom.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.dgvOperationsRoom.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(170)))), ((int)(((byte)(170)))), ((int)(((byte)(170))))); |             this.dgvOperationsRoom.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); | ||||||
|             this.dgvOperationsRoom.Location = new System.Drawing.Point(0, 0); |             this.dgvOperationsRoom.Location = new System.Drawing.Point(0, 0); | ||||||
|             this.dgvOperationsRoom.MultiSelect = false; |             this.dgvOperationsRoom.MultiSelect = false; | ||||||
|             this.dgvOperationsRoom.Name = "dgvOperationsRoom"; |             this.dgvOperationsRoom.Name = "dgvOperationsRoom"; | ||||||
| @ -333,6 +390,57 @@ | |||||||
|             this.dgvOperationsRoom.Size = new System.Drawing.Size(811, 329); |             this.dgvOperationsRoom.Size = new System.Drawing.Size(811, 329); | ||||||
|             this.dgvOperationsRoom.TabIndex = 0; |             this.dgvOperationsRoom.TabIndex = 0; | ||||||
|             //  |             //  | ||||||
|  |             // Id | ||||||
|  |             //  | ||||||
|  |             this.Id.DataPropertyName = "Id"; | ||||||
|  |             this.Id.HeaderText = "编号"; | ||||||
|  |             this.Id.Name = "Id"; | ||||||
|  |             this.Id.Visible = false; | ||||||
|  |             //  | ||||||
|  |             // Index | ||||||
|  |             //  | ||||||
|  |             this.Index.DataPropertyName = "Index"; | ||||||
|  |             this.Index.HeaderText = "序号"; | ||||||
|  |             this.Index.Name = "Index"; | ||||||
|  |             this.Index.Width = 80; | ||||||
|  |             //  | ||||||
|  |             // type | ||||||
|  |             //  | ||||||
|  |             this.type.HeaderText = "地点"; | ||||||
|  |             this.type.Name = "type"; | ||||||
|  |             //  | ||||||
|  |             // oName | ||||||
|  |             //  | ||||||
|  |             this.oName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; | ||||||
|  |             this.oName.DataPropertyName = "oName"; | ||||||
|  |             this.oName.HeaderText = "名称"; | ||||||
|  |             this.oName.Name = "oName"; | ||||||
|  |             //  | ||||||
|  |             // Ip1 | ||||||
|  |             //  | ||||||
|  |             this.Ip1.DataPropertyName = "Ip"; | ||||||
|  |             this.Ip1.HeaderText = "Ip地址"; | ||||||
|  |             this.Ip1.Name = "Ip1"; | ||||||
|  |             this.Ip1.Width = 140; | ||||||
|  |             //  | ||||||
|  |             // DepartmentNameColumn | ||||||
|  |             //  | ||||||
|  |             this.DepartmentNameColumn.HeaderText = "所属科室"; | ||||||
|  |             this.DepartmentNameColumn.Name = "DepartmentNameColumn"; | ||||||
|  |             this.DepartmentNameColumn.Visible = false; | ||||||
|  |             //  | ||||||
|  |             // OrderBy | ||||||
|  |             //  | ||||||
|  |             this.OrderBy.DataPropertyName = "OrderBy"; | ||||||
|  |             this.OrderBy.HeaderText = "排序顺序"; | ||||||
|  |             this.OrderBy.Name = "OrderBy"; | ||||||
|  |             //  | ||||||
|  |             // IsValid | ||||||
|  |             //  | ||||||
|  |             this.IsValid.DataPropertyName = "IsValid"; | ||||||
|  |             this.IsValid.HeaderText = "是否有效"; | ||||||
|  |             this.IsValid.Name = "IsValid"; | ||||||
|  |             //  | ||||||
|             // dataGridViewTextBoxColumn1 |             // dataGridViewTextBoxColumn1 | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn1.DataPropertyName = "Id"; |             this.dataGridViewTextBoxColumn1.DataPropertyName = "Id"; | ||||||
| @ -392,114 +500,6 @@ | |||||||
|             this.dataGridViewTextBoxColumn9.HeaderText = "是否有效"; |             this.dataGridViewTextBoxColumn9.HeaderText = "是否有效"; | ||||||
|             this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; |             this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; | ||||||
|             //  |             //  | ||||||
|             // txtName |  | ||||||
|             //  |  | ||||||
|             this.txtName.BackColor = System.Drawing.Color.White; |  | ||||||
|             //  |  | ||||||
|             //  |  | ||||||
|             //  |  | ||||||
|             this.txtName.Border.Class = "TextBoxBorder"; |  | ||||||
|             this.txtName.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; |  | ||||||
|             this.txtName.DisabledBackColor = System.Drawing.Color.White; |  | ||||||
|             this.txtName.ForeColor = System.Drawing.Color.Black; |  | ||||||
|             this.txtName.Location = new System.Drawing.Point(94, 8); |  | ||||||
|             this.txtName.Name = "txtName"; |  | ||||||
|             this.txtName.PreventEnterBeep = true; |  | ||||||
|             this.txtName.Size = new System.Drawing.Size(167, 26); |  | ||||||
|             this.txtName.TabIndex = 402; |  | ||||||
|             //  |  | ||||||
|             // txtIp1 |  | ||||||
|             //  |  | ||||||
|             this.txtIp1.BackColor = System.Drawing.Color.White; |  | ||||||
|             //  |  | ||||||
|             //  |  | ||||||
|             //  |  | ||||||
|             this.txtIp1.Border.Class = "TextBoxBorder"; |  | ||||||
|             this.txtIp1.Border.CornerType = DevComponents.DotNetBar.eCornerType.Square; |  | ||||||
|             this.txtIp1.DisabledBackColor = System.Drawing.Color.White; |  | ||||||
|             this.txtIp1.ForeColor = System.Drawing.Color.Black; |  | ||||||
|             this.txtIp1.Location = new System.Drawing.Point(327, 10); |  | ||||||
|             this.txtIp1.Name = "txtIp1"; |  | ||||||
|             this.txtIp1.PreventEnterBeep = true; |  | ||||||
|             this.txtIp1.Size = new System.Drawing.Size(167, 26); |  | ||||||
|             this.txtIp1.TabIndex = 402; |  | ||||||
|             //  |  | ||||||
|             // cbotype |  | ||||||
|             //  |  | ||||||
|             this.cbotype.DisplayMember = "Text"; |  | ||||||
|             this.cbotype.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; |  | ||||||
|             this.cbotype.ForeColor = System.Drawing.Color.Black; |  | ||||||
|             this.cbotype.FormattingEnabled = true; |  | ||||||
|             this.cbotype.ItemHeight = 20; |  | ||||||
|             this.cbotype.Items.AddRange(new object[] { |  | ||||||
|             this.comboItem1, |  | ||||||
|             this.comboItem2}); |  | ||||||
|             this.cbotype.Location = new System.Drawing.Point(94, 49); |  | ||||||
|             this.cbotype.Name = "cbotype"; |  | ||||||
|             this.cbotype.Size = new System.Drawing.Size(167, 26); |  | ||||||
|             this.cbotype.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; |  | ||||||
|             this.cbotype.TabIndex = 403; |  | ||||||
|             this.cbotype.Text = "手术室"; |  | ||||||
|             //  |  | ||||||
|             // comboItem1 |  | ||||||
|             //  |  | ||||||
|             this.comboItem1.Text = "手术间"; |  | ||||||
|             //  |  | ||||||
|             // comboItem2 |  | ||||||
|             //  |  | ||||||
|             this.comboItem2.Text = "恢复室"; |  | ||||||
|             //  |  | ||||||
|             // Id |  | ||||||
|             //  |  | ||||||
|             this.Id.DataPropertyName = "Id"; |  | ||||||
|             this.Id.HeaderText = "编号"; |  | ||||||
|             this.Id.Name = "Id"; |  | ||||||
|             this.Id.Visible = false; |  | ||||||
|             //  |  | ||||||
|             // Index |  | ||||||
|             //  |  | ||||||
|             this.Index.DataPropertyName = "Index"; |  | ||||||
|             this.Index.HeaderText = "序号"; |  | ||||||
|             this.Index.Name = "Index"; |  | ||||||
|             this.Index.Width = 80; |  | ||||||
|             //  |  | ||||||
|             // type |  | ||||||
|             //  |  | ||||||
|             this.type.HeaderText = "地点"; |  | ||||||
|             this.type.Name = "type"; |  | ||||||
|             //  |  | ||||||
|             // oName |  | ||||||
|             //  |  | ||||||
|             this.oName.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; |  | ||||||
|             this.oName.DataPropertyName = "oName"; |  | ||||||
|             this.oName.HeaderText = "名称"; |  | ||||||
|             this.oName.Name = "oName"; |  | ||||||
|             //  |  | ||||||
|             // Ip1 |  | ||||||
|             //  |  | ||||||
|             this.Ip1.DataPropertyName = "Ip"; |  | ||||||
|             this.Ip1.HeaderText = "Ip地址"; |  | ||||||
|             this.Ip1.Name = "Ip1"; |  | ||||||
|             this.Ip1.Width = 140; |  | ||||||
|             //  |  | ||||||
|             // DepartmentNameColumn |  | ||||||
|             //  |  | ||||||
|             this.DepartmentNameColumn.HeaderText = "所属科室"; |  | ||||||
|             this.DepartmentNameColumn.Name = "DepartmentNameColumn"; |  | ||||||
|             this.DepartmentNameColumn.Visible = false; |  | ||||||
|             //  |  | ||||||
|             // OrderBy |  | ||||||
|             //  |  | ||||||
|             this.OrderBy.DataPropertyName = "OrderBy"; |  | ||||||
|             this.OrderBy.HeaderText = "排序顺序"; |  | ||||||
|             this.OrderBy.Name = "OrderBy"; |  | ||||||
|             //  |  | ||||||
|             // IsValid |  | ||||||
|             //  |  | ||||||
|             this.IsValid.DataPropertyName = "IsValid"; |  | ||||||
|             this.IsValid.HeaderText = "是否有效"; |  | ||||||
|             this.IsValid.Name = "IsValid"; |  | ||||||
|             //  |  | ||||||
|             // frmOperationRoom |             // frmOperationRoom | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); | ||||||
|  | |||||||
| @ -47,7 +47,6 @@ | |||||||
|             this.btnSelectPatient = new System.Windows.Forms.Button(); |             this.btnSelectPatient = new System.Windows.Forms.Button(); | ||||||
|             this.panel4 = new System.Windows.Forms.Panel(); |             this.panel4 = new System.Windows.Forms.Panel(); | ||||||
|             this.btnChage = new System.Windows.Forms.Button(); |             this.btnChage = new System.Windows.Forms.Button(); | ||||||
|             this.btnqxqd = new System.Windows.Forms.Button(); |  | ||||||
|             this.btnsjzx = new System.Windows.Forms.Button(); |             this.btnsjzx = new System.Windows.Forms.Button(); | ||||||
|             this.btnyldj = new System.Windows.Forms.Button(); |             this.btnyldj = new System.Windows.Forms.Button(); | ||||||
|             this.btnzsk = new System.Windows.Forms.Button(); |             this.btnzsk = new System.Windows.Forms.Button(); | ||||||
| @ -231,7 +230,7 @@ | |||||||
|             this.button8.Name = "button8"; |             this.button8.Name = "button8"; | ||||||
|             this.button8.Size = new System.Drawing.Size(160, 50); |             this.button8.Size = new System.Drawing.Size(160, 50); | ||||||
|             this.button8.TabIndex = 15; |             this.button8.TabIndex = 15; | ||||||
|             this.button8.Text = "     系统设置"; |             this.button8.Text = "     参数设置"; | ||||||
|             this.button8.UseVisualStyleBackColor = false; |             this.button8.UseVisualStyleBackColor = false; | ||||||
|             this.button8.Click += new System.EventHandler(this.toolStripMenuItem2_Click); |             this.button8.Click += new System.EventHandler(this.toolStripMenuItem2_Click); | ||||||
|             //  |             //  | ||||||
| @ -460,7 +459,6 @@ | |||||||
|             //  |             //  | ||||||
|             this.panel4.BackColor = System.Drawing.Color.White; |             this.panel4.BackColor = System.Drawing.Color.White; | ||||||
|             this.panel4.Controls.Add(this.btnChage); |             this.panel4.Controls.Add(this.btnChage); | ||||||
|             this.panel4.Controls.Add(this.btnqxqd); |  | ||||||
|             this.panel4.Controls.Add(this.btnsjzx); |             this.panel4.Controls.Add(this.btnsjzx); | ||||||
|             this.panel4.Controls.Add(this.btnyldj); |             this.panel4.Controls.Add(this.btnyldj); | ||||||
|             this.panel4.Controls.Add(this.btnzsk); |             this.panel4.Controls.Add(this.btnzsk); | ||||||
| @ -501,7 +499,7 @@ | |||||||
|             this.btnChage.ForeColor = System.Drawing.Color.DimGray; |             this.btnChage.ForeColor = System.Drawing.Color.DimGray; | ||||||
|             this.btnChage.Image = global::AIMS.Properties.Resources.麻醉医嘱; |             this.btnChage.Image = global::AIMS.Properties.Resources.麻醉医嘱; | ||||||
|             this.btnChage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; |             this.btnChage.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; | ||||||
|             this.btnChage.Location = new System.Drawing.Point(0, 632); |             this.btnChage.Location = new System.Drawing.Point(0, 682); | ||||||
|             this.btnChage.Name = "btnChage"; |             this.btnChage.Name = "btnChage"; | ||||||
|             this.btnChage.Size = new System.Drawing.Size(160, 50); |             this.btnChage.Size = new System.Drawing.Size(160, 50); | ||||||
|             this.btnChage.TabIndex = 32; |             this.btnChage.TabIndex = 32; | ||||||
| @ -510,26 +508,6 @@ | |||||||
|             this.btnChage.Visible = false; |             this.btnChage.Visible = false; | ||||||
|             this.btnChage.Click += new System.EventHandler(this.btnChage_Click); |             this.btnChage.Click += new System.EventHandler(this.btnChage_Click); | ||||||
|             //  |             //  | ||||||
|             // btnqxqd |  | ||||||
|             //  |  | ||||||
|             this.btnqxqd.BackColor = System.Drawing.Color.Transparent; |  | ||||||
|             this.btnqxqd.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None; |  | ||||||
|             this.btnqxqd.Cursor = System.Windows.Forms.Cursors.Hand; |  | ||||||
|             this.btnqxqd.Dock = System.Windows.Forms.DockStyle.Bottom; |  | ||||||
|             this.btnqxqd.FlatAppearance.BorderSize = 0; |  | ||||||
|             this.btnqxqd.FlatStyle = System.Windows.Forms.FlatStyle.Flat; |  | ||||||
|             this.btnqxqd.Font = new System.Drawing.Font("微软雅黑", 11F); |  | ||||||
|             this.btnqxqd.ForeColor = System.Drawing.Color.DimGray; |  | ||||||
|             this.btnqxqd.Image = global::AIMS.Properties.Resources.麻药管理; |  | ||||||
|             this.btnqxqd.ImageAlign = System.Drawing.ContentAlignment.MiddleLeft; |  | ||||||
|             this.btnqxqd.Location = new System.Drawing.Point(0, 682); |  | ||||||
|             this.btnqxqd.Name = "btnqxqd"; |  | ||||||
|             this.btnqxqd.Size = new System.Drawing.Size(160, 50); |  | ||||||
|             this.btnqxqd.TabIndex = 31; |  | ||||||
|             this.btnqxqd.Text = "     麻醉记录单"; |  | ||||||
|             this.btnqxqd.UseVisualStyleBackColor = false; |  | ||||||
|             this.btnqxqd.Click += new System.EventHandler(this.btnqxqd_Click); |  | ||||||
|             //  |  | ||||||
|             // btnsjzx |             // btnsjzx | ||||||
|             //  |             //  | ||||||
|             this.btnsjzx.BackColor = System.Drawing.Color.Transparent; |             this.btnsjzx.BackColor = System.Drawing.Color.Transparent; | ||||||
| @ -628,6 +606,7 @@ | |||||||
|             this.btnxldlx.TabIndex = 26; |             this.btnxldlx.TabIndex = 26; | ||||||
|             this.btnxldlx.Text = "     血流动力学"; |             this.btnxldlx.Text = "     血流动力学"; | ||||||
|             this.btnxldlx.UseVisualStyleBackColor = false; |             this.btnxldlx.UseVisualStyleBackColor = false; | ||||||
|  |             this.btnxldlx.Visible = false; | ||||||
|             this.btnxldlx.Click += new System.EventHandler(this.btnxldlx_Click); |             this.btnxldlx.Click += new System.EventHandler(this.btnxldlx_Click); | ||||||
|             //  |             //  | ||||||
|             // btnsbwh |             // btnsbwh | ||||||
| @ -648,13 +627,14 @@ | |||||||
|             this.btnsbwh.TabIndex = 25; |             this.btnsbwh.TabIndex = 25; | ||||||
|             this.btnsbwh.Text = "     设备维护"; |             this.btnsbwh.Text = "     设备维护"; | ||||||
|             this.btnsbwh.UseVisualStyleBackColor = false; |             this.btnsbwh.UseVisualStyleBackColor = false; | ||||||
|  |             this.btnsbwh.Visible = false; | ||||||
|             this.btnsbwh.Click += new System.EventHandler(this.btnsbwh_Click); |             this.btnsbwh.Click += new System.EventHandler(this.btnsbwh_Click); | ||||||
|             //  |             //  | ||||||
|             // lblSpo2 |             // lblSpo2 | ||||||
|             //  |             //  | ||||||
|             this.lblSpo2.AutoSize = true; |             this.lblSpo2.AutoSize = true; | ||||||
|             this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 23F); |             this.lblSpo2.Font = new System.Drawing.Font("微软雅黑", 23F); | ||||||
|             this.lblSpo2.ForeColor = System.Drawing.Color.Teal; |             this.lblSpo2.ForeColor = System.Drawing.Color.Cyan; | ||||||
|             this.lblSpo2.Location = new System.Drawing.Point(63, 399); |             this.lblSpo2.Location = new System.Drawing.Point(63, 399); | ||||||
|             this.lblSpo2.Name = "lblSpo2"; |             this.lblSpo2.Name = "lblSpo2"; | ||||||
|             this.lblSpo2.Size = new System.Drawing.Size(43, 40); |             this.lblSpo2.Size = new System.Drawing.Size(43, 40); | ||||||
| @ -665,7 +645,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.lblRESP.AutoSize = true; |             this.lblRESP.AutoSize = true; | ||||||
|             this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 23F); |             this.lblRESP.Font = new System.Drawing.Font("微软雅黑", 23F); | ||||||
|             this.lblRESP.ForeColor = System.Drawing.Color.Teal; |             this.lblRESP.ForeColor = System.Drawing.Color.Yellow; | ||||||
|             this.lblRESP.Location = new System.Drawing.Point(63, 308); |             this.lblRESP.Location = new System.Drawing.Point(63, 308); | ||||||
|             this.lblRESP.Name = "lblRESP"; |             this.lblRESP.Name = "lblRESP"; | ||||||
|             this.lblRESP.Size = new System.Drawing.Size(43, 40); |             this.lblRESP.Size = new System.Drawing.Size(43, 40); | ||||||
| @ -676,7 +656,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.lblDia.AutoSize = true; |             this.lblDia.AutoSize = true; | ||||||
|             this.lblDia.Font = new System.Drawing.Font("微软雅黑", 23F); |             this.lblDia.Font = new System.Drawing.Font("微软雅黑", 23F); | ||||||
|             this.lblDia.ForeColor = System.Drawing.Color.Teal; |             this.lblDia.ForeColor = System.Drawing.Color.Red; | ||||||
|             this.lblDia.Location = new System.Drawing.Point(43, 217); |             this.lblDia.Location = new System.Drawing.Point(43, 217); | ||||||
|             this.lblDia.Name = "lblDia"; |             this.lblDia.Name = "lblDia"; | ||||||
|             this.lblDia.Size = new System.Drawing.Size(82, 40); |             this.lblDia.Size = new System.Drawing.Size(82, 40); | ||||||
| @ -687,7 +667,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.lblPR.AutoSize = true; |             this.lblPR.AutoSize = true; | ||||||
|             this.lblPR.Font = new System.Drawing.Font("微软雅黑", 23F); |             this.lblPR.Font = new System.Drawing.Font("微软雅黑", 23F); | ||||||
|             this.lblPR.ForeColor = System.Drawing.Color.Teal; |             this.lblPR.ForeColor = System.Drawing.Color.Green; | ||||||
|             this.lblPR.Location = new System.Drawing.Point(63, 126); |             this.lblPR.Location = new System.Drawing.Point(63, 126); | ||||||
|             this.lblPR.Name = "lblPR"; |             this.lblPR.Name = "lblPR"; | ||||||
|             this.lblPR.Size = new System.Drawing.Size(43, 40); |             this.lblPR.Size = new System.Drawing.Size(43, 40); | ||||||
| @ -698,7 +678,7 @@ | |||||||
|             //  |             //  | ||||||
|             this.lblHR.AutoSize = true; |             this.lblHR.AutoSize = true; | ||||||
|             this.lblHR.Font = new System.Drawing.Font("微软雅黑", 23F); |             this.lblHR.Font = new System.Drawing.Font("微软雅黑", 23F); | ||||||
|             this.lblHR.ForeColor = System.Drawing.Color.Teal; |             this.lblHR.ForeColor = System.Drawing.Color.Green; | ||||||
|             this.lblHR.Location = new System.Drawing.Point(63, 35); |             this.lblHR.Location = new System.Drawing.Point(63, 35); | ||||||
|             this.lblHR.Name = "lblHR"; |             this.lblHR.Name = "lblHR"; | ||||||
|             this.lblHR.Size = new System.Drawing.Size(43, 40); |             this.lblHR.Size = new System.Drawing.Size(43, 40); | ||||||
| @ -867,8 +847,8 @@ | |||||||
|             this.superTabMain.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { |             this.superTabMain.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { | ||||||
|             this.superTabMain.ControlBox.MenuBox, |             this.superTabMain.ControlBox.MenuBox, | ||||||
|             this.superTabMain.ControlBox.CloseBox}); |             this.superTabMain.ControlBox.CloseBox}); | ||||||
|             this.superTabMain.Controls.Add(this.superTabControlPanel2); |  | ||||||
|             this.superTabMain.Controls.Add(this.superTabControlPanel1); |             this.superTabMain.Controls.Add(this.superTabControlPanel1); | ||||||
|  |             this.superTabMain.Controls.Add(this.superTabControlPanel2); | ||||||
|             this.superTabMain.Dock = System.Windows.Forms.DockStyle.Fill; |             this.superTabMain.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|             this.superTabMain.Location = new System.Drawing.Point(0, 58); |             this.superTabMain.Location = new System.Drawing.Point(0, 58); | ||||||
|             this.superTabMain.Name = "superTabMain"; |             this.superTabMain.Name = "superTabMain"; | ||||||
| @ -2127,7 +2107,6 @@ | |||||||
|         private System.Windows.Forms.PictureBox picInRoom; |         private System.Windows.Forms.PictureBox picInRoom; | ||||||
|         private System.Windows.Forms.Button txtInRoom1; |         private System.Windows.Forms.Button txtInRoom1; | ||||||
|         private System.Windows.Forms.Button btnChage; |         private System.Windows.Forms.Button btnChage; | ||||||
|         private System.Windows.Forms.Button btnqxqd; |  | ||||||
|         private System.Windows.Forms.Button btnsjzx; |         private System.Windows.Forms.Button btnsjzx; | ||||||
|         private System.Windows.Forms.Button btnyldj; |         private System.Windows.Forms.Button btnyldj; | ||||||
|         private System.Windows.Forms.Button btnzsk; |         private System.Windows.Forms.Button btnzsk; | ||||||
|  | |||||||
| @ -82,12 +82,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
| 
 | 
 | ||||||
|         private void frmAnasRecordBill2_Load(object sender, EventArgs e) |         private void frmAnasRecordBill2_Load(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             //系统演示 收费功能 |  | ||||||
|             if (PublicMethod.OperatorNo == "admin") |  | ||||||
|             { |  | ||||||
|                 btnChage.Visible = true; |  | ||||||
|             } |  | ||||||
| 
 |  | ||||||
|             labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + "  " + AIMSExtension.PublicMethod.OperatorName; |             labOperatorName.Text = "(" + AIMSExtension.PublicMethod.OperatorNo + ")" + "  " + AIMSExtension.PublicMethod.OperatorName; | ||||||
|             if (NowRoom != null) lblRoom.Text = NowRoom.Name; |             if (NowRoom != null) lblRoom.Text = NowRoom.Name; | ||||||
|             circularProgress1.Location = new Point((panel8.Width - circularProgress1.Width) / 2, (panel8.Height - circularProgress1.Height) / 2); |             circularProgress1.Location = new Point((panel8.Width - circularProgress1.Width) / 2, (panel8.Height - circularProgress1.Height) / 2); | ||||||
| @ -909,7 +903,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|         #region 左侧按钮 |         #region 左侧按钮 | ||||||
|         private void btnSelectPatient_Click(object sender, EventArgs e) |         private void btnSelectPatient_Click(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             OperationDoing.AnasRecordBill.UI.frmSelectPatientNew frmSelectPatient = new UI.frmSelectPatientNew(); |             OperationDoing.AnasRecordBill.UI.frmSelectPatientNew2 frmSelectPatient = new UI.frmSelectPatientNew2(); | ||||||
|             frmSelectPatient.isMainOpen = true; |             frmSelectPatient.isMainOpen = true; | ||||||
|             frmSelectPatient.FormClosed += new FormClosedEventHandler(frmSelectPatient_FormClosed); |             frmSelectPatient.FormClosed += new FormClosedEventHandler(frmSelectPatient_FormClosed); | ||||||
|             frmSelectPatient.ShowDialog(); |             frmSelectPatient.ShowDialog(); | ||||||
| @ -1104,23 +1098,19 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|                 MessageBox.Show("请选择患者!"); |                 MessageBox.Show("请选择患者!"); | ||||||
|                 return; |                 return; | ||||||
|             }  |             }  | ||||||
|             if (BOperationRecord.GetDataCount(_record.Id.Value, PatientId, RecoverId) > 0) |             frmStopOperation frmStop = new frmStopOperation(); | ||||||
|             { |             frmStop.tsbCancel.Text = "  停止手术"; | ||||||
|                 MessageBox.Show("清除数据在进行作废手术操作!"); |             frmStop.ApplyIdList = new List<int>() { _record.OperationApplyId.Value }; | ||||||
|                 return; |             DialogResult ddr = frmStop.ShowDialog(); | ||||||
|             } |             if (ddr == System.Windows.Forms.DialogResult.OK) | ||||||
|             if (MessageBox.Show("确认要停止手术吗?", "提示", MessageBoxButtons.YesNo, MessageBoxIcon.Question) == DialogResult.Yes) |  | ||||||
|             { |             { | ||||||
|                 try |                 try | ||||||
|                 { |                 { | ||||||
| 
 |  | ||||||
|                     HelperDB.DbHelperSQL.BeginTrans(); |                     HelperDB.DbHelperSQL.BeginTrans(); | ||||||
|                     BOperationApply.UpdateApplyState(ApplyId, 11);  |                     BOperationApply.UpdateApplyState(ApplyId, 11);  | ||||||
|                     //BOperationRecord.DeleteOperationRecordData(PatientId, RecoverId); |                     BOperationRecord.UpdateOpeState(PatientId, 1, 5,frmStop.txtContent.Text.Trim()); | ||||||
|                     BOperationRecord.UpdateState(PatientId, 1, 5); |  | ||||||
|                     HelperDB.DbHelperSQL.CommitTrans(); |                     HelperDB.DbHelperSQL.CommitTrans(); | ||||||
|                       |                       | ||||||
|                     //ClearData(); |  | ||||||
|                     this.Close(); |                     this.Close(); | ||||||
|                 } |                 } | ||||||
|                 catch |                 catch | ||||||
| @ -1208,7 +1198,10 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|                 frmBloodGasAnalysisNew frmFactBloodGasAnalysis = new frmBloodGasAnalysisNew(); |                 frmBloodGasAnalysisNew frmFactBloodGasAnalysis = new frmBloodGasAnalysisNew(); | ||||||
|                 frmFactBloodGasAnalysis._record = _record; |                 frmFactBloodGasAnalysis._record = _record; | ||||||
|                 frmFactBloodGasAnalysis.zgcAnaesRecord = zgcAnaesRecord; |                 frmFactBloodGasAnalysis.zgcAnaesRecord = zgcAnaesRecord; | ||||||
|                 frmFactBloodGasAnalysis.FormClosed += new FormClosedEventHandler(frmFactEventsNew_FormClosed); |                 frmFactBloodGasAnalysis.FormClosed += ((s, er) => | ||||||
|  |                 { | ||||||
|  |                     reDrawAnalysis(); | ||||||
|  |                 }); | ||||||
|                 frmFactBloodGasAnalysis.ShowDialog(); |                 frmFactBloodGasAnalysis.ShowDialog(); | ||||||
|             } |             } | ||||||
|             else |             else | ||||||
| @ -1222,12 +1215,13 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|             { |             { | ||||||
|                 //图表的对象 |                 //图表的对象 | ||||||
|                 TextPackObj janCePack = templateManage.GetPackObjectOTag<TextPackObj>("PhysioDataManage_TextPackObj_17"); |                 TextPackObj janCePack = templateManage.GetPackObjectOTag<TextPackObj>("PhysioDataManage_TextPackObj_17"); | ||||||
|  |                 LinePackObj H5pack = templateManage.GetPackObjectOTag<LinePackObj>("IconManage_LinePackObj_6"); | ||||||
|                 foreach (FactBloodGasAnalysis analysis in _record.FactBloodGasAnalysisList) |                 foreach (FactBloodGasAnalysis analysis in _record.FactBloodGasAnalysisList) | ||||||
|                 { |                 { | ||||||
|                     analysis.clearAddObj(zgcAnaesRecord); |                     analysis.clearAddObj(zgcAnaesRecord); | ||||||
|                     if (analysis.RecordTime.Value >= _record.pageBegin && analysis.RecordTime.Value < _record.lastPageBegin) |                     if (analysis.RecordTime.Value >= _record.pageBegin && analysis.RecordTime.Value < _record.lastPageBegin) | ||||||
|                     { |                     { | ||||||
|                         analysis.setAnasArr(zgcAnaesRecord, janCePack.RealX, janCePack.RealEndY, _record.pageBegin, _record.pageBegin.AddMinutes(240)); |                         analysis.setAnasArr(zgcAnaesRecord, H5pack.RealX, H5pack.RealEndX, _record.pageBegin, _record.pageBegin.AddMinutes(240)); | ||||||
|                         analysis.drawText(janCePack.RealEndX, janCePack.RealY); |                         analysis.drawText(janCePack.RealEndX, janCePack.RealY); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
| @ -1420,12 +1414,12 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|                                     if (keyValuePair.Name == "自主呼吸") |                                     if (keyValuePair.Name == "自主呼吸") | ||||||
|                                     { |                                     { | ||||||
|                                         lblRESP.Text = value <= 0 ? "- -" : value.ToString(); |                                         lblRESP.Text = value <= 0 ? "- -" : value.ToString(); | ||||||
|                                         if (iswar == true) lblRESP.ForeColor = Color.Red; else lblRESP.ForeColor = Color.Green; |                                         if (iswar == true) lblRESP.ForeColor = Color.Red; else lblRESP.ForeColor = Color.Yellow; | ||||||
|                                     } |                                     } | ||||||
|                                     if (keyValuePair.Name == "氧饱和度") |                                     if (keyValuePair.Name == "氧饱和度") | ||||||
|                                     { |                                     { | ||||||
|                                         lblSpo2.Text = value <= 0 ? "- -" : value.ToString(); |                                         lblSpo2.Text = value <= 0 ? "- -" : value.ToString(); | ||||||
|                                         if (iswar == true) lblSpo2.ForeColor = Color.Red; else lblSpo2.ForeColor = Color.Green; |                                         if (iswar == true) lblSpo2.ForeColor = Color.Red; else lblSpo2.ForeColor = Color.Cyan; | ||||||
|                                     } |                                     } | ||||||
|                                     if (keyValuePair.Name == "脉率") |                                     if (keyValuePair.Name == "脉率") | ||||||
|                                     { |                                     { | ||||||
| @ -1435,22 +1429,22 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|                                     if (keyValuePair.Name == "无创舒张压") |                                     if (keyValuePair.Name == "无创舒张压") | ||||||
|                                     { |                                     { | ||||||
|                                         szy = value <= 0 ? "" : value.ToString(); |                                         szy = value <= 0 ? "" : value.ToString(); | ||||||
|                                         if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green; |                                         //if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green; | ||||||
|                                     } |                                     } | ||||||
|                                     if (keyValuePair.Name == "无创收缩压") |                                     if (keyValuePair.Name == "无创收缩压") | ||||||
|                                     { |                                     { | ||||||
|                                         ssy = value <= 0 ? "" : value.ToString(); |                                         ssy = value <= 0 ? "" : value.ToString(); | ||||||
|                                         if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green; |                                         //if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green; | ||||||
|                                     } |                                     } | ||||||
|                                     if (keyValuePair.Name == "有创舒张压") |                                     if (keyValuePair.Name == "有创舒张压") | ||||||
|                                     { |                                     { | ||||||
|                                         szy = value <= 0 ? "" : value.ToString(); |                                         szy = value <= 0 ? "" : value.ToString(); | ||||||
|                                         if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green; |                                         //if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green; | ||||||
|                                     } |                                     } | ||||||
|                                     if (keyValuePair.Name == "有创收缩压") |                                     if (keyValuePair.Name == "有创收缩压") | ||||||
|                                     { |                                     { | ||||||
|                                         ssy = value <= 0 ? "" : value.ToString(); |                                         ssy = value <= 0 ? "" : value.ToString(); | ||||||
|                                         if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green; |                                         //if (iswar == true) lblDia.ForeColor = Color.Red; else lblDia.ForeColor = Color.Green; | ||||||
|                                     } |                                     } | ||||||
|                                     break; |                                     break; | ||||||
|                                 } |                                 } | ||||||
| @ -1473,10 +1467,10 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|                 lblPR.Text = "- -"; |                 lblPR.Text = "- -"; | ||||||
|                 lblDia.Text = "--/--"; |                 lblDia.Text = "--/--"; | ||||||
|                 lblHR.ForeColor = Color.Green; |                 lblHR.ForeColor = Color.Green; | ||||||
|                 lblRESP.ForeColor = Color.Green; |                 lblRESP.ForeColor = Color.Yellow; | ||||||
|                 lblSpo2.ForeColor = Color.Green; |                 lblSpo2.ForeColor = Color.Cyan; | ||||||
|                 lblPR.ForeColor = Color.Green; |                 lblPR.ForeColor = Color.Green; | ||||||
|                 lblDia.ForeColor = Color.Green; |                 lblDia.ForeColor = Color.Red; | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
| @ -2114,8 +2108,6 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|             frmchargRecord.Show(); |             frmchargRecord.Show(); | ||||||
|             frmchargRecord.BringToFront(); |             frmchargRecord.BringToFront(); | ||||||
|         } |         } | ||||||
|         #endregion |  | ||||||
| 
 |  | ||||||
|         private void superTabMain_SelectedTabChanged(object sender, DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs e) |         private void superTabMain_SelectedTabChanged(object sender, DevComponents.DotNetBar.SuperTabStripSelectedTabChangedEventArgs e) | ||||||
|         { |         { | ||||||
|             //int LocationY = Convert.ToInt32(templateManage.ZedControl.Height * 0.08); |             //int LocationY = Convert.ToInt32(templateManage.ZedControl.Height * 0.08); | ||||||
| @ -2133,5 +2125,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|             //    templateManage2.SetPYL(); |             //    templateManage2.SetPYL(); | ||||||
|             //} |             //} | ||||||
|         } |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|     } |     } | ||||||
| } | } | ||||||
|  | |||||||
| @ -81,11 +81,13 @@ | |||||||
|             this.label12 = new System.Windows.Forms.Label(); |             this.label12 = new System.Windows.Forms.Label(); | ||||||
|             this.label13 = new System.Windows.Forms.Label(); |             this.label13 = new System.Windows.Forms.Label(); | ||||||
|             this.label14 = new System.Windows.Forms.Label(); |             this.label14 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label17 = new System.Windows.Forms.Label(); | ||||||
|             this.label15 = new System.Windows.Forms.Label(); |             this.label15 = new System.Windows.Forms.Label(); | ||||||
|             this.panel16 = new System.Windows.Forms.Panel(); |             this.panel16 = new System.Windows.Forms.Panel(); | ||||||
|             this.label65 = new System.Windows.Forms.Label(); |             this.label65 = new System.Windows.Forms.Label(); | ||||||
|             this.label57 = new System.Windows.Forms.Label(); |             this.label57 = new System.Windows.Forms.Label(); | ||||||
|             this.label59 = new System.Windows.Forms.Label(); |             this.label59 = new System.Windows.Forms.Label(); | ||||||
|  |             this.label16 = new System.Windows.Forms.Label(); | ||||||
|             this.label66 = new System.Windows.Forms.Label(); |             this.label66 = new System.Windows.Forms.Label(); | ||||||
|             this.label58 = new System.Windows.Forms.Label(); |             this.label58 = new System.Windows.Forms.Label(); | ||||||
|             this.plTop = new System.Windows.Forms.Panel(); |             this.plTop = new System.Windows.Forms.Panel(); | ||||||
| @ -120,8 +122,6 @@ | |||||||
|             this.picInRoom = new System.Windows.Forms.PictureBox(); |             this.picInRoom = new System.Windows.Forms.PictureBox(); | ||||||
|             this.txtInRoom1 = new System.Windows.Forms.Button(); |             this.txtInRoom1 = new System.Windows.Forms.Button(); | ||||||
|             this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); |             this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); | ||||||
|             this.label16 = new System.Windows.Forms.Label(); |  | ||||||
|             this.label17 = new System.Windows.Forms.Label(); |  | ||||||
|             this.panel3.SuspendLayout(); |             this.panel3.SuspendLayout(); | ||||||
|             this.panel14.SuspendLayout(); |             this.panel14.SuspendLayout(); | ||||||
|             this.panel4.SuspendLayout(); |             this.panel4.SuspendLayout(); | ||||||
| @ -235,6 +235,7 @@ | |||||||
|             this.button8.TabIndex = 15; |             this.button8.TabIndex = 15; | ||||||
|             this.button8.Text = "     系统设置"; |             this.button8.Text = "     系统设置"; | ||||||
|             this.button8.UseVisualStyleBackColor = false; |             this.button8.UseVisualStyleBackColor = false; | ||||||
|  |             this.button8.Visible = false; | ||||||
|             this.button8.Click += new System.EventHandler(this.toolStripMenuItem2_Click); |             this.button8.Click += new System.EventHandler(this.toolStripMenuItem2_Click); | ||||||
|             //  |             //  | ||||||
|             // button7 |             // button7 | ||||||
| @ -379,6 +380,7 @@ | |||||||
|             this.btnOutputLiquids.TabIndex = 7; |             this.btnOutputLiquids.TabIndex = 7; | ||||||
|             this.btnOutputLiquids.Text = "     出量记录"; |             this.btnOutputLiquids.Text = "     出量记录"; | ||||||
|             this.btnOutputLiquids.UseVisualStyleBackColor = false; |             this.btnOutputLiquids.UseVisualStyleBackColor = false; | ||||||
|  |             this.btnOutputLiquids.Visible = false; | ||||||
|             this.btnOutputLiquids.Click += new System.EventHandler(this.btnOutputLiquids_Click); |             this.btnOutputLiquids.Click += new System.EventHandler(this.btnOutputLiquids_Click); | ||||||
|             //  |             //  | ||||||
|             // btnAddEvents |             // btnAddEvents | ||||||
| @ -419,6 +421,7 @@ | |||||||
|             this.btnDrug.TabIndex = 5; |             this.btnDrug.TabIndex = 5; | ||||||
|             this.btnDrug.Text = "     用药记录"; |             this.btnDrug.Text = "     用药记录"; | ||||||
|             this.btnDrug.UseVisualStyleBackColor = false; |             this.btnDrug.UseVisualStyleBackColor = false; | ||||||
|  |             this.btnDrug.Visible = false; | ||||||
|             this.btnDrug.Click += new System.EventHandler(this.btnDrug_Click); |             this.btnDrug.Click += new System.EventHandler(this.btnDrug_Click); | ||||||
|             //  |             //  | ||||||
|             // btnTemplate |             // btnTemplate | ||||||
| @ -952,6 +955,16 @@ | |||||||
|             this.label14.TabIndex = 8; |             this.label14.TabIndex = 8; | ||||||
|             this.label14.Text = "关体\r\n腔前"; |             this.label14.Text = "关体\r\n腔前"; | ||||||
|             //  |             //  | ||||||
|  |             // label17 | ||||||
|  |             //  | ||||||
|  |             this.label17.AutoSize = true; | ||||||
|  |             this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); | ||||||
|  |             this.label17.Location = new System.Drawing.Point(532, 5); | ||||||
|  |             this.label17.Name = "label17"; | ||||||
|  |             this.label17.Size = new System.Drawing.Size(32, 34); | ||||||
|  |             this.label17.TabIndex = 11; | ||||||
|  |             this.label17.Text = "缝合\r\n皮后"; | ||||||
|  |             //  | ||||||
|             // label15 |             // label15 | ||||||
|             //  |             //  | ||||||
|             this.label15.AutoSize = true; |             this.label15.AutoSize = true; | ||||||
| @ -1011,6 +1024,16 @@ | |||||||
|             this.label59.TabIndex = 8; |             this.label59.TabIndex = 8; | ||||||
|             this.label59.Text = "关体\r\n腔前"; |             this.label59.Text = "关体\r\n腔前"; | ||||||
|             //  |             //  | ||||||
|  |             // label16 | ||||||
|  |             //  | ||||||
|  |             this.label16.AutoSize = true; | ||||||
|  |             this.label16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); | ||||||
|  |             this.label16.Location = new System.Drawing.Point(539, 5); | ||||||
|  |             this.label16.Name = "label16"; | ||||||
|  |             this.label16.Size = new System.Drawing.Size(32, 34); | ||||||
|  |             this.label16.TabIndex = 11; | ||||||
|  |             this.label16.Text = "缝合\r\n皮后"; | ||||||
|  |             //  | ||||||
|             // label66 |             // label66 | ||||||
|             //  |             //  | ||||||
|             this.label66.AutoSize = true; |             this.label66.AutoSize = true; | ||||||
| @ -1593,26 +1616,6 @@ | |||||||
|             this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71); |             this.flowLayoutPanel1.Size = new System.Drawing.Size(147, 71); | ||||||
|             this.flowLayoutPanel1.TabIndex = 0; |             this.flowLayoutPanel1.TabIndex = 0; | ||||||
|             //  |             //  | ||||||
|             // label16 |  | ||||||
|             //  |  | ||||||
|             this.label16.AutoSize = true; |  | ||||||
|             this.label16.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |  | ||||||
|             this.label16.Location = new System.Drawing.Point(539, 5); |  | ||||||
|             this.label16.Name = "label16"; |  | ||||||
|             this.label16.Size = new System.Drawing.Size(32, 34); |  | ||||||
|             this.label16.TabIndex = 11; |  | ||||||
|             this.label16.Text = "缝合\r\n皮后"; |  | ||||||
|             //  |  | ||||||
|             // label17 |  | ||||||
|             //  |  | ||||||
|             this.label17.AutoSize = true; |  | ||||||
|             this.label17.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |  | ||||||
|             this.label17.Location = new System.Drawing.Point(532, 5); |  | ||||||
|             this.label17.Name = "label17"; |  | ||||||
|             this.label17.Size = new System.Drawing.Size(32, 34); |  | ||||||
|             this.label17.TabIndex = 11; |  | ||||||
|             this.label17.Text = "缝合\r\n皮后"; |  | ||||||
|             //  |  | ||||||
|             // frmAnasRecordInstrument |             // frmAnasRecordInstrument | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||||
|  | |||||||
| @ -540,7 +540,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|         { |         { | ||||||
|             if (PatientId != 0) |             if (PatientId != 0) | ||||||
|             { |             { | ||||||
|                 AIMS.OperationDoing.AnasRecordBill.UI.frmOperationInfoNew frmOperationInfo = new frmOperationInfoNew(); |                 AIMS.OperationDoing.AnasRecordBill.UI.frmOperationInfoNew2 frmOperationInfo = new frmOperationInfoNew2(); | ||||||
|                 frmOperationInfo._record = _record; |                 frmOperationInfo._record = _record; | ||||||
|                 frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click); |                 frmOperationInfo.FormClosed += new FormClosedEventHandler(plRefresh_Click); | ||||||
|                 frmOperationInfo.ShowDialog(); |                 frmOperationInfo.ShowDialog(); | ||||||
|  | |||||||
| @ -30,23 +30,23 @@ | |||||||
|         { |         { | ||||||
|             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAnaseDataQualityRecord)); |             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmAnaseDataQualityRecord)); | ||||||
|             this.panel1 = new System.Windows.Forms.Panel(); |             this.panel1 = new System.Windows.Forms.Panel(); | ||||||
|             this.checkBox1 = new System.Windows.Forms.CheckBox(); |  | ||||||
|             this.btndefault = new DevComponents.DotNetBar.ButtonX(); |             this.btndefault = new DevComponents.DotNetBar.ButtonX(); | ||||||
|             this.btnSave = new DevComponents.DotNetBar.ButtonX(); |             this.btnSave = new DevComponents.DotNetBar.ButtonX(); | ||||||
|             this.panel3 = new System.Windows.Forms.Panel(); |             this.panel3 = new System.Windows.Forms.Panel(); | ||||||
|             this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); |  | ||||||
|             this.panelExBLSJ = new DevComponents.DotNetBar.PanelEx(); |  | ||||||
|             this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); |  | ||||||
|             this.panelExZKZB = new DevComponents.DotNetBar.PanelEx(); |  | ||||||
|             this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl(); |             this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl(); | ||||||
|             this.spTabZLZK = new DevComponents.DotNetBar.SuperTabItem(); |             this.spTabZLZK = new DevComponents.DotNetBar.SuperTabItem(); | ||||||
|  |             this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); | ||||||
|  |             this.panelExZKZB = new DevComponents.DotNetBar.PanelEx(); | ||||||
|             this.spTabBLSJ = new DevComponents.DotNetBar.SuperTabItem(); |             this.spTabBLSJ = new DevComponents.DotNetBar.SuperTabItem(); | ||||||
|  |             this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); | ||||||
|  |             this.checkBox1 = new System.Windows.Forms.CheckBox(); | ||||||
|  |             this.panelExBLSJ = new DevComponents.DotNetBar.PanelEx(); | ||||||
|             this.panel1.SuspendLayout(); |             this.panel1.SuspendLayout(); | ||||||
|             this.panel3.SuspendLayout(); |             this.panel3.SuspendLayout(); | ||||||
|             this.superTabControlPanel2.SuspendLayout(); |  | ||||||
|             this.superTabControlPanel1.SuspendLayout(); |  | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit(); |             ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit(); | ||||||
|             this.superTabControl1.SuspendLayout(); |             this.superTabControl1.SuspendLayout(); | ||||||
|  |             this.superTabControlPanel1.SuspendLayout(); | ||||||
|  |             this.superTabControlPanel2.SuspendLayout(); | ||||||
|             this.SuspendLayout(); |             this.SuspendLayout(); | ||||||
|             //  |             //  | ||||||
|             // panel1 |             // panel1 | ||||||
| @ -62,16 +62,6 @@ | |||||||
|             this.panel1.Size = new System.Drawing.Size(495, 49); |             this.panel1.Size = new System.Drawing.Size(495, 49); | ||||||
|             this.panel1.TabIndex = 4; |             this.panel1.TabIndex = 4; | ||||||
|             //  |             //  | ||||||
|             // checkBox1 |  | ||||||
|             //  |  | ||||||
|             this.checkBox1.AutoSize = true; |  | ||||||
|             this.checkBox1.Location = new System.Drawing.Point(12, 12); |  | ||||||
|             this.checkBox1.Name = "checkBox1"; |  | ||||||
|             this.checkBox1.Size = new System.Drawing.Size(98, 24); |  | ||||||
|             this.checkBox1.TabIndex = 7; |  | ||||||
|             this.checkBox1.Text = "无不良事件"; |  | ||||||
|             this.checkBox1.UseVisualStyleBackColor = true; |  | ||||||
|             //  |  | ||||||
|             // btndefault |             // btndefault | ||||||
|             //  |             //  | ||||||
|             this.btndefault.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; |             this.btndefault.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; | ||||||
| @ -103,62 +93,6 @@ | |||||||
|             this.panel3.Size = new System.Drawing.Size(495, 598); |             this.panel3.Size = new System.Drawing.Size(495, 598); | ||||||
|             this.panel3.TabIndex = 6; |             this.panel3.TabIndex = 6; | ||||||
|             //  |             //  | ||||||
|             // superTabControlPanel2 |  | ||||||
|             //  |  | ||||||
|             this.superTabControlPanel2.Controls.Add(this.panelExBLSJ); |  | ||||||
|             this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; |  | ||||||
|             this.superTabControlPanel2.Location = new System.Drawing.Point(0, 0); |  | ||||||
|             this.superTabControlPanel2.Name = "superTabControlPanel2"; |  | ||||||
|             this.superTabControlPanel2.Size = new System.Drawing.Size(495, 598); |  | ||||||
|             this.superTabControlPanel2.TabIndex = 0; |  | ||||||
|             this.superTabControlPanel2.TabItem = this.spTabBLSJ; |  | ||||||
|             //  |  | ||||||
|             // panelExBLSJ |  | ||||||
|             //  |  | ||||||
|             this.panelExBLSJ.CanvasColor = System.Drawing.SystemColors.Control; |  | ||||||
|             this.panelExBLSJ.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; |  | ||||||
|             this.panelExBLSJ.DisabledBackColor = System.Drawing.Color.Empty; |  | ||||||
|             this.panelExBLSJ.Dock = System.Windows.Forms.DockStyle.Fill; |  | ||||||
|             this.panelExBLSJ.Location = new System.Drawing.Point(0, 0); |  | ||||||
|             this.panelExBLSJ.Name = "panelExBLSJ"; |  | ||||||
|             this.panelExBLSJ.Size = new System.Drawing.Size(495, 598); |  | ||||||
|             this.panelExBLSJ.Style.Alignment = System.Drawing.StringAlignment.Center; |  | ||||||
|             this.panelExBLSJ.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; |  | ||||||
|             this.panelExBLSJ.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; |  | ||||||
|             this.panelExBLSJ.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; |  | ||||||
|             this.panelExBLSJ.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; |  | ||||||
|             this.panelExBLSJ.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; |  | ||||||
|             this.panelExBLSJ.Style.GradientAngle = 90; |  | ||||||
|             this.panelExBLSJ.TabIndex = 0; |  | ||||||
|             //  |  | ||||||
|             // superTabControlPanel1 |  | ||||||
|             //  |  | ||||||
|             this.superTabControlPanel1.Controls.Add(this.panelExZKZB); |  | ||||||
|             this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; |  | ||||||
|             this.superTabControlPanel1.Location = new System.Drawing.Point(0, 0); |  | ||||||
|             this.superTabControlPanel1.Name = "superTabControlPanel1"; |  | ||||||
|             this.superTabControlPanel1.Size = new System.Drawing.Size(495, 598); |  | ||||||
|             this.superTabControlPanel1.TabIndex = 1; |  | ||||||
|             this.superTabControlPanel1.TabItem = this.spTabZLZK; |  | ||||||
|             //  |  | ||||||
|             // panelExZKZB |  | ||||||
|             //  |  | ||||||
|             this.panelExZKZB.CanvasColor = System.Drawing.SystemColors.Control; |  | ||||||
|             this.panelExZKZB.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; |  | ||||||
|             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(495, 598); |  | ||||||
|             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; |  | ||||||
|             //  |  | ||||||
|             // superTabControl1 |             // superTabControl1 | ||||||
|             //  |             //  | ||||||
|             //  |             //  | ||||||
| @ -187,6 +121,9 @@ | |||||||
|             this.superTabControl1.Size = new System.Drawing.Size(495, 598); |             this.superTabControl1.Size = new System.Drawing.Size(495, 598); | ||||||
|             this.superTabControl1.TabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); |             this.superTabControl1.TabFont = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); | ||||||
|             this.superTabControl1.TabIndex = 0; |             this.superTabControl1.TabIndex = 0; | ||||||
|  |             this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { | ||||||
|  |             this.spTabZLZK, | ||||||
|  |             this.spTabBLSJ}); | ||||||
|             //  |             //  | ||||||
|             // spTabZLZK |             // spTabZLZK | ||||||
|             //  |             //  | ||||||
| @ -195,6 +132,34 @@ | |||||||
|             this.spTabZLZK.Name = "spTabZLZK"; |             this.spTabZLZK.Name = "spTabZLZK"; | ||||||
|             this.spTabZLZK.Text = "麻醉质量指控"; |             this.spTabZLZK.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(495, 570); | ||||||
|  |             this.superTabControlPanel1.TabIndex = 1; | ||||||
|  |             this.superTabControlPanel1.TabItem = this.spTabZLZK; | ||||||
|  |             //  | ||||||
|  |             // panelExZKZB | ||||||
|  |             //  | ||||||
|  |             this.panelExZKZB.CanvasColor = System.Drawing.SystemColors.Control; | ||||||
|  |             this.panelExZKZB.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; | ||||||
|  |             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(495, 570); | ||||||
|  |             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; | ||||||
|  |             //  | ||||||
|             // spTabBLSJ |             // spTabBLSJ | ||||||
|             //  |             //  | ||||||
|             this.spTabBLSJ.AttachedControl = this.superTabControlPanel2; |             this.spTabBLSJ.AttachedControl = this.superTabControlPanel2; | ||||||
| @ -202,6 +167,44 @@ | |||||||
|             this.spTabBLSJ.Name = "spTabBLSJ"; |             this.spTabBLSJ.Name = "spTabBLSJ"; | ||||||
|             this.spTabBLSJ.Text = "不良事件"; |             this.spTabBLSJ.Text = "不良事件"; | ||||||
|             //  |             //  | ||||||
|  |             // superTabControlPanel2 | ||||||
|  |             //  | ||||||
|  |             this.superTabControlPanel2.Controls.Add(this.panelExBLSJ); | ||||||
|  |             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(495, 570); | ||||||
|  |             this.superTabControlPanel2.TabIndex = 0; | ||||||
|  |             this.superTabControlPanel2.TabItem = this.spTabBLSJ; | ||||||
|  |             //  | ||||||
|  |             // checkBox1 | ||||||
|  |             //  | ||||||
|  |             this.checkBox1.AutoSize = true; | ||||||
|  |             this.checkBox1.Location = new System.Drawing.Point(12, 12); | ||||||
|  |             this.checkBox1.Name = "checkBox1"; | ||||||
|  |             this.checkBox1.Size = new System.Drawing.Size(98, 24); | ||||||
|  |             this.checkBox1.TabIndex = 7; | ||||||
|  |             this.checkBox1.Text = "无不良事件"; | ||||||
|  |             this.checkBox1.UseVisualStyleBackColor = true; | ||||||
|  |             //  | ||||||
|  |             // panelExBLSJ | ||||||
|  |             //  | ||||||
|  |             this.panelExBLSJ.CanvasColor = System.Drawing.SystemColors.Control; | ||||||
|  |             this.panelExBLSJ.ColorSchemeStyle = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; | ||||||
|  |             this.panelExBLSJ.DisabledBackColor = System.Drawing.Color.Empty; | ||||||
|  |             this.panelExBLSJ.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.panelExBLSJ.Location = new System.Drawing.Point(0, 0); | ||||||
|  |             this.panelExBLSJ.Name = "panelExBLSJ"; | ||||||
|  |             this.panelExBLSJ.Size = new System.Drawing.Size(495, 570); | ||||||
|  |             this.panelExBLSJ.Style.Alignment = System.Drawing.StringAlignment.Center; | ||||||
|  |             this.panelExBLSJ.Style.BackColor1.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground; | ||||||
|  |             this.panelExBLSJ.Style.BackColor2.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBackground2; | ||||||
|  |             this.panelExBLSJ.Style.Border = DevComponents.DotNetBar.eBorderType.SingleLine; | ||||||
|  |             this.panelExBLSJ.Style.BorderColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelBorder; | ||||||
|  |             this.panelExBLSJ.Style.ForeColor.ColorSchemePart = DevComponents.DotNetBar.eColorSchemePart.PanelText; | ||||||
|  |             this.panelExBLSJ.Style.GradientAngle = 90; | ||||||
|  |             this.panelExBLSJ.TabIndex = 0; | ||||||
|  |             //  | ||||||
|             // frmAnaseDataQualityRecord |             // frmAnaseDataQualityRecord | ||||||
|             //  |             //  | ||||||
|             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); |             this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); | ||||||
| @ -220,10 +223,10 @@ | |||||||
|             this.panel1.ResumeLayout(false); |             this.panel1.ResumeLayout(false); | ||||||
|             this.panel1.PerformLayout(); |             this.panel1.PerformLayout(); | ||||||
|             this.panel3.ResumeLayout(false); |             this.panel3.ResumeLayout(false); | ||||||
|             this.superTabControlPanel2.ResumeLayout(false); |  | ||||||
|             this.superTabControlPanel1.ResumeLayout(false); |  | ||||||
|             ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit(); |             ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit(); | ||||||
|             this.superTabControl1.ResumeLayout(false); |             this.superTabControl1.ResumeLayout(false); | ||||||
|  |             this.superTabControlPanel1.ResumeLayout(false); | ||||||
|  |             this.superTabControlPanel2.ResumeLayout(false); | ||||||
|             this.ResumeLayout(false); |             this.ResumeLayout(false); | ||||||
| 
 | 
 | ||||||
|         } |         } | ||||||
| @ -234,13 +237,13 @@ | |||||||
|         private System.Windows.Forms.Panel panel3; |         private System.Windows.Forms.Panel panel3; | ||||||
|         private DevComponents.DotNetBar.ButtonX btnSave; |         private DevComponents.DotNetBar.ButtonX btnSave; | ||||||
|         private DevComponents.DotNetBar.ButtonX btndefault; |         private DevComponents.DotNetBar.ButtonX btndefault; | ||||||
|         private System.Windows.Forms.CheckBox checkBox1; |  | ||||||
|         private DevComponents.DotNetBar.SuperTabControl superTabControl1; |         private DevComponents.DotNetBar.SuperTabControl superTabControl1; | ||||||
|         private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1; |         private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel1; | ||||||
|         private DevComponents.DotNetBar.PanelEx panelExZKZB; |         private DevComponents.DotNetBar.PanelEx panelExZKZB; | ||||||
|         private DevComponents.DotNetBar.SuperTabItem spTabZLZK; |         private DevComponents.DotNetBar.SuperTabItem spTabZLZK; | ||||||
|  |         private System.Windows.Forms.CheckBox checkBox1; | ||||||
|         private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2; |         private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel2; | ||||||
|         private DevComponents.DotNetBar.PanelEx panelExBLSJ; |  | ||||||
|         private DevComponents.DotNetBar.SuperTabItem spTabBLSJ; |         private DevComponents.DotNetBar.SuperTabItem spTabBLSJ; | ||||||
|  |         private DevComponents.DotNetBar.PanelEx panelExBLSJ; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @ -48,10 +48,10 @@ | |||||||
|             this.txtBloodResult = new DevComponents.DotNetBar.Controls.TextBoxX(); |             this.txtBloodResult = new DevComponents.DotNetBar.Controls.TextBoxX(); | ||||||
|             this.label4 = new System.Windows.Forms.Label(); |             this.label4 = new System.Windows.Forms.Label(); | ||||||
|             this.dgvAnalysis = new DevComponents.DotNetBar.Controls.DataGridViewX(); |             this.dgvAnalysis = new DevComponents.DotNetBar.Controls.DataGridViewX(); | ||||||
|             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |  | ||||||
|             this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.ID = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.AnalysisTimes = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.AnalysisTimes = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|  |             this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
|             this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); |             this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); | ||||||
| @ -308,22 +308,6 @@ | |||||||
|             this.dgvAnalysis.TabStop = false; |             this.dgvAnalysis.TabStop = false; | ||||||
|             this.dgvAnalysis.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvAnalysis_RowPostPaint); |             this.dgvAnalysis.RowPostPaint += new System.Windows.Forms.DataGridViewRowPostPaintEventHandler(this.dgvAnalysis_RowPostPaint); | ||||||
|             //  |             //  | ||||||
|             // dataGridViewTextBoxColumn1 |  | ||||||
|             //  |  | ||||||
|             this.dataGridViewTextBoxColumn1.DataPropertyName = "Id"; |  | ||||||
|             this.dataGridViewTextBoxColumn1.HeaderText = "ID"; |  | ||||||
|             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; |  | ||||||
|             this.dataGridViewTextBoxColumn1.ReadOnly = true; |  | ||||||
|             this.dataGridViewTextBoxColumn1.Visible = false; |  | ||||||
|             //  |  | ||||||
|             // dataGridViewTextBoxColumn2 |  | ||||||
|             //  |  | ||||||
|             this.dataGridViewTextBoxColumn2.DataPropertyName = "RecordTime"; |  | ||||||
|             this.dataGridViewTextBoxColumn2.HeaderText = "分析时间"; |  | ||||||
|             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; |  | ||||||
|             this.dataGridViewTextBoxColumn2.ReadOnly = true; |  | ||||||
|             this.dataGridViewTextBoxColumn2.Width = 130; |  | ||||||
|             //  |  | ||||||
|             // ID |             // ID | ||||||
|             //  |             //  | ||||||
|             this.ID.DataPropertyName = "Id"; |             this.ID.DataPropertyName = "Id"; | ||||||
| @ -340,6 +324,22 @@ | |||||||
|             this.AnalysisTimes.ReadOnly = true; |             this.AnalysisTimes.ReadOnly = true; | ||||||
|             this.AnalysisTimes.Width = 160; |             this.AnalysisTimes.Width = 160; | ||||||
|             //  |             //  | ||||||
|  |             // dataGridViewTextBoxColumn1 | ||||||
|  |             //  | ||||||
|  |             this.dataGridViewTextBoxColumn1.DataPropertyName = "Id"; | ||||||
|  |             this.dataGridViewTextBoxColumn1.HeaderText = "ID"; | ||||||
|  |             this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; | ||||||
|  |             this.dataGridViewTextBoxColumn1.ReadOnly = true; | ||||||
|  |             this.dataGridViewTextBoxColumn1.Visible = false; | ||||||
|  |             //  | ||||||
|  |             // dataGridViewTextBoxColumn2 | ||||||
|  |             //  | ||||||
|  |             this.dataGridViewTextBoxColumn2.DataPropertyName = "RecordTime"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.HeaderText = "分析时间"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; | ||||||
|  |             this.dataGridViewTextBoxColumn2.ReadOnly = true; | ||||||
|  |             this.dataGridViewTextBoxColumn2.Width = 130; | ||||||
|  |             //  | ||||||
|             // dataGridViewTextBoxColumn3 |             // dataGridViewTextBoxColumn3 | ||||||
|             //  |             //  | ||||||
|             this.dataGridViewTextBoxColumn3.DataPropertyName = "PH"; |             this.dataGridViewTextBoxColumn3.DataPropertyName = "PH"; | ||||||
| @ -511,6 +511,7 @@ | |||||||
|             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); |             this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon"))); | ||||||
|             this.Name = "frmBloodGasAnalysisNew"; |             this.Name = "frmBloodGasAnalysisNew"; | ||||||
|             this.ShowIcon = false; |             this.ShowIcon = false; | ||||||
|  |             this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen; | ||||||
|             this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmBloodGasAnalysisNew_FormClosing); |             this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.frmBloodGasAnalysisNew_FormClosing); | ||||||
|             this.Load += new System.EventHandler(this.frmAnalysis_Load); |             this.Load += new System.EventHandler(this.frmAnalysis_Load); | ||||||
|             this.toolStrip1.ResumeLayout(false); |             this.toolStrip1.ResumeLayout(false); | ||||||
|  | |||||||
| @ -418,7 +418,7 @@ namespace AIMS.PublicUI.UI | |||||||
|                 dgvTxt = (DataGridViewTextBoxEditingControl)e.Control; // 得到单元格 |                 dgvTxt = (DataGridViewTextBoxEditingControl)e.Control; // 得到单元格 | ||||||
|                 dgvTxt.KeyPress -= new KeyPressEventHandler(dgvTxt_KeyPress); // 绑定事件 |                 dgvTxt.KeyPress -= new KeyPressEventHandler(dgvTxt_KeyPress); // 绑定事件 | ||||||
|                 dgvTxt.KeyPress += new KeyPressEventHandler(dgvTxt_KeyPress); // 绑定事件 |                 dgvTxt.KeyPress += new KeyPressEventHandler(dgvTxt_KeyPress); // 绑定事件 | ||||||
|                 if (dgvOutput.CurrentRow.Cells[4].Value != null && dgvOutput.CurrentRow.Cells[4].Value.ToString() != "") |                 if (dgvOutput.CurrentRow.Cells[4].Value == null || dgvOutput.CurrentRow.Cells[4].Value.ToString() == "") | ||||||
|                 { |                 { | ||||||
|                     dgvOutput.CurrentRow.Cells[4].Value = DateTime.Now; |                     dgvOutput.CurrentRow.Cells[4].Value = DateTime.Now; | ||||||
|                 } |                 } | ||||||
|  | |||||||
							
								
								
									
										919
									
								
								AIMS/OperationDoing/AnasRecordBill/frmOperationInfoNew2.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										919
									
								
								AIMS/OperationDoing/AnasRecordBill/frmOperationInfoNew2.cs
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,919 @@ | |||||||
|  | using AIMS.PublicUI.UI; | ||||||
|  | using AIMSBLL; | ||||||
|  | using AIMSModel; | ||||||
|  | using DevComponents.Editors.DateTimeAdv; | ||||||
|  | using DrawGraph; | ||||||
|  | using AIMSExtension; | ||||||
|  | using System; | ||||||
|  | using System.Collections.Generic; | ||||||
|  | using System.Drawing; | ||||||
|  | using System.Windows.Forms; | ||||||
|  | 
 | ||||||
|  | namespace AIMS.OperationDoing.AnasRecordBill.UI | ||||||
|  | { | ||||||
|  |     public partial class frmOperationInfoNew2 : Form, IMessageFilter | ||||||
|  |     { | ||||||
|  |         #region IMessageFilter 成员 | ||||||
|  | 
 | ||||||
|  |         public bool PreFilterMessage(ref Message m) | ||||||
|  |         { | ||||||
|  |             if (m.Msg == 522) | ||||||
|  |             { | ||||||
|  |                 return true; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 return false; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         #endregion | ||||||
|  |         public frmOperationInfoNew2() | ||||||
|  |         { | ||||||
|  |             InitializeComponent(); | ||||||
|  |             this.FormBorderStyle = FormBorderStyle.FixedSingle;//无边框  | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// 手术记录 | ||||||
|  |         /// </summary> | ||||||
|  |         public DrawGraph.OperationRecord _record; | ||||||
|  |         /// <summary> | ||||||
|  |         /// 穿刺及插管 | ||||||
|  |         /// </summary> | ||||||
|  |         public OperationRecordInfo OPInfo; | ||||||
|  | 
 | ||||||
|  |         #region 申请手术窗体加载事件 | ||||||
|  |         private void frmOperationInfoNew2_Load(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             Application.AddMessageFilter(this); | ||||||
|  |             //初始化各个控件 | ||||||
|  |             InitData(); | ||||||
|  | 
 | ||||||
|  |             FullPatientInfo(); | ||||||
|  | 
 | ||||||
|  |             dtpAnesthesiaByDoctor.MouseDown += new MouseEventHandler(txtDateTime_MouseDown); | ||||||
|  |             dtpTourNurseSucceed.MouseDown += new MouseEventHandler(txtDateTime_MouseDown); | ||||||
|  |             dtpInstrumentNurseSucceed.MouseDown += new MouseEventHandler(txtDateTime_MouseDown); | ||||||
|  | 
 | ||||||
|  |             dtpAnesthesiaByDoctor.LostFocus += new EventHandler(txtDateTime_LostFocus); | ||||||
|  |             dtpTourNurseSucceed.LostFocus += new EventHandler(txtDateTime_LostFocus); | ||||||
|  |             dtpInstrumentNurseSucceed.LostFocus += new EventHandler(txtDateTime_LostFocus); | ||||||
|  | 
 | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         public List<string> listNew = new List<string>(); | ||||||
|  |         public List<string> listOnit = new List<string>(); | ||||||
|  |         public List<string> listNewNur = new List<string>(); | ||||||
|  |         public List<string> listOnitNur = new List<string>(); | ||||||
|  |         public List<string> listNewexperts = new List<string>(); | ||||||
|  |         public List<string> listOnitexperts = new List<string>(); | ||||||
|  | 
 | ||||||
|  |         public int _isCompound; | ||||||
|  | 
 | ||||||
|  |         #region 初始化所有控件内容 | ||||||
|  |         private void InitData() | ||||||
|  |         {  | ||||||
|  |             BindBasicDictionaryToComboBox(cbomzpm, "麻醉平面"); | ||||||
|  |             BindBasicDictionaryToComboBox(cbomzxg, "麻醉效果"); | ||||||
|  | 
 | ||||||
|  |             listOnit = BPerson.GetruleAnesthesiaDoctor(""); | ||||||
|  |             this.txtruleAnesthesiaDoctor.Items.AddRange(listOnit.ToArray()); | ||||||
|  | 
 | ||||||
|  |             listOnitNur = BPerson.GetruleNurse(""); | ||||||
|  |             this.txtruleNurse.Items.AddRange(listOnitNur.ToArray()); | ||||||
|  | 
 | ||||||
|  |             listOnitexperts = BPerson.Getexperts(""); | ||||||
|  |             this.txtexperts.Items.AddRange(listOnitexperts.ToArray()); | ||||||
|  | 
 | ||||||
|  |             cboOperationLevel.DisplayMember = "Name"; | ||||||
|  |             cboOperationLevel.ValueMember = "Id"; | ||||||
|  |             cboOperationLevel.DataSource = BOperationLevel.GetDataTable("IsValid=1"); | ||||||
|  |             cboOperationLevel.SelectedIndex = -1; | ||||||
|  | 
 | ||||||
|  |             if (txtOperationCut.DataSource == null) BindBasicDictionaryToComboBox(txtOperationCut, "手术切口"); | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// 绑定基础表项目数据 到 ComboBox   | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="loadCbo"></param> | ||||||
|  |         /// <param name="setDataName"></param> | ||||||
|  |         public static void BindBasicDictionaryToComboBox(ComboBox loadCbo, string setDataName) | ||||||
|  |         { | ||||||
|  |             BasicDictionary basicDictionary = BBasicDictionary.GetBasicDictionaryByName(setDataName); | ||||||
|  |             if (basicDictionary == null) return; | ||||||
|  |             basicDictionary.SubItem.Insert(0, new BasicDictionary() { Id = -1, Name = "" }); | ||||||
|  |             loadCbo.DataSource = basicDictionary.SubItem; | ||||||
|  | 
 | ||||||
|  |             loadCbo.DisplayMember = "Name"; | ||||||
|  |             loadCbo.ValueMember = "Id"; | ||||||
|  |             loadCbo.SelectedIndex = -1; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 填充患者信息 | ||||||
|  |         public void FullPatientInfo() | ||||||
|  |         { | ||||||
|  |             try | ||||||
|  |             { | ||||||
|  |                 if (_record.OpeRecordInfo != null) | ||||||
|  |                 { | ||||||
|  |                     OPInfo = _record.OpeRecordInfo; | ||||||
|  | 
 | ||||||
|  |                     cboOperationLevel.Text = OPInfo.OperationLevel; | ||||||
|  |                     cboOperationLevel.Tag = OPInfo.OperationLevelId; | ||||||
|  |                     txtOperationCut.Tag = OPInfo.OperationCutId; | ||||||
|  |                     txtOperationCut.Text = OPInfo.OperationCut; | ||||||
|  |                     txtOperationSiteId.Text = OPInfo.OperationSite; | ||||||
|  |                     txtOperationSiteId.Tag = OPInfo.OperationSiteId; | ||||||
|  |                     //麻醉医生 || 麻醉接台 || 巡回护士|| 护士接台||器械护士||器械接台||体外循环 | ||||||
|  |                     txtAnesthesiaByDoctor.Text = OPInfo.AnesthesiaSucceed; | ||||||
|  |                     txtTourNurseSucceed.Text = OPInfo.TourNurseSucceed; | ||||||
|  |                     txtInstrumentNurseSucceed.Text = OPInfo.InstrumentNurseSucceed; | ||||||
|  |                     if (OPInfo.AnesthesiaSucceedTime != null) | ||||||
|  |                     { | ||||||
|  |                         dtpAnesthesiaByDoctor.CustomFormat = "MM-dd HH:mm"; | ||||||
|  |                         dtpAnesthesiaByDoctor.Value = OPInfo.AnesthesiaSucceedTime.Value; | ||||||
|  |                         dtpAnesthesiaByDoctor.Tag = OPInfo.AnesthesiaSucceedTime.Value; | ||||||
|  |                     } | ||||||
|  |                     if (OPInfo.InstrumentNurseSucceedTime != null) | ||||||
|  |                     { | ||||||
|  |                         dtpInstrumentNurseSucceed.CustomFormat = "MM-dd HH:mm"; | ||||||
|  |                         dtpInstrumentNurseSucceed.Value = OPInfo.InstrumentNurseSucceedTime.Value; | ||||||
|  |                         dtpInstrumentNurseSucceed.Tag = OPInfo.InstrumentNurseSucceedTime.Value; | ||||||
|  |                     } | ||||||
|  |                     if (OPInfo.TourNurseSucceedTime != null) | ||||||
|  |                     { | ||||||
|  |                         dtpTourNurseSucceed.CustomFormat = "MM-dd HH:mm"; | ||||||
|  |                         dtpTourNurseSucceed.Value = OPInfo.TourNurseSucceedTime.Value; | ||||||
|  |                         dtpTourNurseSucceed.Tag = OPInfo.TourNurseSucceedTime.Value; | ||||||
|  |                     } | ||||||
|  |                     if (OPInfo.Experts != null) txtexperts.Text = OPInfo.Experts; | ||||||
|  |                     if (OPInfo.RuleAnesthesiaDoctor != null) txtruleAnesthesiaDoctor.Text = OPInfo.RuleAnesthesiaDoctor; | ||||||
|  |                     if (OPInfo.RuleNurse != null) txtruleNurse.Text = OPInfo.RuleNurse; | ||||||
|  |                       | ||||||
|  |                     txtOperationCut.Text = OPInfo.OperationCut; | ||||||
|  |                     cboOperationLevel.Text = OPInfo.OperationLevel; | ||||||
|  |                     txtOperationSiteId.Text = OPInfo.OperationSite; | ||||||
|  |                       | ||||||
|  |                     cbomzpm.Text = OPInfo.AnesthesiaPlane; | ||||||
|  |                     cbomzxg.Text = OPInfo.AnesthesiaEffect; | ||||||
|  |                     cmbBRQK.Text = OPInfo.SpecialSituation; | ||||||
|  | 
 | ||||||
|  |                     if (OPInfo.Whereabouts != null && OPInfo.Whereabouts.ToString() != "") | ||||||
|  |                     { | ||||||
|  |                         if (OPInfo.Whereabouts == "恢复室") | ||||||
|  |                         { | ||||||
|  |                             radioButton2.Checked = true; | ||||||
|  |                         } | ||||||
|  |                         else if (OPInfo.Whereabouts == "病房") | ||||||
|  |                         { | ||||||
|  |                             radioButton1.Checked = true; | ||||||
|  |                         } | ||||||
|  |                         else if (OPInfo.Whereabouts == "计划入ICU") | ||||||
|  |                         { | ||||||
|  |                             radioButton3.Checked = true; | ||||||
|  |                         } | ||||||
|  |                         else if (OPInfo.Whereabouts == "非计划入ICU") | ||||||
|  |                         { | ||||||
|  |                             radioButton6.Checked = true; | ||||||
|  |                         } | ||||||
|  |                         else if (OPInfo.Whereabouts == "急诊") | ||||||
|  |                         { | ||||||
|  |                             radioButton4.Checked = true; | ||||||
|  |                         } | ||||||
|  |                         else if (OPInfo.Whereabouts == "离院") | ||||||
|  |                         { | ||||||
|  |                             radioButton5.Checked = true; | ||||||
|  |                         } | ||||||
|  |                         else if (OPInfo.Whereabouts == "死亡") | ||||||
|  |                         { | ||||||
|  |                             radioButton7.Checked = true; | ||||||
|  |                         } | ||||||
|  |                     } | ||||||
|  | 
 | ||||||
|  |                     if (OPInfo.AnesthesiaMethodFirstName != null) | ||||||
|  |                     { | ||||||
|  |                         rdoYes.Checked = true; | ||||||
|  |                         txtAnaesthesiaMethod.Text = OPInfo.AnesthesiaMethodFirstName; | ||||||
|  |                         txtAnaesthesiaMethod.Tag = OPInfo.AnesthesiaMethodLastName; | ||||||
|  |                         txtCause.Text = OPInfo.AnesthesiaMethodChangeReason; | ||||||
|  |                         if (OPInfo.AnesthesiaMethodChangeTime != null) dtpTime.Value = OPInfo.AnesthesiaMethodChangeTime.Value; | ||||||
|  |                     } | ||||||
|  | 
 | ||||||
|  |                     cboQXCD.Text = OPInfo.StewardSober; | ||||||
|  |                     cboHXDTCCD.Text = OPInfo.StewardBreathing; | ||||||
|  |                     cboZTHDD.Text = OPInfo.StewardLimbActivity; | ||||||
|  |                     cboSteward.Text = OPInfo.StewardNumber; | ||||||
|  | 
 | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             catch (Exception ex) | ||||||
|  |             { | ||||||
|  |                 PublicMethod.WriteLog(ex); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 关闭保存手术信息 | ||||||
|  |         private void btExit_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             try | ||||||
|  |             { | ||||||
|  |                 OPInfo.AnesthesiaPlane = cbomzpm.Text; | ||||||
|  |                 OPInfo.AnesthesiaEffect = cbomzxg.Text; | ||||||
|  |                 OPInfo.SpecialSituation = cmbBRQK.Text; | ||||||
|  | 
 | ||||||
|  |                 OPInfo.OperationCut = txtOperationCut.Text; | ||||||
|  |                 OPInfo.OperationLevel = cboOperationLevel.Text; | ||||||
|  |                 OPInfo.OperationSite = txtOperationSiteId.Text; | ||||||
|  | 
 | ||||||
|  |                 SetOPInfo(); | ||||||
|  | 
 | ||||||
|  |                 if (radioButton2.Checked == true) | ||||||
|  |                 { | ||||||
|  |                     OPInfo.Whereabouts = "恢复室"; | ||||||
|  |                 } | ||||||
|  |                 else if (radioButton1.Checked == true) | ||||||
|  |                 { | ||||||
|  |                     OPInfo.Whereabouts = "病房"; | ||||||
|  |                 } | ||||||
|  |                 else if (radioButton3.Checked == true) | ||||||
|  |                 { | ||||||
|  |                     OPInfo.Whereabouts = "计划入ICU"; | ||||||
|  |                 } | ||||||
|  |                 else if (radioButton6.Checked == true) | ||||||
|  |                 { | ||||||
|  |                     OPInfo.Whereabouts = "非计划入ICU"; | ||||||
|  |                 } | ||||||
|  |                 else if (radioButton4.Checked == true) | ||||||
|  |                 { | ||||||
|  |                     OPInfo.Whereabouts = "急诊"; | ||||||
|  |                 } | ||||||
|  |                 else if (radioButton5.Checked == true) | ||||||
|  |                 { | ||||||
|  |                     OPInfo.Whereabouts = "离院"; | ||||||
|  |                 } | ||||||
|  |                 else if (radioButton7.Checked == true) | ||||||
|  |                 { | ||||||
|  |                     OPInfo.Whereabouts = "死亡"; | ||||||
|  |                 } | ||||||
|  | 
 | ||||||
|  |                 if (rdoYes.Checked == true && txtAnaesthesiaMethod.Text != "") | ||||||
|  |                 { | ||||||
|  |                     OPInfo.AnesthesiaMethodFirstName = txtAnaesthesiaMethod.Text; | ||||||
|  |                     //OPInfo.AnesthesiaMethodLastName = txtAnaesthesiaMethod.Tag.ToString(); | ||||||
|  |                     OPInfo.AnesthesiaMethodChangeReason = txtCause.Text.Trim(); | ||||||
|  |                     OPInfo.AnesthesiaMethodChangeTime = dtpTime.Value; | ||||||
|  |                 } | ||||||
|  |                   | ||||||
|  |                 OPInfo.OperatorId = PublicMethod.OperatorName; | ||||||
|  |                 if (OPInfo.Id == null) | ||||||
|  |                 { | ||||||
|  |                     OPInfo.Id = BOperationRecordInfo.Insert(OPInfo); | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     BOperationRecordInfo.Update(OPInfo); | ||||||
|  |                 } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |             } | ||||||
|  |             catch (Exception exp) | ||||||
|  |             { | ||||||
|  |                 PublicMethod.WriteLog(exp, ""); return; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 选择医生术者 | ||||||
|  |         /// <summary> | ||||||
|  |         /// 麻醉接台医生 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="sender"></param> | ||||||
|  |         /// <param name="e"></param> | ||||||
|  |         private void txtAnesthesiaByDoctor_TextChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             setDoctor(sender as TextBox, "麻醉医生"); | ||||||
|  |             OPInfo.AnesthesiaSucceed = txtAnesthesiaByDoctor.Text; | ||||||
|  |             if (txtAnesthesiaByDoctor.Text != "") | ||||||
|  |             { | ||||||
|  |                 txtDateTime_MouseDown(dtpAnesthesiaByDoctor, null); | ||||||
|  |                 dtpAnesthesiaByDoctor.Enabled = true; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 dtpAnesthesiaByDoctor.CustomFormat = " "; | ||||||
|  |                 OPInfo.AnesthesiaSucceedTime = null; | ||||||
|  |                 dtpAnesthesiaByDoctor.Tag = null; | ||||||
|  |                 dtpAnesthesiaByDoctor.Enabled = false; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         /// <summary> | ||||||
|  |         /// 巡回接台护士 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="sender"></param> | ||||||
|  |         /// <param name="e"></param> | ||||||
|  |         private void txtTourNurseSucceed_TextChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             setDoctor(sender as TextBox, "护士"); | ||||||
|  |             OPInfo.TourNurseSucceed =  txtTourNurseSucceed.Text; | ||||||
|  |             if (txtTourNurseSucceed.Text != "") | ||||||
|  |             { | ||||||
|  |                 txtDateTime_MouseDown(dtpTourNurseSucceed, null); | ||||||
|  |                 dtpTourNurseSucceed.Enabled = true; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 dtpTourNurseSucceed.CustomFormat = " "; | ||||||
|  |                 OPInfo.TourNurseSucceedTime = null; | ||||||
|  |                 dtpTourNurseSucceed.Tag = null; | ||||||
|  |                 dtpTourNurseSucceed.Enabled = false; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         /// <summary> | ||||||
|  |         /// 器械接台护士 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="sender"></param> | ||||||
|  |         /// <param name="e"></param> | ||||||
|  |         private void txtInstrumentNurseSucceed_TextChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             setDoctor(sender as TextBox, "护士"); ; | ||||||
|  |             OPInfo.InstrumentNurseSucceed =  txtInstrumentNurseSucceed.Text; | ||||||
|  |             if (txtInstrumentNurseSucceed.Text != "") | ||||||
|  |             { | ||||||
|  |                 txtDateTime_MouseDown(dtpInstrumentNurseSucceed, null); | ||||||
|  |                 dtpInstrumentNurseSucceed.Enabled = true; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 dtpInstrumentNurseSucceed.CustomFormat = " "; | ||||||
|  |                 OPInfo.InstrumentNurseSucceedTime = null; | ||||||
|  |                 dtpInstrumentNurseSucceed.Tag = null; | ||||||
|  |                 dtpInstrumentNurseSucceed.Enabled = false; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 修改手术信息 | ||||||
|  | 
 | ||||||
|  |         #region 选择手术体位 | ||||||
|  |         private void txtOperationPosition_TextChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             frmSelectDictionary fsd = new frmSelectDictionary(); | ||||||
|  |             fsd._controlName = sender as TextBox; | ||||||
|  |             fsd._dictionaryName = "手术体位"; | ||||||
|  |             fsd.ShowDialog(); | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 公共方法 | ||||||
|  | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// 根据工作类型 选择医生术者赋值TextBox | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="controlTextBox">医生术者TextBox</param> | ||||||
|  |         /// <param name="workersType">工作类型</param> | ||||||
|  |         public void setDoctor(TextBox controlTextBox, string workersType) | ||||||
|  |         { | ||||||
|  |             PublicUI.UI.frmSelectPerson frmOperationDoctor = new PublicUI.UI.frmSelectPerson(); | ||||||
|  |             frmOperationDoctor.PersonType = workersType; | ||||||
|  |             frmOperationDoctor.SelectDepartmentName = "手术室"; | ||||||
|  |             frmOperationDoctor.SelectPersonData = new List<int>(); | ||||||
|  |             frmOperationDoctor.ShowDialog(); | ||||||
|  | 
 | ||||||
|  |             foreach (int RowId in frmOperationDoctor.SelectPersonData) | ||||||
|  |             { | ||||||
|  |                 controlTextBox.Text += BPerson.GetModel(RowId).Name + " ,"; | ||||||
|  |             } | ||||||
|  |             if (controlTextBox.Text != "") | ||||||
|  |             { | ||||||
|  |                 int idxStart = controlTextBox.Text.LastIndexOf(" ,"); | ||||||
|  |                 controlTextBox.Text = controlTextBox.Text.Substring(0, idxStart); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 手术信息赋值 | ||||||
|  |         private void SetOPInfo() | ||||||
|  |         { | ||||||
|  |             if (OPInfo == null) OPInfo = new OperationRecordInfo(); | ||||||
|  |             string intubateOther = string.Empty; | ||||||
|  |             string M; | ||||||
|  |             string T; | ||||||
|  |             string S; | ||||||
|  |             | ||||||
|  | 
 | ||||||
|  |             OPInfo.Experts = txtexperts.Text.Trim(); | ||||||
|  |             OPInfo.RuleAnesthesiaDoctor = txtruleAnesthesiaDoctor.Text.Trim(); | ||||||
|  |             OPInfo.RuleNurse = txtruleNurse.Text.Trim(); | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |             if (cboQXCD.Text.Trim() == "") OPInfo.StewardSober = null; else OPInfo.StewardSober = cboQXCD.Text; | ||||||
|  |             if (cboHXDTCCD.Text.Trim() == "") OPInfo.StewardBreathing = null; else OPInfo.StewardBreathing = cboHXDTCCD.Text; | ||||||
|  |             if (cboZTHDD.Text.Trim() == "") OPInfo.StewardLimbActivity = null; else OPInfo.StewardLimbActivity = cboZTHDD.Text; | ||||||
|  |             if (cboSteward.Text.Trim() == "") OPInfo.StewardNumber = null; else OPInfo.StewardNumber = cboSteward.Text; | ||||||
|  | 
 | ||||||
|  |             OPInfo.OperationRecordId = _record.Id; | ||||||
|  |             OPInfo.PatientId = _record.PatientId; | ||||||
|  |             OPInfo.ApplyId = _record.OperationApplyId; | ||||||
|  |             OPInfo.OperatorTime = DateTime.Now; | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 手术特殊事件时间点处理事件 | ||||||
|  |         public void txtDateTime_MouseDown(object sender, MouseEventArgs e) | ||||||
|  |         { | ||||||
|  |             DateTimeInput tb = sender as DateTimeInput; | ||||||
|  |             if (tb.Text.Trim() == "" && tb.CustomFormat == " ") | ||||||
|  |             { | ||||||
|  |                 tb.BackColor = Color.White; | ||||||
|  |                 DateTime curTimeTemp = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, DateTime.Now.Hour, DateTime.Now.Minute, DateTime.Now.Second); | ||||||
|  |                 SetPic(0, sender, curTimeTemp); | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 tb.CustomFormat = "MM-dd HH:mm"; | ||||||
|  |                 tb.ButtonDropDown.Visible = true; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         private void txtDateTime_LostFocus(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             DateTimeInput tb = sender as DateTimeInput; | ||||||
|  |             if (tb.Text.Trim() != "" && tb.Value.ToString() != tb.Tag.ToString()) | ||||||
|  |             { | ||||||
|  |                 try | ||||||
|  |                 { | ||||||
|  |                     SetPic(0, sender, tb.Value); | ||||||
|  |                 } | ||||||
|  |                 catch (Exception exp) | ||||||
|  |                 { | ||||||
|  |                     tb.Focus(); | ||||||
|  |                     PublicMethod.WriteLog(exp, ""); return; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             { | ||||||
|  |                 if (tb.Tag != null && tb.Tag.ToString() != "") | ||||||
|  |                     tb.Value = DateTime.Parse(tb.Tag.ToString()); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 特殊事件触发时设置图片 | ||||||
|  | 
 | ||||||
|  |         private void SetPic(int state, Object obj, DateTime curTimeTemp) | ||||||
|  |         { | ||||||
|  |             DateTimeInput tb = obj as DateTimeInput; | ||||||
|  |             if (tb.Name == "dtpAnesthesiaByDoctor") | ||||||
|  |             { | ||||||
|  |                 if (state == 0) | ||||||
|  |                 { | ||||||
|  |                     if (txtAnesthesiaByDoctor.Text == "") | ||||||
|  |                     { | ||||||
|  |                         MessageBox.Show("请选择接台人员!", "系统提示"); | ||||||
|  |                         return; | ||||||
|  |                     } | ||||||
|  |                     tb.CustomFormat = "MM-dd HH:mm"; | ||||||
|  |                     OPInfo.AnesthesiaSucceedTime = curTimeTemp; | ||||||
|  |                     tb.Tag = curTimeTemp; | ||||||
|  |                     tb.Value = curTimeTemp; | ||||||
|  | 
 | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     dtpAnesthesiaByDoctor.CustomFormat = " "; | ||||||
|  |                     OPInfo.AnesthesiaSucceedTime = null; | ||||||
|  |                     tb.Tag = null; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             if (tb.Name == "dtpTourNurseSucceed") | ||||||
|  |             { | ||||||
|  |                 if (state == 0) | ||||||
|  |                 { | ||||||
|  |                     if (txtTourNurseSucceed.Text == "") | ||||||
|  |                     { | ||||||
|  |                         MessageBox.Show("请选择接台人员!", "系统提示"); | ||||||
|  |                         return; | ||||||
|  |                     } | ||||||
|  |                     tb.CustomFormat = "MM-dd HH:mm"; | ||||||
|  |                     OPInfo.TourNurseSucceedTime = curTimeTemp; | ||||||
|  |                     tb.Tag = curTimeTemp; | ||||||
|  |                     tb.Value = curTimeTemp; | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     tb.CustomFormat = " "; | ||||||
|  |                     OPInfo.TourNurseSucceedTime = null; | ||||||
|  |                     tb.Tag = null; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |             if (tb.Name == "dtpInstrumentNurseSucceed") | ||||||
|  |             { | ||||||
|  |                 if (state == 0) | ||||||
|  |                 { | ||||||
|  |                     if (txtInstrumentNurseSucceed.Text == "") | ||||||
|  |                     { | ||||||
|  |                         MessageBox.Show("请选择接台人员!", "系统提示"); | ||||||
|  |                         return; | ||||||
|  |                     } | ||||||
|  |                     tb.CustomFormat = "MM-dd HH:mm"; | ||||||
|  |                     OPInfo.InstrumentNurseSucceedTime = curTimeTemp; | ||||||
|  |                     tb.Tag = curTimeTemp; | ||||||
|  |                     tb.Value = curTimeTemp; | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     tb.CustomFormat = " "; | ||||||
|  |                     OPInfo.InstrumentNurseSucceedTime = null; | ||||||
|  |                     tb.Tag = null; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 关闭时触发 | ||||||
|  |         private void frmOperationInfoNew2_FormClosing(object sender, FormClosingEventArgs e) | ||||||
|  |         { | ||||||
|  |             if (ConnectionVerification() == false) | ||||||
|  |             { | ||||||
|  |                 e.Cancel = true; | ||||||
|  |                 return; | ||||||
|  |             } | ||||||
|  |             btExit_Click(null, null); | ||||||
|  |             //this.Hide(); | ||||||
|  |             //e.Cancel = true; | ||||||
|  |             Application.RemoveMessageFilter(this); | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region RadioButton | ||||||
|  |         RadioButton radd = null; | ||||||
|  |         private void radD_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             RadioButton rdo = (RadioButton)sender; | ||||||
|  |             if (radd == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 radd = rdo; | ||||||
|  |             } | ||||||
|  |             else if (radd != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 radd.Checked = false; | ||||||
|  |                 radd = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 radd = null; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         RadioButton radz = null; | ||||||
|  |         private void radZ_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             RadioButton rdo = (RadioButton)sender; | ||||||
|  |             if (radz == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 radz = rdo; | ||||||
|  |             } | ||||||
|  |             else if (radd != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 radz.Checked = false; | ||||||
|  |                 radz = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 radz = null; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         CheckBox radb = null; | ||||||
|  |         private void radB_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             CheckBox rdo = (CheckBox)sender; | ||||||
|  |             if (radb == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 radb = rdo; | ||||||
|  |             } | ||||||
|  |             else if (radb != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 radb.Checked = false; | ||||||
|  |                 radb = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 radb = null; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |         RadioButton rady = null; | ||||||
|  |         private void radY_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             RadioButton rdo = (RadioButton)sender; | ||||||
|  |             if (rady == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 rady = rdo; | ||||||
|  |             } | ||||||
|  |             else if (rady != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 rady.Checked = false; | ||||||
|  |                 rady = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 rady = null; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         RadioButton radBM = null; | ||||||
|  |         private void radM_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             RadioButton rdo = (RadioButton)sender; | ||||||
|  |             if (radBM == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 radBM = rdo; | ||||||
|  |             } | ||||||
|  |             else if (radBM != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 radBM.Checked = false; | ||||||
|  |                 radBM = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 radBM = null; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         RadioButton rdoNeuroPlexusAroundLef = null; | ||||||
|  |         private void rdoNeuroPlexusAroundLeft_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             RadioButton rdo = (RadioButton)sender; | ||||||
|  |             if (rdoNeuroPlexusAroundLef == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 rdoNeuroPlexusAroundLef = rdo; | ||||||
|  |             } | ||||||
|  |             else if (rdoNeuroPlexusAroundLef != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 rdoNeuroPlexusAroundLef.Checked = false; | ||||||
|  |                 rdoNeuroPlexusAroundLef = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 rdoNeuroPlexusAroundLef = null; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |         RadioButton chkshi = null; | ||||||
|  |         private void radMas_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             RadioButton rdo = (RadioButton)sender; | ||||||
|  |             if (chkshi == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 chkshi = rdo; | ||||||
|  |             } | ||||||
|  |             else if (chkshi != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 chkshi.Checked = false; | ||||||
|  |                 chkshi = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 chkshi = null; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |         RadioButton chkkshj = null; | ||||||
|  |         private void radKSHJ_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             RadioButton rdo = (RadioButton)sender; | ||||||
|  |             if (chkkshj == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 chkkshj = rdo; | ||||||
|  |             } | ||||||
|  |             else if (chkkshj != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 chkkshj.Checked = false; | ||||||
|  |                 chkkshj = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 chkkshj = null; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  |         RadioButton chkdmcc = null; | ||||||
|  |         private void radDMCC_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             RadioButton rdo = (RadioButton)sender; | ||||||
|  |             if (chkdmcc == null) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 chkdmcc = rdo; | ||||||
|  |             } | ||||||
|  |             else if (chkdmcc != rdo) | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = true; | ||||||
|  |                 chkdmcc.Checked = false; | ||||||
|  |                 chkdmcc = rdo; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 rdo.Checked = false; | ||||||
|  |                 chkdmcc = null; | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|  |         }    | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         #region 接台验证 | ||||||
|  |         private bool ConnectionVerification() | ||||||
|  |         { | ||||||
|  |             bool b = true; | ||||||
|  | 
 | ||||||
|  |             if (cboOperationLevel.Text == "" || cboOperationLevel.Text == "未分级") | ||||||
|  |             { | ||||||
|  |                 MessageBox.Show("请填手术分级"); | ||||||
|  |                 label19.ForeColor = Color.Red; | ||||||
|  |                 cboOperationLevel.Focus(); | ||||||
|  |                 b = false; | ||||||
|  |             } | ||||||
|  |             //if (txtOperationCut.Text == "") | ||||||
|  |             //{ | ||||||
|  |             //    MessageBox.Show("请填写切口类型"); | ||||||
|  |             //    label20.ForeColor = Color.Red; | ||||||
|  |             //    txtOperationCut.Focus(); | ||||||
|  |             //    b = false; | ||||||
|  |             //} | ||||||
|  |             if (cbomzxg.Text == "") | ||||||
|  |             { | ||||||
|  |                 MessageBox.Show("请填写麻醉效果"); | ||||||
|  |                 label14.ForeColor = Color.Red; | ||||||
|  |                 cbomzxg.Focus(); | ||||||
|  |                 b = false; | ||||||
|  |             } | ||||||
|  |             return b; | ||||||
|  |         } | ||||||
|  |         #endregion | ||||||
|  | 
 | ||||||
|  |         private void cboODepartment_TextUpdate(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             //清空combobox | ||||||
|  |             this.txtruleAnesthesiaDoctor.Items.Clear(); | ||||||
|  |             //清空listNew | ||||||
|  |             listNew.Clear(); | ||||||
|  |             //遍历全部备查数据 | ||||||
|  |             listNew = BPerson.GetruleAnesthesiaDoctor(txtruleAnesthesiaDoctor.Text); | ||||||
|  | 
 | ||||||
|  |             //combobox添加已经查到的关键词 | ||||||
|  |             this.txtruleAnesthesiaDoctor.Items.AddRange(listNew.ToArray()); | ||||||
|  |             //设置光标位置,否则光标位置始终保持在第一列,造成输入关键词的倒序排列 | ||||||
|  |             this.txtruleAnesthesiaDoctor.SelectionStart = this.txtruleAnesthesiaDoctor.Text.Length; | ||||||
|  |             //保持鼠标指针原来状态,有时候鼠标指针会被下拉框覆盖,所以要进行一次设置。 | ||||||
|  |             Cursor = Cursors.Default; | ||||||
|  |             //自动弹出下拉框 | ||||||
|  |             this.txtruleAnesthesiaDoctor.DroppedDown = true; | ||||||
|  | 
 | ||||||
|  |         } | ||||||
|  |         private void txtruleNurse_TextUpdate(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             //清空combobox | ||||||
|  |             this.txtruleNurse.Items.Clear(); | ||||||
|  |             //清空listNew | ||||||
|  |             listNewNur.Clear(); | ||||||
|  |             //遍历全部备查数据 | ||||||
|  |             listNewNur = BPerson.GetruleNurse(txtruleNurse.Text); | ||||||
|  | 
 | ||||||
|  |             //combobox添加已经查到的关键词 | ||||||
|  |             this.txtruleNurse.Items.AddRange(listNewNur.ToArray()); | ||||||
|  |             //设置光标位置,否则光标位置始终保持在第一列,造成输入关键词的倒序排列 | ||||||
|  |             this.txtruleNurse.SelectionStart = this.txtruleNurse.Text.Length; | ||||||
|  |             //保持鼠标指针原来状态,有时候鼠标指针会被下拉框覆盖,所以要进行一次设置。 | ||||||
|  |             Cursor = Cursors.Default; | ||||||
|  |             //自动弹出下拉框 | ||||||
|  |             this.txtruleNurse.DroppedDown = true; | ||||||
|  |         } | ||||||
|  |         private void txtexperts_TextUpdate(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             //清空combobox | ||||||
|  |             this.txtexperts.Items.Clear(); | ||||||
|  |             //清空listNew | ||||||
|  |             listNewexperts.Clear(); | ||||||
|  |             //遍历全部备查数据 | ||||||
|  |             listNewexperts = BPerson.Getexperts(txtexperts.Text); | ||||||
|  | 
 | ||||||
|  |             //combobox添加已经查到的关键词 | ||||||
|  |             this.txtexperts.Items.AddRange(listNewexperts.ToArray()); | ||||||
|  |             //设置光标位置,否则光标位置始终保持在第一列,造成输入关键词的倒序排列 | ||||||
|  |             this.txtexperts.SelectionStart = this.txtexperts.Text.Length; | ||||||
|  |             //保持鼠标指针原来状态,有时候鼠标指针会被下拉框覆盖,所以要进行一次设置。 | ||||||
|  |             Cursor = Cursors.Default; | ||||||
|  |             //自动弹出下拉框 | ||||||
|  |             this.txtexperts.DroppedDown = true; | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         private void rdoYes_CheckedChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             if (rdoYes.Checked == true) | ||||||
|  |             { | ||||||
|  |                 label10.Visible = true; | ||||||
|  |                 label15.Visible = true; | ||||||
|  |                 label16.Visible = true; | ||||||
|  |                 txtAnaesthesiaMethod.Visible = true; | ||||||
|  |                 txtCause.Visible = true; | ||||||
|  |                 dtpTime.Visible = true; | ||||||
|  |             } | ||||||
|  |             else | ||||||
|  |             { | ||||||
|  |                 label10.Visible = false; | ||||||
|  |                 label15.Visible = false; | ||||||
|  |                 label16.Visible = false; | ||||||
|  |                 txtAnaesthesiaMethod.Visible = false; | ||||||
|  |                 txtCause.Visible = false; | ||||||
|  |                 dtpTime.Visible = false; | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         public List<int> SelectAnaesthesiaMethodData = new List<int>(); | ||||||
|  |         frmAnaesthesiaMethod frmAnaesthesia; | ||||||
|  |         private void txtAnaesthesiaMethod_Click(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             frmAnaesthesia = new PublicUI.UI.frmAnaesthesiaMethod(); | ||||||
|  |             frmAnaesthesia.FormClosed += new FormClosedEventHandler(frmAnaesthesiaMethod_FormClosed); | ||||||
|  |             frmAnaesthesia.SelectAnaesthesiaMethodData = SelectAnaesthesiaMethodData; | ||||||
|  |             frmAnaesthesia.ShowDialog(); | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|  |         void frmAnaesthesiaMethod_FormClosed(object sender, FormClosedEventArgs e) | ||||||
|  |         { | ||||||
|  |             txtAnaesthesiaMethod.Text = ""; | ||||||
|  |             if (frmAnaesthesia.SelectAnaesthesiaMethodData.Count > 0) | ||||||
|  |             { | ||||||
|  |                 SelectAnaesthesiaMethodData = frmAnaesthesia.SelectAnaesthesiaMethodData; | ||||||
|  |                 foreach (int RowId in frmAnaesthesia.SelectAnaesthesiaMethodData) | ||||||
|  |                 { | ||||||
|  |                     txtAnaesthesiaMethod.Text += BAnaesthesiaMethod.GetModel(RowId).Name + " ,"; | ||||||
|  |                 } | ||||||
|  |                 int idxStart = txtAnaesthesiaMethod.Text.LastIndexOf(" ,"); | ||||||
|  |                 txtAnaesthesiaMethod.Text = txtAnaesthesiaMethod.Text.Substring(0, idxStart); | ||||||
|  |             } | ||||||
|  |         } | ||||||
|  |           | ||||||
|  | 
 | ||||||
|  |         /// <summary> | ||||||
|  |         /// 清醒程度 | ||||||
|  |         /// </summary> | ||||||
|  |         int StewardSober = 0; | ||||||
|  |         /// <summary> | ||||||
|  |         /// 呼吸道通畅程度 | ||||||
|  |         /// </summary> | ||||||
|  |         int StewardBreathing = 0; | ||||||
|  |         /// <summary> | ||||||
|  |         /// 肢体活动度 | ||||||
|  |         /// </summary> | ||||||
|  |         int StewardLimbActivity = 0; | ||||||
|  |         /// <summary> | ||||||
|  |         /// 总评分 | ||||||
|  |         /// </summary> | ||||||
|  |         /// <param name="sender"></param> | ||||||
|  |         /// <param name="e"></param> | ||||||
|  |         private void cboQXCD_SelectedIndexChanged(object sender, EventArgs e) | ||||||
|  |         { | ||||||
|  |             if (cboQXCD.Text != null && cboQXCD.Text.Trim() != "") StewardSober = int.Parse(cboQXCD.Text); | ||||||
|  |             if (cboHXDTCCD.Text != null && cboHXDTCCD.Text.Trim() != "") StewardBreathing = int.Parse(cboHXDTCCD.Text); | ||||||
|  |             if (cboZTHDD.Text != null && cboZTHDD.Text.Trim() != "") StewardLimbActivity = int.Parse(cboZTHDD.Text); | ||||||
|  |             cboSteward.Text = (StewardSober + StewardBreathing + StewardLimbActivity).ToString(); | ||||||
|  |         } | ||||||
|  |     } | ||||||
|  | } | ||||||
							
								
								
									
										1184
									
								
								AIMS/OperationDoing/AnasRecordBill/frmOperationInfoNew2.designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										1184
									
								
								AIMS/OperationDoing/AnasRecordBill/frmOperationInfoNew2.designer.cs
									
									
									
										generated
									
									
									
										Normal file
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										411
									
								
								AIMS/OperationDoing/AnasRecordBill/frmOperationInfoNew2.resx
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										411
									
								
								AIMS/OperationDoing/AnasRecordBill/frmOperationInfoNew2.resx
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,411 @@ | |||||||
|  | <?xml version="1.0" encoding="utf-8"?> | ||||||
|  | <root> | ||||||
|  |   <!--  | ||||||
|  |     Microsoft ResX Schema  | ||||||
|  |      | ||||||
|  |     Version 2.0 | ||||||
|  |      | ||||||
|  |     The primary goals of this format is to allow a simple XML format  | ||||||
|  |     that is mostly human readable. The generation and parsing of the  | ||||||
|  |     various data types are done through the TypeConverter classes  | ||||||
|  |     associated with the data types. | ||||||
|  |      | ||||||
|  |     Example: | ||||||
|  |      | ||||||
|  |     ... ado.net/XML headers & schema ... | ||||||
|  |     <resheader name="resmimetype">text/microsoft-resx</resheader> | ||||||
|  |     <resheader name="version">2.0</resheader> | ||||||
|  |     <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> | ||||||
|  |     <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> | ||||||
|  |     <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> | ||||||
|  |     <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> | ||||||
|  |     <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> | ||||||
|  |         <value>[base64 mime encoded serialized .NET Framework object]</value> | ||||||
|  |     </data> | ||||||
|  |     <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |         <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> | ||||||
|  |         <comment>This is a comment</comment> | ||||||
|  |     </data> | ||||||
|  |                  | ||||||
|  |     There are any number of "resheader" rows that contain simple  | ||||||
|  |     name/value pairs. | ||||||
|  |      | ||||||
|  |     Each data row contains a name, and value. The row also contains a  | ||||||
|  |     type or mimetype. Type corresponds to a .NET class that support  | ||||||
|  |     text/value conversion through the TypeConverter architecture.  | ||||||
|  |     Classes that don't support this are serialized and stored with the  | ||||||
|  |     mimetype set. | ||||||
|  |      | ||||||
|  |     The mimetype is used for serialized objects, and tells the  | ||||||
|  |     ResXResourceReader how to depersist the object. This is currently not  | ||||||
|  |     extensible. For a given mimetype the value must be set accordingly: | ||||||
|  |      | ||||||
|  |     Note - application/x-microsoft.net.object.binary.base64 is the format  | ||||||
|  |     that the ResXResourceWriter will generate, however the reader can  | ||||||
|  |     read any of the formats listed below. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.binary.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |      | ||||||
|  |     mimetype: application/x-microsoft.net.object.soap.base64 | ||||||
|  |     value   : The object must be serialized with  | ||||||
|  |             : System.Runtime.Serialization.Formatters.Soap.SoapFormatter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  | 
 | ||||||
|  |     mimetype: application/x-microsoft.net.object.bytearray.base64 | ||||||
|  |     value   : The object must be serialized into a byte array  | ||||||
|  |             : using a System.ComponentModel.TypeConverter | ||||||
|  |             : and then encoded with base64 encoding. | ||||||
|  |     --> | ||||||
|  |   <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> | ||||||
|  |     <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> | ||||||
|  |     <xsd:element name="root" msdata:IsDataSet="true"> | ||||||
|  |       <xsd:complexType> | ||||||
|  |         <xsd:choice maxOccurs="unbounded"> | ||||||
|  |           <xsd:element name="metadata"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" use="required" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="assembly"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:attribute name="alias" type="xsd:string" /> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="data"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |                 <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> | ||||||
|  |               <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> | ||||||
|  |               <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> | ||||||
|  |               <xsd:attribute ref="xml:space" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |           <xsd:element name="resheader"> | ||||||
|  |             <xsd:complexType> | ||||||
|  |               <xsd:sequence> | ||||||
|  |                 <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> | ||||||
|  |               </xsd:sequence> | ||||||
|  |               <xsd:attribute name="name" type="xsd:string" use="required" /> | ||||||
|  |             </xsd:complexType> | ||||||
|  |           </xsd:element> | ||||||
|  |         </xsd:choice> | ||||||
|  |       </xsd:complexType> | ||||||
|  |     </xsd:element> | ||||||
|  |   </xsd:schema> | ||||||
|  |   <resheader name="resmimetype"> | ||||||
|  |     <value>text/microsoft-resx</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="version"> | ||||||
|  |     <value>2.0</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="reader"> | ||||||
|  |     <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <resheader name="writer"> | ||||||
|  |     <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> | ||||||
|  |   </resheader> | ||||||
|  |   <metadata name="$this.TrayHeight" type="System.Int32, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"> | ||||||
|  |     <value>49</value> | ||||||
|  |   </metadata> | ||||||
|  |   <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> | ||||||
|  |   <data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> | ||||||
|  |     <value> | ||||||
|  |         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= | ||||||
|  | </value> | ||||||
|  |   </data> | ||||||
|  | </root> | ||||||
| @ -124,7 +124,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|             if (!txtType.Text.Contains("急")) txtType.ForeColor = Color.DarkGreen; |             if (!txtType.Text.Contains("急")) txtType.ForeColor = Color.DarkGreen; | ||||||
|             else txtType.ForeColor = Color.Red; |             else txtType.ForeColor = Color.Red; | ||||||
|             txtState.Text = dr["State"].ToString(); |             txtState.Text = dr["State"].ToString(); | ||||||
|             if (txtState.Text == "手术中" || txtState.Text == "手术结束") |             if (txtState.Text == "手术中" || txtState.Text == "手术结束" || txtState.Text == "停止手术") | ||||||
|             { |             { | ||||||
|                 label5.Text = "手术开始时间"; |                 label5.Text = "手术开始时间"; | ||||||
|                 label23.Text = "术中诊断"; |                 label23.Text = "术中诊断"; | ||||||
| @ -293,7 +293,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|                         { |                         { | ||||||
|                             HelperDB.DbHelperSQL.BeginTrans(); |                             HelperDB.DbHelperSQL.BeginTrans(); | ||||||
|                             BOperationApply.UpdateApplyState(applyId, 6); |                             BOperationApply.UpdateApplyState(applyId, 6); | ||||||
|                             BOperationRecord.UpdateState(PatientId, 1, 1); |                             BOperationRecord.UpdateOpeState(PatientId, 1, 1, ""); | ||||||
|                             BOperationRecord.DeleteEvent(PatientId, 8); |                             BOperationRecord.DeleteEvent(PatientId, 8); | ||||||
|                             HelperDB.DbHelperSQL.CommitTrans(); |                             HelperDB.DbHelperSQL.CommitTrans(); | ||||||
| 
 | 
 | ||||||
|  | |||||||
| @ -71,6 +71,10 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|                 uc.QxRoom += Uc_QxRoom; |                 uc.QxRoom += Uc_QxRoom; | ||||||
|                 uc.Clicks += Uc_Clicks; |                 uc.Clicks += Uc_Clicks; | ||||||
|                 uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30); |                 uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30); | ||||||
|  |                 if (uc.lblAnesDoctors.Text == "麻醉医生:" || uc.lblAnesDoctors.Text.Trim() == "麻醉医生")  | ||||||
|  |                     uc.buttonX1.Enabled = true;  | ||||||
|  |                 else  | ||||||
|  |                     uc.buttonX1.Enabled = false;   | ||||||
|                 panel3.Controls.Add(uc); |                 panel3.Controls.Add(uc); | ||||||
|                 j++; |                 j++; | ||||||
|                 if (j == 5) |                 if (j == 5) | ||||||
| @ -87,11 +91,15 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|             foreach (DataRow dr in dt2.Rows) |             foreach (DataRow dr in dt2.Rows) | ||||||
|             { |             { | ||||||
|                 ucPatientCard uc = new ucPatientCard(dr); |                 ucPatientCard uc = new ucPatientCard(dr); | ||||||
|                 uc.buttonX1.Text = "查看记录"; |                 uc.buttonX1.Text = "器械清点"; | ||||||
|                 uc.buttonX2.Visible = true; |                 uc.buttonX2.Visible = true; | ||||||
|                 uc.InRoom += Uc_InRoom; |                 uc.InRoom += Uc_InRoom; | ||||||
|                 uc.QxRoom += Uc_QxRoom; |                 uc.QxRoom += Uc_QxRoom; | ||||||
|                 uc.Clicks += Uc_Clicks; |                 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); |                 uc.Location = new Point((uc.Width + 9) * j, (uc.Height + 10) * i + 30); | ||||||
|                 panel3.Controls.Add(uc); |                 panel3.Controls.Add(uc); | ||||||
|                 j++; |                 j++; | ||||||
| @ -208,7 +216,7 @@ namespace AIMS.OperationDoing.AnasRecordBill.UI | |||||||
|                     SelectPatient.UpdateApplyState(PatientId, applyId); //修改状态 |                     SelectPatient.UpdateApplyState(PatientId, applyId); //修改状态 | ||||||
| 
 | 
 | ||||||
|                     uc.label2.Text = "状态:手术中"; |                     uc.label2.Text = "状态:手术中"; | ||||||
|                     uc.buttonX1.Text = "查看记录"; |                     uc.buttonX1.Text = "器械清点"; | ||||||
|                     uc.buttonX2.Text = "取消手术"; |                     uc.buttonX2.Text = "取消手术"; | ||||||
|                     uc.buttonX1.Visible = true; |                     uc.buttonX1.Visible = true; | ||||||
|                     uc.buttonX2.Visible = true; |                     uc.buttonX2.Visible = true; | ||||||
|  | |||||||
| @ -3776,7 +3776,7 @@ namespace AIMS.OperationFront.UI | |||||||
|                 if (RoomCardManage.SelectDgv.Name == "dgvApplyOrDoctor") |                 if (RoomCardManage.SelectDgv.Name == "dgvApplyOrDoctor") | ||||||
|                 { |                 { | ||||||
|                     LoadSelectDate(txtQuery.Text.Trim()); |                     LoadSelectDate(txtQuery.Text.Trim()); | ||||||
|                     lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; |                     //lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; | ||||||
|                 } |                 } | ||||||
|                 else FullWorkerDgv(""); |                 else FullWorkerDgv(""); | ||||||
| 
 | 
 | ||||||
| @ -3786,6 +3786,8 @@ namespace AIMS.OperationFront.UI | |||||||
|                 } |                 } | ||||||
|                 else |                 else | ||||||
|                     LoadOperationInfo(_operoom.Id.Value); |                     LoadOperationInfo(_operoom.Id.Value); | ||||||
|  |                 if (RoomCardManage.lastSelectOpeRoom != null) | ||||||
|  |                     RoomCardManage.lastSelectOpeRoom.ShowDetial(RoomCardManage.lastSelectOpeRoom); | ||||||
|             } |             } | ||||||
|             catch (Exception ex) |             catch (Exception ex) | ||||||
|             { |             { | ||||||
| @ -3866,9 +3868,9 @@ namespace AIMS.OperationFront.UI | |||||||
|             else |             else | ||||||
|                 Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "State IN ('已审核') and  (OperationDoctor LIKE  '%" + selname + "%' or OperationDoctorcode LIKE  '%" + selname + "%' ) ", ""); |                 Newdt = AIMSExtension.PublicMethod.GetNewDataTable(NowPatientDataTable, "State IN ('已审核') and  (OperationDoctor LIKE  '%" + selname + "%' or OperationDoctorcode LIKE  '%" + selname + "%' ) ", ""); | ||||||
| 
 | 
 | ||||||
|             RoomCardManage.SelectDgv.AutoGenerateColumns = false; |             dgvApplyOrDoctor.AutoGenerateColumns = false; | ||||||
|             RoomCardManage.SelectDgv.DataSource = Newdt; |             dgvApplyOrDoctor.DataSource = Newdt; | ||||||
|             foreach (DataGridViewRow item in RoomCardManage.SelectDgv.Rows) |             foreach (DataGridViewRow item in dgvApplyOrDoctor.Rows) | ||||||
|             { |             { | ||||||
|                 if (item.Cells["OperationType"].Value != null && item.Cells["OperationType"].Value.ToString() == "急诊") |                 if (item.Cells["OperationType"].Value != null && item.Cells["OperationType"].Value.ToString() == "急诊") | ||||||
|                 { |                 { | ||||||
| @ -3883,7 +3885,7 @@ namespace AIMS.OperationFront.UI | |||||||
|                     item.DefaultCellStyle.BackColor = Color.Purple; |                     item.DefaultCellStyle.BackColor = Color.Purple; | ||||||
|                 } |                 } | ||||||
|             } |             } | ||||||
|             RoomCardManage.SelectDgv.ClearSelection(); |             dgvApplyOrDoctor.ClearSelection(); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         #endregion |         #endregion | ||||||
| @ -3896,14 +3898,14 @@ namespace AIMS.OperationFront.UI | |||||||
|             RoomCardManage.lastSelectOpeRoom = null; |             RoomCardManage.lastSelectOpeRoom = null; | ||||||
|             LoadSelectDate(txtQuery.Text.Trim()); |             LoadSelectDate(txtQuery.Text.Trim()); | ||||||
|             LoadOperationInfo(); |             LoadOperationInfo(); | ||||||
|             lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; |             //lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         private void txtQuery_TextChanged(object sender, EventArgs e) |         private void txtQuery_TextChanged(object sender, EventArgs e) | ||||||
|         { |         { | ||||||
|             RoomCardManage.SelectDgv = dgvApplyOrDoctor; |             RoomCardManage.SelectDgv = dgvApplyOrDoctor; | ||||||
|             LoadSelectDate(txtQuery.Text.Trim()); |             LoadSelectDate(txtQuery.Text.Trim()); | ||||||
|             lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; |             //lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + "条"; | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         private void btnBeforeDay_Click(object sender, EventArgs e) |         private void btnBeforeDay_Click(object sender, EventArgs e) | ||||||
| @ -4209,7 +4211,6 @@ namespace AIMS.OperationFront.UI | |||||||
|         #endregion |         #endregion | ||||||
| 
 | 
 | ||||||
|         #region 选择申请或人员  |         #region 选择申请或人员  | ||||||
|         public bool isClick = false; |  | ||||||
|         private void dgvApplyOrDoctor_CellDoubleClick(object sender, DataGridViewCellEventArgs e) |         private void dgvApplyOrDoctor_CellDoubleClick(object sender, DataGridViewCellEventArgs e) | ||||||
|         { |         { | ||||||
|             if (RoomCardManage.lastSelectOpeRoom == null) return; |             if (RoomCardManage.lastSelectOpeRoom == null) return; | ||||||
| @ -4231,32 +4232,37 @@ namespace AIMS.OperationFront.UI | |||||||
|                 LoadOperationInfo(CurrentRoom); |                 LoadOperationInfo(CurrentRoom); | ||||||
|                 //dgvApplyOrDoctor.Rows.RemoveAt(dgvApplyOrDoctor.CurrentRow.Index); |                 //dgvApplyOrDoctor.Rows.RemoveAt(dgvApplyOrDoctor.CurrentRow.Index); | ||||||
|                 RoomCardManage.SelectIds = new List<int>(); |                 RoomCardManage.SelectIds = new List<int>(); | ||||||
|  |                 for (int i = dgvApplyOrDoctor.Rows.Count - 1; i >= 0; i--) | ||||||
|  |                 { | ||||||
|  |                     DataGridViewCell senderdgvr = dgvApplyOrDoctor.Rows[i].Cells[0]; | ||||||
|  |                     if (senderdgvr.EditedFormattedValue.ToString() == "True") | ||||||
|  |                     { | ||||||
|  |                         string outMsg = string.Format("患者:{0} 手术:{1} --> {2}成功!", dgvApplyOrDoctor.Rows[i].Cells["PatientName"].Value, dgvApplyOrDoctor.Rows[i].Cells["Operation"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); | ||||||
|  |                         RoomCardManage.WriteMsg(rtbLog, outMsg); | ||||||
|  |                         dgvApplyOrDoctor.Rows.RemoveAt(senderdgvr.RowIndex); | ||||||
|  |                     } | ||||||
|  | 
 | ||||||
|  |                 } | ||||||
|                 foreach (DataGridViewRow item in dgvApplyOrDoctor.Rows) |                 foreach (DataGridViewRow item in dgvApplyOrDoctor.Rows) | ||||||
|                 { |                 { | ||||||
|                     if (item.Displayed == true) |                     if (item.Displayed == true) | ||||||
|                         rowIndexLastDisplayed = item.Index; |                         rowIndexLastDisplayed = item.Index; | ||||||
| 
 | 
 | ||||||
|                     DataGridViewCell senderdgvr = item.Cells[0]; |                     DataGridViewCell senderdgvr = item.Cells[0]; | ||||||
|                     if (senderdgvr.EditedFormattedValue.ToString() == "True") |  | ||||||
|                     { |  | ||||||
|                         string outMsg = string.Format("患者:{0} 手术:{1} --> {2}成功!", item.Cells["PatientName"].Value, item.Cells["Operation"].Value, RoomCardManage.lastSelectOpeRoom.operationRoom.Name); |  | ||||||
|                         RoomCardManage.WriteMsg(rtbLog, outMsg); |  | ||||||
|                         dgvApplyOrDoctor.Rows.RemoveAt(senderdgvr.RowIndex); |  | ||||||
|                     } |  | ||||||
|                     senderdgvr.Value = false; |                     senderdgvr.Value = false; | ||||||
|                     isClick = true; |  | ||||||
|                 } |                 } | ||||||
|                 RoomCardManage.lastSelectOpeRoom.ShowDetial(RoomCardManage.lastSelectOpeRoom); |                 RoomCardManage.lastSelectOpeRoom.ShowDetial(RoomCardManage.lastSelectOpeRoom); | ||||||
|                 //manager.OnDataSaved(null, manager.lastSelectOpeRoom.OpeRoom, true, 1); |                 //manager.OnDataSaved(null, manager.lastSelectOpeRoom.OpeRoom, true, 1); | ||||||
|                 lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + (OpeCount++) + "条"; |                 //lblcount.Text = "当前" + dgvApplyOrDoctor.Rows.Count + "\\" + (OpeCount++) + "条"; | ||||||
|             } |             } | ||||||
| 
 | 
 | ||||||
|             #region 选中下一条手术申请并让其可见 |             #region 选中下一条手术申请并让其可见 | ||||||
|             if (rowIndex >= dgvApplyOrDoctor.Rows.Count) |             if (rowIndex >= dgvApplyOrDoctor.Rows.Count) | ||||||
|             { |             { | ||||||
|                 rowIndex = dgvApplyOrDoctor.Rows.Count; |                 rowIndex = dgvApplyOrDoctor.Rows.Count - 1; | ||||||
|                 rowIndexLastDisplayed = rowIndex; |                 rowIndexLastDisplayed = rowIndex; | ||||||
|             } |             } | ||||||
|  |             //增加判断dgvApplyOrDoctor.Rows.Count>0 | ||||||
|             if (rowIndex >= 0 && dgvApplyOrDoctor.Rows.Count > 0) |             if (rowIndex >= 0 && dgvApplyOrDoctor.Rows.Count > 0) | ||||||
|             { |             { | ||||||
|                 dgvApplyOrDoctor.Rows[rowIndex].Selected = true; |                 dgvApplyOrDoctor.Rows[rowIndex].Selected = true; | ||||||
| @ -4386,6 +4392,7 @@ namespace AIMS.OperationFront.UI | |||||||
|             grCurrentSub = (GridRow)e.GridCell.GridRow; |             grCurrentSub = (GridRow)e.GridCell.GridRow; | ||||||
|             int iRowID = int.Parse(grCurrentSub.Cells["Id"].Value.ToString()); |             int iRowID = int.Parse(grCurrentSub.Cells["Id"].Value.ToString()); | ||||||
|             selApply = iRowID.ToString(); |             selApply = iRowID.ToString(); | ||||||
|  |             RoomCardManage.IsFillAll = false; | ||||||
|             if (e.GridCell.Value != null) |             if (e.GridCell.Value != null) | ||||||
|             { |             { | ||||||
|                 if (e.GridCell.Value.ToString() == "Χ") |                 if (e.GridCell.Value.ToString() == "Χ") | ||||||
| @ -4439,7 +4446,7 @@ namespace AIMS.OperationFront.UI | |||||||
|                     #region 麻醉医生保存   |                     #region 麻醉医生保存   | ||||||
|                     foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) |                     foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) | ||||||
|                     { |                     { | ||||||
|                         //if (IsFillAll == true || item["ApplyID"].ToString() == selApply) |                         if (RoomCardManage.IsFillAll == true || item["ApplyID"].ToString() == selApply) | ||||||
|                             iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); |                             iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); | ||||||
|                     } |                     } | ||||||
|                     if (iRet != -1) |                     if (iRet != -1) | ||||||
| @ -4453,7 +4460,7 @@ namespace AIMS.OperationFront.UI | |||||||
|                     { |                     { | ||||||
|                         foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) |                         foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) | ||||||
|                         { |                         { | ||||||
|                             //if (IsFillAll == true || item["ApplyID"].ToString() == selApply) |                             if (RoomCardManage.IsFillAll == true || item["ApplyID"].ToString() == selApply) | ||||||
|                                 iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); |                                 iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); | ||||||
|                         } |                         } | ||||||
|                         if (iRet != -1) |                         if (iRet != -1) | ||||||
| @ -4463,7 +4470,7 @@ namespace AIMS.OperationFront.UI | |||||||
|                     { |                     { | ||||||
|                         foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) |                         foreach (DataRow item in RoomCardManage.lastSelectOpeRoom.pDataTable.Rows) | ||||||
|                         { |                         { | ||||||
|                             //if (IsFillAll == true || item["ApplyID"].ToString() == selApply) |                             if (RoomCardManage.IsFillAll == true || item["ApplyID"].ToString() == selApply) | ||||||
|                                 iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); |                                 iRet = SaveAnasDoctor(int.Parse(item["ApplyID"].ToString()), DoctorNures); | ||||||
|                         } |                         } | ||||||
|                         if (iRet != -1) |                         if (iRet != -1) | ||||||
| @ -4559,6 +4566,35 @@ namespace AIMS.OperationFront.UI | |||||||
| 
 | 
 | ||||||
|         private void sgcDetail_ColumnHeaderClick(object sender, GridColumnHeaderClickEventArgs e) |         private void sgcDetail_ColumnHeaderClick(object sender, GridColumnHeaderClickEventArgs e) | ||||||
|         { |         { | ||||||
|  |             if (lstOrderStr.Contains(e.GridColumn.HeaderText)) | ||||||
|  |             { | ||||||
|  |                 RoomCardManage.CallObjectEvent(buttonItem1, "OnClick"); | ||||||
|  |                 buttonItemApply_Click(buttonItem1, new EventArgs()); | ||||||
|  |                 //setCellBackground(0); | ||||||
|  |             } | ||||||
|  |             else if (e.GridColumn.HeaderText == "麻醉医生") | ||||||
|  |             { | ||||||
|  |                 e.GridColumn.AllowSelection = true; | ||||||
|  |                 RoomCardManage.CallObjectEvent(buttonItemAnas, "OnClick"); | ||||||
|  |                 buttonItemDoctor_Click(buttonItemAnas, new EventArgs()); | ||||||
|  |                 RoomCardManage.IsFillAll = true; | ||||||
|  |                 //setCellBackground(e.GridColumn.ColumnIndex); | ||||||
|  |             } | ||||||
|  |             else if (e.GridColumn.HeaderText == "洗手护士") | ||||||
|  |             { | ||||||
|  |                 RoomCardManage.CallObjectEvent(buttonInstrumentNurse, "OnClick"); | ||||||
|  |                 buttonInstrumentNurse_Click(buttonInstrumentNurse, new EventArgs()); | ||||||
|  |                 RoomCardManage.IsFillAll = true; | ||||||
|  |                 //setCellBackground(e.GridColumn.ColumnIndex);  | ||||||
|  |             } | ||||||
|  |             else if (e.GridColumn.HeaderText == "巡回护士") | ||||||
|  |             { | ||||||
|  |                 RoomCardManage.CallObjectEvent(buttonItemTourNurse, "OnClick"); | ||||||
|  |                 buttonItemTourNurse_Click(buttonItemTourNurse, new EventArgs()); | ||||||
|  |                 RoomCardManage.IsFillAll = true; | ||||||
|  |                 //setCellBackground(e.GridColumn.ColumnIndex); | ||||||
|  |             } | ||||||
|  | 
 | ||||||
|         } |         } | ||||||
|         private void dgvApplyOrDoctor_CellClick(object sender, DataGridViewCellEventArgs e) |         private void dgvApplyOrDoctor_CellClick(object sender, DataGridViewCellEventArgs e) | ||||||
|         { |         { | ||||||
|  | |||||||
							
								
								
									
										5
									
								
								AIMS/OperationFront/frmStopOperation.Designer.cs
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										5
									
								
								AIMS/OperationFront/frmStopOperation.Designer.cs
									
									
									
										generated
									
									
									
								
							| @ -81,6 +81,7 @@ | |||||||
|             // txtContent |             // txtContent | ||||||
|             //  |             //  | ||||||
|             this.txtContent.Dock = System.Windows.Forms.DockStyle.Fill; |             this.txtContent.Dock = System.Windows.Forms.DockStyle.Fill; | ||||||
|  |             this.txtContent.Font = new System.Drawing.Font("宋体", 10.5F); | ||||||
|             this.txtContent.Location = new System.Drawing.Point(0, 49); |             this.txtContent.Location = new System.Drawing.Point(0, 49); | ||||||
|             this.txtContent.Multiline = true; |             this.txtContent.Multiline = true; | ||||||
|             this.txtContent.Name = "txtContent"; |             this.txtContent.Name = "txtContent"; | ||||||
| @ -108,9 +109,9 @@ | |||||||
|         #endregion |         #endregion | ||||||
| 
 | 
 | ||||||
|         private System.Windows.Forms.ToolStrip toolStrip1; |         private System.Windows.Forms.ToolStrip toolStrip1; | ||||||
|         private System.Windows.Forms.ToolStripButton tsbCancel; |  | ||||||
|         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; |         private System.Windows.Forms.ToolStripSeparator toolStripSeparator1; | ||||||
|         private System.Windows.Forms.ToolStripButton tsbExit; |         private System.Windows.Forms.ToolStripButton tsbExit; | ||||||
|         private System.Windows.Forms.TextBox txtContent; |         public System.Windows.Forms.ToolStripButton tsbCancel; | ||||||
|  |         public System.Windows.Forms.TextBox txtContent; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| @ -33,6 +33,8 @@ namespace AIMS.OperationFront.UI | |||||||
|                     return; |                     return; | ||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|  |                 if (tsbCancel.Text == " 停止申请") | ||||||
|  |                 { | ||||||
|                     try |                     try | ||||||
|                     { |                     { | ||||||
|                         for (int i = 0; i < ApplyIdList.Count; i++) |                         for (int i = 0; i < ApplyIdList.Count; i++) | ||||||
| @ -48,6 +50,11 @@ namespace AIMS.OperationFront.UI | |||||||
|                         MessageBox.Show("停止失败!" + ex.Message); |                         MessageBox.Show("停止失败!" + ex.Message); | ||||||
|                     } |                     } | ||||||
|                 } |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     this.DialogResult = System.Windows.Forms.DialogResult.OK; | ||||||
|  |                 } | ||||||
|  |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         private void tsbExit_Click(object sender, EventArgs e) |         private void tsbExit_Click(object sender, EventArgs e) | ||||||
|  | |||||||
| @ -16,6 +16,7 @@ namespace AIMS.OremrUserControl | |||||||
|         public static List<int> SelectIds = new List<int>(); |         public static List<int> SelectIds = new List<int>(); | ||||||
|         public static DataGridView SelectDgv; |         public static DataGridView SelectDgv; | ||||||
|         public static ucPlanOperationRoomCard lastSelectOpeRoom; |         public static ucPlanOperationRoomCard lastSelectOpeRoom; | ||||||
|  |         public static bool IsFillAll = false; | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
|         public static Action<ucPlanOperationRoomCard, OperationRoom, bool, int> OnDataSaved; |         public static Action<ucPlanOperationRoomCard, OperationRoom, bool, int> OnDataSaved; | ||||||
|  | |||||||
| @ -75,6 +75,12 @@ namespace AIMS.OremrUserControl | |||||||
|                 buttonX2.Visible = false; |                 buttonX2.Visible = false; | ||||||
|                 label2.Text = "状态:未排程"; |                 label2.Text = "状态:未排程"; | ||||||
|             } |             } | ||||||
|  |             else if (dr["State"].ToString() == "停止手术") | ||||||
|  |             { | ||||||
|  |                 this.BackColor = Color.MistyRose; | ||||||
|  |                 buttonX1.Text = "查看手术"; | ||||||
|  |                 buttonX2.Text = "返回手术"; | ||||||
|  |             } | ||||||
|             else |             else | ||||||
|             { |             { | ||||||
|                 this.BackColor = Color.Honeydew; |                 this.BackColor = Color.Honeydew; | ||||||
|  | |||||||
| @ -54,7 +54,7 @@ | |||||||
|             this.panel1.Dock = System.Windows.Forms.DockStyle.Top; |             this.panel1.Dock = System.Windows.Forms.DockStyle.Top; | ||||||
|             this.panel1.Location = new System.Drawing.Point(0, 0); |             this.panel1.Location = new System.Drawing.Point(0, 0); | ||||||
|             this.panel1.Name = "panel1"; |             this.panel1.Name = "panel1"; | ||||||
|             this.panel1.Size = new System.Drawing.Size(200, 37); |             this.panel1.Size = new System.Drawing.Size(196, 37); | ||||||
|             this.panel1.TabIndex = 0; |             this.panel1.TabIndex = 0; | ||||||
|             this.panel1.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); |             this.panel1.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); | ||||||
|             //  |             //  | ||||||
| @ -133,7 +133,7 @@ | |||||||
|             this.lblNurse2.Location = new System.Drawing.Point(0, 88); |             this.lblNurse2.Location = new System.Drawing.Point(0, 88); | ||||||
|             this.lblNurse2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |             this.lblNurse2.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); | ||||||
|             this.lblNurse2.Name = "lblNurse2"; |             this.lblNurse2.Name = "lblNurse2"; | ||||||
|             this.lblNurse2.Size = new System.Drawing.Size(200, 17); |             this.lblNurse2.Size = new System.Drawing.Size(196, 17); | ||||||
|             this.lblNurse2.TabIndex = 7; |             this.lblNurse2.TabIndex = 7; | ||||||
|             this.lblNurse2.Text = "巡回护士"; |             this.lblNurse2.Text = "巡回护士"; | ||||||
|             this.lblNurse2.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); |             this.lblNurse2.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); | ||||||
| @ -146,7 +146,7 @@ | |||||||
|             this.lblNurse.Location = new System.Drawing.Point(0, 71); |             this.lblNurse.Location = new System.Drawing.Point(0, 71); | ||||||
|             this.lblNurse.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |             this.lblNurse.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); | ||||||
|             this.lblNurse.Name = "lblNurse"; |             this.lblNurse.Name = "lblNurse"; | ||||||
|             this.lblNurse.Size = new System.Drawing.Size(200, 17); |             this.lblNurse.Size = new System.Drawing.Size(196, 17); | ||||||
|             this.lblNurse.TabIndex = 6; |             this.lblNurse.TabIndex = 6; | ||||||
|             this.lblNurse.Text = "洗手护士"; |             this.lblNurse.Text = "洗手护士"; | ||||||
|             this.lblNurse.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); |             this.lblNurse.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); | ||||||
| @ -159,7 +159,7 @@ | |||||||
|             this.lblAnesDoctors.Location = new System.Drawing.Point(0, 54); |             this.lblAnesDoctors.Location = new System.Drawing.Point(0, 54); | ||||||
|             this.lblAnesDoctors.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |             this.lblAnesDoctors.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); | ||||||
|             this.lblAnesDoctors.Name = "lblAnesDoctors"; |             this.lblAnesDoctors.Name = "lblAnesDoctors"; | ||||||
|             this.lblAnesDoctors.Size = new System.Drawing.Size(200, 17); |             this.lblAnesDoctors.Size = new System.Drawing.Size(196, 17); | ||||||
|             this.lblAnesDoctors.TabIndex = 5; |             this.lblAnesDoctors.TabIndex = 5; | ||||||
|             this.lblAnesDoctors.Text = "麻醉医生"; |             this.lblAnesDoctors.Text = "麻醉医生"; | ||||||
|             this.lblAnesDoctors.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); |             this.lblAnesDoctors.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); | ||||||
| @ -172,7 +172,7 @@ | |||||||
|             this.lblOpeDoctors.Location = new System.Drawing.Point(0, 37); |             this.lblOpeDoctors.Location = new System.Drawing.Point(0, 37); | ||||||
|             this.lblOpeDoctors.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); |             this.lblOpeDoctors.Margin = new System.Windows.Forms.Padding(3, 2, 3, 2); | ||||||
|             this.lblOpeDoctors.Name = "lblOpeDoctors"; |             this.lblOpeDoctors.Name = "lblOpeDoctors"; | ||||||
|             this.lblOpeDoctors.Size = new System.Drawing.Size(200, 17); |             this.lblOpeDoctors.Size = new System.Drawing.Size(196, 17); | ||||||
|             this.lblOpeDoctors.TabIndex = 4; |             this.lblOpeDoctors.TabIndex = 4; | ||||||
|             this.lblOpeDoctors.Text = "手术医生"; |             this.lblOpeDoctors.Text = "手术医生"; | ||||||
|             this.lblOpeDoctors.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); |             this.lblOpeDoctors.Click += new System.EventHandler(this.UcPlanOperationRoomCard_Click); | ||||||
| @ -181,13 +181,14 @@ | |||||||
|             //  |             //  | ||||||
|             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; |             this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.None; | ||||||
|             this.BackColor = System.Drawing.SystemColors.GradientActiveCaption; |             this.BackColor = System.Drawing.SystemColors.GradientActiveCaption; | ||||||
|  |             this.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D; | ||||||
|             this.Controls.Add(this.lblNurse2); |             this.Controls.Add(this.lblNurse2); | ||||||
|             this.Controls.Add(this.lblNurse); |             this.Controls.Add(this.lblNurse); | ||||||
|             this.Controls.Add(this.lblAnesDoctors); |             this.Controls.Add(this.lblAnesDoctors); | ||||||
|             this.Controls.Add(this.lblOpeDoctors); |             this.Controls.Add(this.lblOpeDoctors); | ||||||
|             this.Controls.Add(this.panel1); |             this.Controls.Add(this.panel1); | ||||||
|             this.Name = "ucPlanOperationRoomCard"; |             this.Name = "ucPlanOperationRoomCard"; | ||||||
|             this.Size = new System.Drawing.Size(200, 110); |             this.Size = new System.Drawing.Size(196, 106); | ||||||
|             this.Load += new System.EventHandler(this.ucPlanOperationRoomCard_Load); |             this.Load += new System.EventHandler(this.ucPlanOperationRoomCard_Load); | ||||||
|             this.panel1.ResumeLayout(false); |             this.panel1.ResumeLayout(false); | ||||||
|             this.contextMenuStrip1.ResumeLayout(false); |             this.contextMenuStrip1.ResumeLayout(false); | ||||||
|  | |||||||
| @ -31,39 +31,38 @@ namespace AIMS.OremrUserControl | |||||||
|         { |         { | ||||||
|             InitializeComponent(); |             InitializeComponent(); | ||||||
|         } |         } | ||||||
|         private void SetWindowRegion() |         //private void SetWindowRegion() | ||||||
|         { |         //{ | ||||||
|             GraphicsPath FormPath = new GraphicsPath(); |         //    GraphicsPath FormPath = new GraphicsPath(); | ||||||
|             Rectangle rect = new Rectangle(0, 4, this.Width, this.Height - 4); |         //    Rectangle rect = new Rectangle(0, 4, this.Width, this.Height - 4); | ||||||
|             FormPath = GetRoundedRectPath(rect, 10); |         //    FormPath = GetRoundedRectPath(rect, 10); | ||||||
|             this.Region = new Region(FormPath); |         //    this.Region = new Region(FormPath); | ||||||
| 
 | 
 | ||||||
|         } |         //} | ||||||
|         private GraphicsPath GetRoundedRectPath(Rectangle rect, int radius) |         //private GraphicsPath GetRoundedRectPath(Rectangle rect, int radius) | ||||||
|         { |         //{ | ||||||
|             int diameter = radius; |         //    int diameter = radius; | ||||||
|             Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter)); |         //    Rectangle arcRect = new Rectangle(rect.Location, new Size(diameter, diameter)); | ||||||
|             GraphicsPath path = new GraphicsPath(); |         //    GraphicsPath path = new GraphicsPath(); | ||||||
|             //左上角 |         //    //左上角 | ||||||
|             path.AddArc(arcRect, 180, 90); |         //    path.AddArc(arcRect, 180, 90); | ||||||
|             //右上角 |         //    //右上角 | ||||||
|             arcRect.X = rect.Right - diameter; |         //    arcRect.X = rect.Right - diameter; | ||||||
|             path.AddArc(arcRect, 270, 90); |         //    path.AddArc(arcRect, 270, 90); | ||||||
|             //右下角 |         //    //右下角 | ||||||
|             arcRect.Y = rect.Bottom - diameter; |         //    arcRect.Y = rect.Bottom - diameter; | ||||||
|             path.AddArc(arcRect, 0, 90); |         //    path.AddArc(arcRect, 0, 90); | ||||||
|             //左下角 |         //    //左下角 | ||||||
|             arcRect.X = rect.Left; |         //    arcRect.X = rect.Left; | ||||||
|             path.AddArc(arcRect, 90, 90); |         //    path.AddArc(arcRect, 90, 90); | ||||||
|             path.CloseFigure(); |         //    path.CloseFigure(); | ||||||
|             return path; |         //    return path;  | ||||||
| 
 |         //} | ||||||
|         } |         //protected override void OnResize(System.EventArgs e) | ||||||
|         protected override void OnResize(System.EventArgs e) |         //{ | ||||||
|         { |         //    this.Region = null; | ||||||
|             this.Region = null; |         //    SetWindowRegion(); | ||||||
|             SetWindowRegion(); |         //} | ||||||
|         } |  | ||||||
|         public ucPlanOperationRoomCard(OperationRoom _operationRoom, List<OperationRoom> _operationRooms) |         public ucPlanOperationRoomCard(OperationRoom _operationRoom, List<OperationRoom> _operationRooms) | ||||||
|         { |         { | ||||||
|             InitializeComponent(); |             InitializeComponent(); | ||||||
| @ -95,9 +94,10 @@ namespace AIMS.OremrUserControl | |||||||
|                 if (operationRoomClicked != RoomCardManage.lastSelectOpeRoom) |                 if (operationRoomClicked != RoomCardManage.lastSelectOpeRoom) | ||||||
|                 { |                 { | ||||||
|                     if (RoomCardManage.lastSelectOpeRoom != null) |                     if (RoomCardManage.lastSelectOpeRoom != null) | ||||||
|                         RoomCardManage.lastSelectOpeRoom.BackColor = Color.Transparent; |                         RoomCardManage.lastSelectOpeRoom.BackColor = System.Drawing.SystemColors.GradientActiveCaption; | ||||||
|                     operationRoomClicked.BackColor = Color.Khaki; |                     operationRoomClicked.BackColor = Color.Khaki; | ||||||
|                     RoomCardManage.lastSelectOpeRoom = operationRoomClicked; |                     RoomCardManage.lastSelectOpeRoom = operationRoomClicked; | ||||||
|  |                     RoomCardManage.IsFillAll = true; | ||||||
|                 } |                 } | ||||||
|                 if (RoomCardManage.SelectIds != null && RoomCardManage.SelectDgv.Name == "dgvApplyOrDoctor") |                 if (RoomCardManage.SelectIds != null && RoomCardManage.SelectDgv.Name == "dgvApplyOrDoctor") | ||||||
|                 { |                 { | ||||||
| @ -168,6 +168,7 @@ namespace AIMS.OremrUserControl | |||||||
|             } |             } | ||||||
|             lblAnesDoctors.Text = "麻醉医生"; |             lblAnesDoctors.Text = "麻醉医生"; | ||||||
|             lblAnesDoctors.ForeColor = Color.Gray; |             lblAnesDoctors.ForeColor = Color.Gray; | ||||||
|  |             RoomCardManage.IsFillAll = true; | ||||||
|             RaiseDataSavedEvent(); |             RaiseDataSavedEvent(); | ||||||
|             MessageBox.Show("全部撤销麻醉成功!"); |             MessageBox.Show("全部撤销麻醉成功!"); | ||||||
|         } |         } | ||||||
| @ -181,6 +182,7 @@ namespace AIMS.OremrUserControl | |||||||
|             } |             } | ||||||
|             lblNurse.Text = "洗手护士"; |             lblNurse.Text = "洗手护士"; | ||||||
|             lblNurse.ForeColor = Color.Gray; |             lblNurse.ForeColor = Color.Gray; | ||||||
|  |             RoomCardManage.IsFillAll = true; | ||||||
|             RaiseDataSavedEvent(); |             RaiseDataSavedEvent(); | ||||||
|             MessageBox.Show("全部撤销洗手护士成功!"); |             MessageBox.Show("全部撤销洗手护士成功!"); | ||||||
|         } |         } | ||||||
| @ -194,6 +196,7 @@ namespace AIMS.OremrUserControl | |||||||
|             } |             } | ||||||
|             lblNurse2.Text = "巡回护士"; |             lblNurse2.Text = "巡回护士"; | ||||||
|             lblNurse2.ForeColor = Color.Gray; |             lblNurse2.ForeColor = Color.Gray; | ||||||
|  |             RoomCardManage.IsFillAll = true; | ||||||
|             RaiseDataSavedEvent(); |             RaiseDataSavedEvent(); | ||||||
|             MessageBox.Show("全部撤销巡回护士成功!"); |             MessageBox.Show("全部撤销巡回护士成功!"); | ||||||
|         } |         } | ||||||
|  | |||||||
| @ -439,6 +439,10 @@ namespace AIMSBLL | |||||||
|         { |         { | ||||||
|             DOperationRecord.UpdateState(PatientId, TypeId, State); |             DOperationRecord.UpdateState(PatientId, TypeId, State); | ||||||
|         } |         } | ||||||
|  |         public static void UpdateOpeState(int PatientId, int TypeId, int State,string Text) | ||||||
|  |         { | ||||||
|  |             DOperationRecord.UpdateOpeState(PatientId, TypeId, State,  Text); | ||||||
|  |         } | ||||||
|         public static void DeleteOperationRecordData(int RecorId, int PatientId, int TypeId) |         public static void DeleteOperationRecordData(int RecorId, int PatientId, int TypeId) | ||||||
|         { |         { | ||||||
|             DOperationRecord.DeleteOperationRecordData(RecorId, PatientId, TypeId); |             DOperationRecord.DeleteOperationRecordData(RecorId, PatientId, TypeId); | ||||||
|  | |||||||
| @ -16,7 +16,7 @@ namespace AIMSDAL | |||||||
| 		{ | 		{ | ||||||
| 			StringBuilder strSql = new StringBuilder(); | 			StringBuilder strSql = new StringBuilder(); | ||||||
| 			strSql.Append("insert into [FactDrug]("); | 			strSql.Append("insert into [FactDrug]("); | ||||||
| 			strSql.Append("PatientId,DrugTypeId,DrugId,DrugBeginTime,DrugEndTime,Dosage,DosageUnit,DrugChannel,GiveDrugType,IsContinue,Remark,OperatorNo,OperatorName,OperateDate, Density, DensityUnit, Velocity, VelocityUnit"); | 			strSql.Append("PatientId,DrugTypeId,DrugId,DrugBeginTime,DrugEndTime,Dosage,DosageUnit,DrugChannel,GiveDrugType,IsContinue,Remark,OperatorNo,OperatorName,OperateDate, Density, DensityUnit, Velocity, VelocityUnit,ParentId"); | ||||||
| 			strSql.Append(")"); | 			strSql.Append(")"); | ||||||
| 			strSql.Append(" values ("); | 			strSql.Append(" values ("); | ||||||
| 			strSql.Append("" + FactDrugObj.PatientId + ","); | 			strSql.Append("" + FactDrugObj.PatientId + ","); | ||||||
| @ -36,7 +36,8 @@ namespace AIMSDAL | |||||||
| 			strSql.Append("'" + FactDrugObj.Density  + "',"); | 			strSql.Append("'" + FactDrugObj.Density  + "',"); | ||||||
| 			strSql.Append("'" + FactDrugObj.DensityUnit  + "',"); | 			strSql.Append("'" + FactDrugObj.DensityUnit  + "',"); | ||||||
| 			strSql.Append("'" + FactDrugObj.Velocity  + "',"); | 			strSql.Append("'" + FactDrugObj.Velocity  + "',"); | ||||||
| 			strSql.Append("'" + FactDrugObj.VelocityUnit  + "'"); | 			strSql.Append("'" + FactDrugObj.VelocityUnit  + "',"); | ||||||
|  | 			strSql.Append("'" + FactDrugObj.ParentId + "'"); | ||||||
| 			strSql.Append(")"); | 			strSql.Append(")"); | ||||||
| 			HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); | 			HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); | ||||||
| 		} | 		} | ||||||
|  | |||||||
| @ -38,6 +38,17 @@ namespace AIMSDAL | |||||||
|             HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); |             HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|  |         public static void UpdateOpeState(int PatientId, int TypeId, int State, string Text) | ||||||
|  |         { | ||||||
|  |             string strSql = "UPDATE OperationRecord SET " + (State == 1 ? " OutRoomTime=null, " : "") + " [State] = " + State + | ||||||
|  |                                                       ",Remark3 = '" + Text + | ||||||
|  |                                                       "',OperatorNo = '" + AIMSExtension.PublicMethod.OperatorNo  + | ||||||
|  |                                                       "',OperatorName = '" + AIMSExtension.PublicMethod.OperatorName + | ||||||
|  |                                                       "',OperateDate = '" + AIMSExtension.PublicMethod.SystemDate() + | ||||||
|  |                                                        "' WHERE PatientId=" + PatientId + " and RecoverId='" + TypeId + "'"; | ||||||
|  |             HelperDB.DbHelperSQL.ExecNonQuery(strSql.ToString()); | ||||||
|  |         } | ||||||
|  | 
 | ||||||
|         public static void DeleteOperationRecordData(int RecorId, int PatientId, int TypeId) |         public static void DeleteOperationRecordData(int RecorId, int PatientId, int TypeId) | ||||||
|         { |         { | ||||||
|             HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactAnaesthesiaMethod WHERE PatientId=" + PatientId + ""); |             HelperDB.DbHelperSQL.ExecNonQuery("DELETE FROM FactAnaesthesiaMethod WHERE PatientId=" + PatientId + ""); | ||||||
|  | |||||||
| @ -37,7 +37,7 @@ namespace AIMSBLL | |||||||
|         } |         } | ||||||
|         public static DataTable GetRelieveLockingPatientDataTable(DateTime BeginDate, string Room) |         public static DataTable GetRelieveLockingPatientDataTable(DateTime BeginDate, string Room) | ||||||
|         { |         { | ||||||
|             string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion,of1.OrderOperationTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中','手术结束') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1"; |             string strSql = "SELECT of2.Id,of1.PatientId, of1.ApplyId, of1.ApplyDepName, of1.OperationType, of1.MdrecNo, of1.PatientName, of2.OperationInfoNames ApplyOperationInfoName, of2.OperationDoctor, of2.AnesthesiaDoctor,of2.OperationRoomId,of2.State ,of1.Sex,[dbo].[funGetAge](of1.BirthDay,getdate()) age,of2.InRoomTime PlanOperationTime,of2.Nurse InstrumentNurse,of2.Nurse2 TourNurse,of2.DiagnoseInfoName ApplyDiagnoseInfoName ,of2.OperationRoom ,of1.Contagion,of1.OrderOperationTime FROM V_OperationDoing of2 left join[dbo].[V_OperationFront] of1 on of1.PatientId = of2.PatientId WHERE of2.State in( '手术中','手术结束','停止手术') and of2.InRoomTime >= '" + BeginDate + "' AND of2.InRoomTime<'" + BeginDate.AddDays(1) + "' and RecoverId=1"; | ||||||
|             if (Room != "" && Room != "-1") strSql += " and of1.OperationRoomId='" + Room + "'"; |             if (Room != "" && Room != "-1") strSql += " and of1.OperationRoomId='" + Room + "'"; | ||||||
|             strSql += " order by [StateId] asc"; |             strSql += " order by [StateId] asc"; | ||||||
|             return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); |             return HelperDB.DbHelperSQL.GetDataTable(strSql.ToString()); | ||||||
|  | |||||||
| @ -4,6 +4,8 @@ using System.Collections.Generic; | |||||||
| using System.Data; | using System.Data; | ||||||
| using System.Drawing; | using System.Drawing; | ||||||
| using System.IO; | using System.IO; | ||||||
|  | using System.Linq; | ||||||
|  | using System.Reflection; | ||||||
| using System.Runtime.InteropServices; | using System.Runtime.InteropServices; | ||||||
| using System.Security.Cryptography; | using System.Security.Cryptography; | ||||||
| using System.Text; | using System.Text; | ||||||
| @ -697,7 +699,6 @@ namespace AIMSExtension | |||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|           |           | ||||||
| 
 |  | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// 创建KeyIV |         /// 创建KeyIV | ||||||
|         /// </summary> |         /// </summary> | ||||||
|  | |||||||
| @ -24,72 +24,72 @@ namespace DrawGraph | |||||||
|         /// </summary> |         /// </summary> | ||||||
|         public int? Id |         public int? Id | ||||||
|         { |         { | ||||||
| 		    get{ return id; } |             get { return id; } | ||||||
| 			set{ id=value; } |             set { id = value; } | ||||||
|         } |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         ///  |         ///  | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public int? OperationRecordId |         public int? OperationRecordId | ||||||
|         { |         { | ||||||
| 		    get{ return operationRecordId; } |             get { return operationRecordId; } | ||||||
| 			set{ operationRecordId=value; } |             set { operationRecordId = value; } | ||||||
|         } |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         ///  |         ///  | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public DateTime? RecordTime |         public DateTime? RecordTime | ||||||
|         { |         { | ||||||
| 		    get{ return recordTime; } |             get { return recordTime; } | ||||||
| 			set{ recordTime=value; } |             set { recordTime = value; } | ||||||
|         } |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         ///  |         ///  | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public string AnalysisResult |         public string AnalysisResult | ||||||
|         { |         { | ||||||
| 		    get{ return analysisResult; } |             get { return analysisResult; } | ||||||
| 			set{ analysisResult=value; } |             set { analysisResult = value; } | ||||||
|         } |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         ///  |         ///  | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public string Remark |         public string Remark | ||||||
|         { |         { | ||||||
| 		    get{ return remark; } |             get { return remark; } | ||||||
| 			set{ remark=value; } |             set { remark = value; } | ||||||
|         } |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         ///  |         ///  | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public string BloodGasType |         public string BloodGasType | ||||||
|         { |         { | ||||||
| 		    get{ return bloodGasType; } |             get { return bloodGasType; } | ||||||
| 			set{ bloodGasType=value; } |             set { bloodGasType = value; } | ||||||
|         } |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         ///  |         ///  | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public string IsSelected |         public string IsSelected | ||||||
|         { |         { | ||||||
| 		    get{ return isSelected; } |             get { return isSelected; } | ||||||
| 			set{ isSelected=value; } |             set { isSelected = value; } | ||||||
|         } |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         ///  |         ///  | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public int? OperatorId |         public int? OperatorId | ||||||
|         { |         { | ||||||
| 		    get{ return operatorId; } |             get { return operatorId; } | ||||||
| 			set{ operatorId=value; } |             set { operatorId = value; } | ||||||
|         } |         } | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         ///  |         ///  | ||||||
|         /// </summary> |         /// </summary> | ||||||
|         public DateTime? OperatorTime |         public DateTime? OperatorTime | ||||||
|         { |         { | ||||||
| 		    get{ return operatorTime; } |             get { return operatorTime; } | ||||||
| 			set{ operatorTime=value; } |             set { operatorTime = value; } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         #region 画图 |         #region 画图 | ||||||
| @ -102,7 +102,7 @@ namespace DrawGraph | |||||||
|         { |         { | ||||||
|             if (zgcAnas == null) return; |             if (zgcAnas == null) return; | ||||||
|             //画血气分析 |             //画血气分析 | ||||||
|             paintAdd(x, y); |             paintAdd(y); | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
|         /// <summary> |         /// <summary> | ||||||
| @ -110,7 +110,7 @@ namespace DrawGraph | |||||||
|         /// </summary> |         /// </summary> | ||||||
|         /// <param name="DrugsRecord"></param> |         /// <param name="DrugsRecord"></param> | ||||||
|         /// <param name="index"></param> |         /// <param name="index"></param> | ||||||
|         public void paintAdd(double left2X, double y) |         public void paintAdd(double y) | ||||||
|         { |         { | ||||||
|             float fontSize = 6f; |             float fontSize = 6f; | ||||||
|             double ySpan = 0.008; |             double ySpan = 0.008; | ||||||
|  | |||||||
| @ -38,6 +38,12 @@ namespace DrawGraph | |||||||
|         public override void FollowUpMethod() |         public override void FollowUpMethod() | ||||||
|         { |         { | ||||||
|             H5pack = template.GetPackObjectOTag<LinePackObj>("IconManage_LinePackObj_5"); |             H5pack = template.GetPackObjectOTag<LinePackObj>("IconManage_LinePackObj_5"); | ||||||
|  |             if (H5pack != null) | ||||||
|  |             { | ||||||
|  |                 eventstartX = H5pack.RealX; | ||||||
|  |                 eventy =  H5pack.RealY; | ||||||
|  |                 eventendy =  H5pack.RealEndY; | ||||||
|  |             } | ||||||
|             IconPpack = template.GetPackObjectOTag<RectangleFramePackObj>("IconManage_RectangleFramePackObj_2"); |             IconPpack = template.GetPackObjectOTag<RectangleFramePackObj>("IconManage_RectangleFramePackObj_2"); | ||||||
|             if (IconPpack != null) |             if (IconPpack != null) | ||||||
|             { |             { | ||||||
| @ -47,9 +53,8 @@ namespace DrawGraph | |||||||
|             LinePackObj line = template.GetPackObjectOTag<LinePackObj>("IconManage_LinePackObj_6"); |             LinePackObj line = template.GetPackObjectOTag<LinePackObj>("IconManage_LinePackObj_6"); | ||||||
|             if (line != null) |             if (line != null) | ||||||
|             { |             { | ||||||
|                 eventy = line.RealY; |                 eventstartX = line.RealX; | ||||||
|                 eventendy = line.RealEndY; |                 eventendX = line.RealEndX + 0.02; | ||||||
|                 eventendX = line.RealEndX+ 0.02; |  | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
| 
 | 
 | ||||||
| @ -106,6 +111,7 @@ namespace DrawGraph | |||||||
|         double eventy; |         double eventy; | ||||||
|         double eventendy; |         double eventendy; | ||||||
|         double eventendX; |         double eventendX; | ||||||
|  |         double eventstartX; | ||||||
|         /// <summary> |         /// <summary> | ||||||
|         /// 重新画事件文本 |         /// 重新画事件文本 | ||||||
|         /// </summary> |         /// </summary> | ||||||
| @ -140,7 +146,7 @@ namespace DrawGraph | |||||||
|                 } |                 } | ||||||
| 
 | 
 | ||||||
|                 //设置事件对象的相应属性,只达到了基本解耦,封装有限,有待完善 |                 //设置事件对象的相应属性,只达到了基本解耦,封装有限,有待完善 | ||||||
|                 temp.setAnasArr(ZedControl, H5pack.RealX, eventendX , myOpeRecord.pageBegin, myOpeRecord.pageBegin.AddMinutes(EVERY_PAGE_TIME_SPAN)); |                 temp.setAnasArr(ZedControl, eventstartX, eventendX, myOpeRecord.pageBegin, myOpeRecord.pageBegin.AddMinutes(EVERY_PAGE_TIME_SPAN)); | ||||||
|                 try |                 try | ||||||
|                 { |                 { | ||||||
|                     //循环XML文件,文件中的内容是只画图不写字的事件对旬 |                     //循环XML文件,文件中的内容是只画图不写字的事件对旬 | ||||||
|  | |||||||
| @ -108,7 +108,7 @@ namespace DrawGraph | |||||||
|                         if (myOpeRecord.EventListstr != null && myOpeRecord.EventListstr.Count > 0) |                         if (myOpeRecord.EventListstr != null && myOpeRecord.EventListstr.Count > 0) | ||||||
|                             count = count + myOpeRecord.EventListstr.Count + 1; |                             count = count + myOpeRecord.EventListstr.Count + 1; | ||||||
| 
 | 
 | ||||||
|                         if (myOpeRecord.OpeRecordInfo != null)//&& pageCount == 1 |                         if (myOpeRecord.OpeRecordInfo != null && OutputManagePpack == null)//&& pageCount == 1 | ||||||
|                         { |                         { | ||||||
|                             if (myOpeRecord.OpeRecordInfo.PunctureSite != null || myOpeRecord.OpeRecordInfo.NeedleNumber != null || myOpeRecord.OpeRecordInfo.NeedleDirection != null || myOpeRecord.OpeRecordInfo.PuncturePosition != null || myOpeRecord.OpeRecordInfo.ConduitDepth != null) |                             if (myOpeRecord.OpeRecordInfo.PunctureSite != null || myOpeRecord.OpeRecordInfo.NeedleNumber != null || myOpeRecord.OpeRecordInfo.NeedleDirection != null || myOpeRecord.OpeRecordInfo.PuncturePosition != null || myOpeRecord.OpeRecordInfo.ConduitDepth != null) | ||||||
|                                 count = count + 3; |                                 count = count + 3; | ||||||
| @ -164,7 +164,8 @@ namespace DrawGraph | |||||||
|                 } |                 } | ||||||
|                 //事件备注 |                 //事件备注 | ||||||
|                 SetRemarkInfo(myOpeRecord.EventListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); |                 SetRemarkInfo(myOpeRecord.EventListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); | ||||||
| 
 |                 if (OutputManagePpack == null) | ||||||
|  |                 { | ||||||
|                     myOpeRecord.FluidListstr.Clear(); |                     myOpeRecord.FluidListstr.Clear(); | ||||||
|                     myOpeRecord.FluidListstr.Add("【出量】"); |                     myOpeRecord.FluidListstr.Add("【出量】"); | ||||||
|                     for (int i = 0; i < myOpeRecord.FactOutputLiquidsList.Count; i++) |                     for (int i = 0; i < myOpeRecord.FactOutputLiquidsList.Count; i++) | ||||||
| @ -174,7 +175,8 @@ namespace DrawGraph | |||||||
| 
 | 
 | ||||||
|                     } |                     } | ||||||
|                     //出量备注  |                     //出量备注  | ||||||
|                 //SetRemarkInfo(myOpeRecord.FluidListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); |                     SetRemarkInfo(myOpeRecord.FluidListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); | ||||||
|  |                 } | ||||||
| 
 | 
 | ||||||
|                 //用药备注   |                 //用药备注   | ||||||
|                 SetRemarkInfo(myOpeRecord.DrugsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); |                 SetRemarkInfo(myOpeRecord.DrugsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); | ||||||
| @ -183,7 +185,7 @@ namespace DrawGraph | |||||||
|                 SetRemarkInfo(myOpeRecord.AfterDrugsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); |                 SetRemarkInfo(myOpeRecord.AfterDrugsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); | ||||||
| 
 | 
 | ||||||
|                 //手术信息备注 |                 //手术信息备注 | ||||||
|                 if (myOpeRecord.OpeRecordInfo != null) |                 if (myOpeRecord.OpeRecordInfo != null && OutputManagePpack == null) | ||||||
|                 { |                 { | ||||||
|                     //穿刺点1 |                     //穿刺点1 | ||||||
|                     if (myOpeRecord.OpeRecordInfo.PunctureSite != null || myOpeRecord.OpeRecordInfo.NeedleNumber != null || myOpeRecord.OpeRecordInfo.NeedleDirection != null || myOpeRecord.OpeRecordInfo.PuncturePosition != null || myOpeRecord.OpeRecordInfo.ConduitDepth != null) |                     if (myOpeRecord.OpeRecordInfo.PunctureSite != null || myOpeRecord.OpeRecordInfo.NeedleNumber != null || myOpeRecord.OpeRecordInfo.NeedleDirection != null || myOpeRecord.OpeRecordInfo.PuncturePosition != null || myOpeRecord.OpeRecordInfo.ConduitDepth != null) | ||||||
|  | |||||||
| @ -327,6 +327,10 @@ namespace DrawGraph | |||||||
|                 { |                 { | ||||||
|                     isSap = true; |                     isSap = true; | ||||||
|                 } |                 } | ||||||
|  |                 if (record.BloodType != null && record.BloodType != "") | ||||||
|  |                 { | ||||||
|  |                     isSap = true; | ||||||
|  |                 } | ||||||
|             } |             } | ||||||
|             return isSap; |             return isSap; | ||||||
|         } |         } | ||||||
|  | |||||||
| @ -108,20 +108,7 @@ namespace DrawGraph | |||||||
|             Value = aEdit.PackText; |             Value = aEdit.PackText; | ||||||
|             DataTable dt = DBManage.GetDictDataTable((OpeRecord as OperationRecord), "", aEdit.ControlTitleText, type.ToString(), Key); |             DataTable dt = DBManage.GetDictDataTable((OpeRecord as OperationRecord), "", aEdit.ControlTitleText, type.ToString(), Key); | ||||||
|             dgvZd.DataSource = dt; |             dgvZd.DataSource = dt; | ||||||
|             System.Drawing.Point point = new System.Drawing.Point(aEdit.CControl.Location.X, aEdit.CControl.Location.Y - aEdit.CControl.Height); |             dgvZd.Location = new System.Drawing.Point(aEdit.CControl.Location.X, aEdit.CControl.Location.Y + aEdit.CControl.Height); | ||||||
|             if (_type == "手术" || _type == "诊断") |  | ||||||
|             { |  | ||||||
|                 dgvZd.Size = new System.Drawing.Size(400, 210); |  | ||||||
|                 if (_aEdit.RealEndY > 0.8) |  | ||||||
|                     point = new System.Drawing.Point(aEdit.CControl.Location.X, aEdit.CControl.Location.Y - 220); |  | ||||||
|             } |  | ||||||
|             else |  | ||||||
|             { |  | ||||||
|                 dgvZd.Size = new System.Drawing.Size(200, 290); |  | ||||||
|                 if (_aEdit.RealEndY > 0.8) |  | ||||||
|                     point = new System.Drawing.Point(aEdit.CControl.Location.X, aEdit.CControl.Location.Y - 300); |  | ||||||
|             } |  | ||||||
|             dgvZd.Location = point; |  | ||||||
|             if (_type == "手术" || _type == "诊断") |             if (_type == "手术" || _type == "诊断") | ||||||
|             { |             { | ||||||
|                 dgvZd.Size = new System.Drawing.Size(400, 210); |                 dgvZd.Size = new System.Drawing.Size(400, 210); | ||||||
|  | |||||||
| @ -108,7 +108,7 @@ namespace DrawGraph | |||||||
|             Value = aEdit.PackText; |             Value = aEdit.PackText; | ||||||
|             DataTable dt = DBManage.GetDictDataTable((OpeRecord as OperationRecord), "", aEdit.ControlTitleText, type.ToString(), Key); |             DataTable dt = DBManage.GetDictDataTable((OpeRecord as OperationRecord), "", aEdit.ControlTitleText, type.ToString(), Key); | ||||||
|             dgvZd.DataSource = dt; |             dgvZd.DataSource = dt; | ||||||
|             System.Drawing.Point point = new System.Drawing.Point(aEdit.CControl.Location.X, aEdit.CControl.Location.Y - aEdit.CControl.Height); |             System.Drawing.Point point = new System.Drawing.Point(aEdit.CControl.Location.X, aEdit.CControl.Location.Y + aEdit.CControl.Height); | ||||||
|             if (_type == "手术" || _type == "诊断") |             if (_type == "手术" || _type == "诊断") | ||||||
|             { |             { | ||||||
|                 dgvZd.Size = new System.Drawing.Size(400, 210); |                 dgvZd.Size = new System.Drawing.Size(400, 210); | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user