diff --git a/AIMS/AIMS.csproj b/AIMS/AIMS.csproj index c69d877..1a6e72c 100644 --- a/AIMS/AIMS.csproj +++ b/AIMS/AIMS.csproj @@ -291,18 +291,6 @@ frmReportExport.cs - - Form - - - frmOperationCharg5.cs - - - Form - - - frmOperationCharg4.cs - Form @@ -966,12 +954,6 @@ frmReportExport.cs - - frmOperationCharg5.cs - - - frmOperationCharg4.cs - frmOperationCharg3.cs diff --git a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs index ac3b34c..09f8eb9 100644 --- a/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs +++ b/AIMS/OperationAanesthesia/frmAanesthesiaRecord.cs @@ -5,6 +5,7 @@ using AIMSBLL; using AIMSExtension; using AIMSModel; using DevComponents.DotNetBar; +using DevComponents.DotNetBar.Controls; using DevComponents.Editors.DateTimeAdv; using DocumentManagement; using DrawGraph; @@ -1032,13 +1033,14 @@ namespace AIMS.OperationAanesthesia { circularProgress1.IsRunning = true; circularProgress1.Visible = true; + circularProgress1.AnimationSpeed = 0; circularProgress2.IsRunning = true; circularProgress2.Visible = true; zgcAnaesRecord.Visible = false; zgcAnaesRecord2.Visible = false; timerLoadAnesRescue = new System.Windows.Forms.Timer(components); timerLoadAnesRescue.Enabled = true;//调试时设置为FALSE , - timerLoadAnesRescue.Interval = 300; + timerLoadAnesRescue.Interval = 200; timerLoadAnesRescue.Tick -= TimerLoadAnesRescue_Tick; timerLoadAnesRescue.Tick += TimerLoadAnesRescue_Tick; timerLoadAnesRescue.Start(); diff --git a/AIMS/OperationAanesthesia/frmFactDrugNew.Designer.cs b/AIMS/OperationAanesthesia/frmFactDrugNew.Designer.cs index 1f556f7..fcc6910 100644 --- a/AIMS/OperationAanesthesia/frmFactDrugNew.Designer.cs +++ b/AIMS/OperationAanesthesia/frmFactDrugNew.Designer.cs @@ -29,29 +29,29 @@ private void InitializeComponent() { this.components = new System.ComponentModel.Container(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle24 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle25 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle27 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle28 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle26 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle39 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle40 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle42 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle43 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle41 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle29 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle30 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle32 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle33 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle31 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle34 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle35 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle37 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle38 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle36 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle44 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle14 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle15 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle16 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle17 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle19 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle20 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle18 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle21 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle22 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle23 = new System.Windows.Forms.DataGridViewCellStyle(); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmFactDrugNew)); this.panel1 = new System.Windows.Forms.Panel(); this.panel5 = new System.Windows.Forms.Panel(); @@ -77,27 +77,6 @@ this.dataGridViewDateTimeInputColumn8 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); this.dataGridViewComboBoxColumn15 = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.P0 = new DevComponents.DotNetBar.SuperTabItem(); - this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel(); - this.dgvDrugsSQ = new DevComponents.DotNetBar.Controls.DataGridViewX(); - this.dataGridViewImageColumn5 = new System.Windows.Forms.DataGridViewImageColumn(); - this.dataGridViewTextBoxColumn37 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn38 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn39 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewComboEditBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewComboBoxColumn17 = new System.Windows.Forms.DataGridViewComboBoxColumn(); - this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewComboBoxColumn18 = new System.Windows.Forms.DataGridViewComboBoxColumn(); - this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewComboBoxColumn19 = new System.Windows.Forms.DataGridViewComboBoxColumn(); - this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewComboBoxColumn20 = new System.Windows.Forms.DataGridViewComboBoxColumn(); - this.dataGridViewComboBoxColumn21 = new System.Windows.Forms.DataGridViewComboBoxColumn(); - this.dataGridViewComboBoxColumn22 = new System.Windows.Forms.DataGridViewComboBoxColumn(); - this.dataGridViewDateTimeInputColumn1 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); - this.dataGridViewTextBoxColumn43 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewDateTimeInputColumn2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); - this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewComboBoxColumn(); - this.P1 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel6 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.dgvDrugsSH = new DevComponents.DotNetBar.Controls.DataGridViewX(); this.dataGridViewImageColumn2 = new System.Windows.Forms.DataGridViewImageColumn(); @@ -140,6 +119,27 @@ this.dataGridViewDateTimeInputColumn4 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewComboBoxColumn(); this.P2 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel4 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvDrugsSQ = new DevComponents.DotNetBar.Controls.DataGridViewX(); + this.dataGridViewImageColumn5 = new System.Windows.Forms.DataGridViewImageColumn(); + this.dataGridViewTextBoxColumn37 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn38 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewTextBoxColumn39 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboEditBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn17 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn40 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn18 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn19 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewTextBoxColumn42 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewComboBoxColumn20 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewComboBoxColumn21 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewComboBoxColumn22 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.dataGridViewDateTimeInputColumn1 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.dataGridViewTextBoxColumn43 = new System.Windows.Forms.DataGridViewTextBoxColumn(); + this.dataGridViewDateTimeInputColumn2 = new DevComponents.DotNetBar.Controls.DataGridViewDateTimeInputColumn(); + this.dataGridViewTextBoxColumn44 = new System.Windows.Forms.DataGridViewComboBoxColumn(); + this.P1 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.panelleft = new System.Windows.Forms.Panel(); @@ -175,12 +175,12 @@ this.tabDrugs.SuspendLayout(); this.superTabControlPanel3.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsYD)).BeginInit(); - this.superTabControlPanel4.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).BeginInit(); this.superTabControlPanel6.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).BeginInit(); this.superTabControlPanel5.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).BeginInit(); + this.superTabControlPanel4.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).BeginInit(); this.panelleft.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.TabSelDrugs)).BeginInit(); this.panel2.SuspendLayout(); @@ -267,18 +267,18 @@ this.dgvDrugsYD.AllowUserToAddRows = false; this.dgvDrugsYD.AllowUserToResizeColumns = false; this.dgvDrugsYD.AllowUserToResizeRows = false; - dataGridViewCellStyle24.BackColor = System.Drawing.Color.MintCream; - this.dgvDrugsYD.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle24; + dataGridViewCellStyle1.BackColor = System.Drawing.Color.MintCream; + this.dgvDrugsYD.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; this.dgvDrugsYD.BackgroundColor = System.Drawing.Color.White; this.dgvDrugsYD.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle25.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle25.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle25.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle25.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle25.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle25.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle25.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDrugsYD.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle25; + dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsYD.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; this.dgvDrugsYD.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvDrugsYD.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewImageColumn3, @@ -299,14 +299,14 @@ this.dataGridViewTextBoxColumn24, this.dataGridViewDateTimeInputColumn8, this.dataGridViewComboBoxColumn15}); - dataGridViewCellStyle27.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle27.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle27.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle27.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle27.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle27.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle27.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvDrugsYD.DefaultCellStyle = dataGridViewCellStyle27; + dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle4.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle4.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvDrugsYD.DefaultCellStyle = dataGridViewCellStyle4; this.dgvDrugsYD.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvDrugsYD.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.dgvDrugsYD.EnableHeadersVisualStyles = false; @@ -315,14 +315,14 @@ this.dgvDrugsYD.Margin = new System.Windows.Forms.Padding(0); this.dgvDrugsYD.MultiSelect = false; this.dgvDrugsYD.Name = "dgvDrugsYD"; - dataGridViewCellStyle28.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle28.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle28.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle28.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle28.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle28.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle28.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDrugsYD.RowHeadersDefaultCellStyle = dataGridViewCellStyle28; + dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle5.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsYD.RowHeadersDefaultCellStyle = dataGridViewCellStyle5; this.dgvDrugsYD.RowHeadersVisible = false; this.dgvDrugsYD.RowTemplate.Height = 25; this.dgvDrugsYD.ShowCellErrors = false; @@ -342,8 +342,8 @@ // // dataGridViewTextBoxColumn17 // - dataGridViewCellStyle26.ForeColor = System.Drawing.Color.Red; - this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle26; + dataGridViewCellStyle3.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn17.DefaultCellStyle = dataGridViewCellStyle3; this.dataGridViewTextBoxColumn17.HeaderText = "组"; this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; this.dataGridViewTextBoxColumn17.Width = 30; @@ -546,301 +546,6 @@ this.P0.Name = "P0"; this.P0.Text = "麻醉诱导用药"; // - // superTabControlPanel4 - // - this.superTabControlPanel4.Controls.Add(this.dgvDrugsSQ); - this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel4.Location = new System.Drawing.Point(0, 31); - this.superTabControlPanel4.Name = "superTabControlPanel4"; - this.superTabControlPanel4.Size = new System.Drawing.Size(1070, 604); - this.superTabControlPanel4.TabIndex = 0; - this.superTabControlPanel4.TabItem = this.P1; - this.superTabControlPanel4.Visible = false; - // - // dgvDrugsSQ - // - this.dgvDrugsSQ.AllowUserToAddRows = false; - this.dgvDrugsSQ.AllowUserToResizeColumns = false; - this.dgvDrugsSQ.AllowUserToResizeRows = false; - dataGridViewCellStyle39.BackColor = System.Drawing.Color.MintCream; - this.dgvDrugsSQ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle39; - this.dgvDrugsSQ.BackgroundColor = System.Drawing.Color.White; - this.dgvDrugsSQ.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle40.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle40.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle40.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle40.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle40.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle40.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle40.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDrugsSQ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle40; - this.dgvDrugsSQ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvDrugsSQ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewImageColumn5, - this.dataGridViewTextBoxColumn37, - this.dataGridViewTextBoxColumn38, - this.dataGridViewTextBoxColumn39, - this.dataGridViewComboEditBoxColumn1, - this.dataGridViewComboBoxColumn17, - this.dataGridViewTextBoxColumn40, - this.dataGridViewComboBoxColumn18, - this.dataGridViewTextBoxColumn41, - this.dataGridViewComboBoxColumn19, - this.dataGridViewTextBoxColumn42, - this.dataGridViewComboBoxColumn20, - this.dataGridViewComboBoxColumn21, - this.dataGridViewComboBoxColumn22, - this.dataGridViewDateTimeInputColumn1, - this.dataGridViewTextBoxColumn43, - this.dataGridViewDateTimeInputColumn2, - this.dataGridViewTextBoxColumn44}); - dataGridViewCellStyle42.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle42.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle42.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle42.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle42.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle42.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle42.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvDrugsSQ.DefaultCellStyle = dataGridViewCellStyle42; - this.dgvDrugsSQ.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvDrugsSQ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; - this.dgvDrugsSQ.EnableHeadersVisualStyles = false; - this.dgvDrugsSQ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); - this.dgvDrugsSQ.Location = new System.Drawing.Point(0, 0); - this.dgvDrugsSQ.Margin = new System.Windows.Forms.Padding(0); - this.dgvDrugsSQ.MultiSelect = false; - this.dgvDrugsSQ.Name = "dgvDrugsSQ"; - dataGridViewCellStyle43.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle43.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle43.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle43.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle43.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle43.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle43.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDrugsSQ.RowHeadersDefaultCellStyle = dataGridViewCellStyle43; - this.dgvDrugsSQ.RowHeadersVisible = false; - this.dgvDrugsSQ.RowTemplate.Height = 25; - this.dgvDrugsSQ.ShowCellErrors = false; - this.dgvDrugsSQ.ShowCellToolTips = false; - this.dgvDrugsSQ.Size = new System.Drawing.Size(1070, 604); - this.dgvDrugsSQ.TabIndex = 16; - this.dgvDrugsSQ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError); - // - // dataGridViewImageColumn5 - // - this.dataGridViewImageColumn5.HeaderText = " "; - this.dataGridViewImageColumn5.Image = global::AIMS.Properties.Resources.SYSCRL; - this.dataGridViewImageColumn5.Name = "dataGridViewImageColumn5"; - this.dataGridViewImageColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewImageColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; - this.dataGridViewImageColumn5.Width = 30; - // - // dataGridViewTextBoxColumn37 - // - dataGridViewCellStyle41.ForeColor = System.Drawing.Color.Red; - this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle41; - this.dataGridViewTextBoxColumn37.HeaderText = "组"; - this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37"; - this.dataGridViewTextBoxColumn37.Width = 30; - // - // dataGridViewTextBoxColumn38 - // - this.dataGridViewTextBoxColumn38.HeaderText = "类型"; - this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38"; - this.dataGridViewTextBoxColumn38.Visible = false; - this.dataGridViewTextBoxColumn38.Width = 60; - // - // dataGridViewTextBoxColumn39 - // - this.dataGridViewTextBoxColumn39.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; - this.dataGridViewTextBoxColumn39.HeaderText = "名称"; - this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39"; - this.dataGridViewTextBoxColumn39.Resizable = System.Windows.Forms.DataGridViewTriState.True; - // - // dataGridViewComboEditBoxColumn1 - // - this.dataGridViewComboEditBoxColumn1.HeaderText = "备注"; - this.dataGridViewComboEditBoxColumn1.Name = "dataGridViewComboEditBoxColumn1"; - this.dataGridViewComboEditBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; - // - // dataGridViewComboBoxColumn17 - // - this.dataGridViewComboBoxColumn17.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; - this.dataGridViewComboBoxColumn17.HeaderText = "途径"; - this.dataGridViewComboBoxColumn17.Name = "dataGridViewComboBoxColumn17"; - this.dataGridViewComboBoxColumn17.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewComboBoxColumn17.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.dataGridViewComboBoxColumn17.Width = 85; - // - // dataGridViewTextBoxColumn40 - // - this.dataGridViewTextBoxColumn40.HeaderText = "浓度"; - this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40"; - this.dataGridViewTextBoxColumn40.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewTextBoxColumn40.Width = 45; - // - // dataGridViewComboBoxColumn18 - // - this.dataGridViewComboBoxColumn18.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; - this.dataGridViewComboBoxColumn18.HeaderText = "浓度单位"; - this.dataGridViewComboBoxColumn18.Name = "dataGridViewComboBoxColumn18"; - this.dataGridViewComboBoxColumn18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.dataGridViewComboBoxColumn18.Width = 75; - // - // dataGridViewTextBoxColumn41 - // - this.dataGridViewTextBoxColumn41.HeaderText = "速度"; - this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41"; - this.dataGridViewTextBoxColumn41.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewTextBoxColumn41.Width = 45; - // - // dataGridViewComboBoxColumn19 - // - this.dataGridViewComboBoxColumn19.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; - this.dataGridViewComboBoxColumn19.HeaderText = "速度单位"; - this.dataGridViewComboBoxColumn19.Name = "dataGridViewComboBoxColumn19"; - this.dataGridViewComboBoxColumn19.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewComboBoxColumn19.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.dataGridViewComboBoxColumn19.Width = 85; - // - // dataGridViewTextBoxColumn42 - // - this.dataGridViewTextBoxColumn42.HeaderText = "用量"; - this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42"; - this.dataGridViewTextBoxColumn42.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewTextBoxColumn42.Width = 60; - // - // dataGridViewComboBoxColumn20 - // - this.dataGridViewComboBoxColumn20.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; - this.dataGridViewComboBoxColumn20.HeaderText = "单位"; - this.dataGridViewComboBoxColumn20.Name = "dataGridViewComboBoxColumn20"; - this.dataGridViewComboBoxColumn20.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewComboBoxColumn20.Width = 60; - // - // dataGridViewComboBoxColumn21 - // - this.dataGridViewComboBoxColumn21.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; - this.dataGridViewComboBoxColumn21.HeaderText = "血型"; - this.dataGridViewComboBoxColumn21.Name = "dataGridViewComboBoxColumn21"; - this.dataGridViewComboBoxColumn21.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewComboBoxColumn21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.dataGridViewComboBoxColumn21.Width = 45; - // - // dataGridViewComboBoxColumn22 - // - this.dataGridViewComboBoxColumn22.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; - this.dataGridViewComboBoxColumn22.HeaderText = "加药方式"; - this.dataGridViewComboBoxColumn22.Name = "dataGridViewComboBoxColumn22"; - this.dataGridViewComboBoxColumn22.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewComboBoxColumn22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.dataGridViewComboBoxColumn22.Visible = false; - this.dataGridViewComboBoxColumn22.Width = 80; - // - // dataGridViewDateTimeInputColumn1 - // - this.dataGridViewDateTimeInputColumn1.AutoAdvance = true; - // - // - // - this.dataGridViewDateTimeInputColumn1.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; - this.dataGridViewDateTimeInputColumn1.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; - this.dataGridViewDateTimeInputColumn1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dataGridViewDateTimeInputColumn1.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText; - this.dataGridViewDateTimeInputColumn1.ButtonDropDown.Visible = true; - this.dataGridViewDateTimeInputColumn1.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; - this.dataGridViewDateTimeInputColumn1.HeaderText = "开始时间"; - this.dataGridViewDateTimeInputColumn1.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center; - // - // - // - // - // - // - this.dataGridViewDateTimeInputColumn1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dataGridViewDateTimeInputColumn1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); - // - // - // - this.dataGridViewDateTimeInputColumn1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dataGridViewDateTimeInputColumn1.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); - this.dataGridViewDateTimeInputColumn1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; - // - // - // - this.dataGridViewDateTimeInputColumn1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dataGridViewDateTimeInputColumn1.MonthCalendar.Visible = false; - this.dataGridViewDateTimeInputColumn1.Name = "dataGridViewDateTimeInputColumn1"; - this.dataGridViewDateTimeInputColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewDateTimeInputColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewDateTimeInputColumn1.Width = 80; - // - // dataGridViewTextBoxColumn43 - // - this.dataGridViewTextBoxColumn43.HeaderText = "持续"; - this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43"; - this.dataGridViewTextBoxColumn43.Width = 45; - // - // dataGridViewDateTimeInputColumn2 - // - this.dataGridViewDateTimeInputColumn2.AutoAdvance = true; - // - // - // - this.dataGridViewDateTimeInputColumn2.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; - this.dataGridViewDateTimeInputColumn2.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; - this.dataGridViewDateTimeInputColumn2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dataGridViewDateTimeInputColumn2.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText; - this.dataGridViewDateTimeInputColumn2.ButtonDropDown.Visible = true; - this.dataGridViewDateTimeInputColumn2.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; - this.dataGridViewDateTimeInputColumn2.HeaderText = "结束时间"; - this.dataGridViewDateTimeInputColumn2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left; - // - // - // - // - // - // - this.dataGridViewDateTimeInputColumn2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dataGridViewDateTimeInputColumn2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); - // - // - // - this.dataGridViewDateTimeInputColumn2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dataGridViewDateTimeInputColumn2.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); - this.dataGridViewDateTimeInputColumn2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; - // - // - // - this.dataGridViewDateTimeInputColumn2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dataGridViewDateTimeInputColumn2.MonthCalendar.Visible = false; - this.dataGridViewDateTimeInputColumn2.Name = "dataGridViewDateTimeInputColumn2"; - this.dataGridViewDateTimeInputColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True; - this.dataGridViewDateTimeInputColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; - this.dataGridViewDateTimeInputColumn2.Width = 80; - // - // dataGridViewTextBoxColumn44 - // - this.dataGridViewTextBoxColumn44.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; - this.dataGridViewTextBoxColumn44.HeaderText = "通路"; - this.dataGridViewTextBoxColumn44.Items.AddRange(new object[] { - "", - "1", - "2", - "3", - "4"}); - this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44"; - this.dataGridViewTextBoxColumn44.Resizable = System.Windows.Forms.DataGridViewTriState.False; - this.dataGridViewTextBoxColumn44.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; - this.dataGridViewTextBoxColumn44.Width = 50; - // - // P1 - // - this.P1.AttachedControl = this.superTabControlPanel4; - this.P1.GlobalItem = false; - this.P1.Name = "P1"; - this.P1.Text = "麻醉前用药"; - // // superTabControlPanel6 // this.superTabControlPanel6.Controls.Add(this.dgvDrugsSH); @@ -857,18 +562,18 @@ this.dgvDrugsSH.AllowUserToAddRows = false; this.dgvDrugsSH.AllowUserToResizeColumns = false; this.dgvDrugsSH.AllowUserToResizeRows = false; - dataGridViewCellStyle29.BackColor = System.Drawing.Color.MintCream; - this.dgvDrugsSH.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle29; + dataGridViewCellStyle6.BackColor = System.Drawing.Color.MintCream; + this.dgvDrugsSH.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6; this.dgvDrugsSH.BackgroundColor = System.Drawing.Color.White; this.dgvDrugsSH.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle30.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle30.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle30.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle30.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle30.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle30.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle30.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDrugsSH.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle30; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle7.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsSH.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; this.dgvDrugsSH.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvDrugsSH.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewImageColumn2, @@ -889,14 +594,14 @@ this.dataGridViewTextBoxColumn15, this.dataGridViewDateTimeInputColumn6, this.dataGridViewTextBoxColumn16}); - dataGridViewCellStyle32.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle32.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle32.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle32.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle32.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle32.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle32.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvDrugsSH.DefaultCellStyle = dataGridViewCellStyle32; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle9.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvDrugsSH.DefaultCellStyle = dataGridViewCellStyle9; this.dgvDrugsSH.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvDrugsSH.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.dgvDrugsSH.EnableHeadersVisualStyles = false; @@ -905,14 +610,14 @@ this.dgvDrugsSH.Margin = new System.Windows.Forms.Padding(0); this.dgvDrugsSH.MultiSelect = false; this.dgvDrugsSH.Name = "dgvDrugsSH"; - dataGridViewCellStyle33.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle33.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle33.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle33.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle33.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle33.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle33.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDrugsSH.RowHeadersDefaultCellStyle = dataGridViewCellStyle33; + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsSH.RowHeadersDefaultCellStyle = dataGridViewCellStyle10; this.dgvDrugsSH.RowHeadersVisible = false; this.dgvDrugsSH.RowTemplate.Height = 25; this.dgvDrugsSH.ShowCellErrors = false; @@ -932,8 +637,8 @@ // // dataGridViewTextBoxColumn9 // - dataGridViewCellStyle31.ForeColor = System.Drawing.Color.Red; - this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle31; + dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn9.DefaultCellStyle = dataGridViewCellStyle8; this.dataGridViewTextBoxColumn9.HeaderText = "组"; this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; this.dataGridViewTextBoxColumn9.Width = 30; @@ -1152,18 +857,18 @@ this.dgvDrugsSZ.AllowUserToAddRows = false; this.dgvDrugsSZ.AllowUserToResizeColumns = false; this.dgvDrugsSZ.AllowUserToResizeRows = false; - dataGridViewCellStyle34.BackColor = System.Drawing.Color.MintCream; - this.dgvDrugsSZ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle34; + dataGridViewCellStyle11.BackColor = System.Drawing.Color.MintCream; + this.dgvDrugsSZ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle11; this.dgvDrugsSZ.BackgroundColor = System.Drawing.Color.White; this.dgvDrugsSZ.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle35.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle35.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle35.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle35.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle35.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle35.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle35.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDrugsSZ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle35; + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsSZ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle12; this.dgvDrugsSZ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; this.dgvDrugsSZ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.dataGridViewImageColumn1, @@ -1184,14 +889,14 @@ this.dataGridViewTextBoxColumn7, this.dataGridViewDateTimeInputColumn4, this.dataGridViewTextBoxColumn8}); - dataGridViewCellStyle37.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle37.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle37.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle37.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle37.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle37.SelectionForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle37.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvDrugsSZ.DefaultCellStyle = dataGridViewCellStyle37; + dataGridViewCellStyle14.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle14.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle14.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle14.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle14.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle14.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle14.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvDrugsSZ.DefaultCellStyle = dataGridViewCellStyle14; this.dgvDrugsSZ.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvDrugsSZ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.dgvDrugsSZ.EnableHeadersVisualStyles = false; @@ -1200,14 +905,14 @@ this.dgvDrugsSZ.Margin = new System.Windows.Forms.Padding(0); this.dgvDrugsSZ.MultiSelect = false; this.dgvDrugsSZ.Name = "dgvDrugsSZ"; - dataGridViewCellStyle38.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle38.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle38.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle38.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle38.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle38.SelectionForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle38.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDrugsSZ.RowHeadersDefaultCellStyle = dataGridViewCellStyle38; + dataGridViewCellStyle15.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle15.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle15.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle15.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle15.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle15.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle15.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsSZ.RowHeadersDefaultCellStyle = dataGridViewCellStyle15; this.dgvDrugsSZ.RowHeadersVisible = false; this.dgvDrugsSZ.RowTemplate.Height = 25; this.dgvDrugsSZ.ShowCellErrors = false; @@ -1227,8 +932,8 @@ // // dataGridViewTextBoxColumn1 // - dataGridViewCellStyle36.ForeColor = System.Drawing.Color.Red; - this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle36; + dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn1.DefaultCellStyle = dataGridViewCellStyle13; this.dataGridViewTextBoxColumn1.HeaderText = "组"; this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; this.dataGridViewTextBoxColumn1.Width = 30; @@ -1431,6 +1136,301 @@ this.P2.Name = "P2"; this.P2.Text = "手术用药"; // + // superTabControlPanel4 + // + this.superTabControlPanel4.Controls.Add(this.dgvDrugsSQ); + this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel4.Location = new System.Drawing.Point(0, 31); + this.superTabControlPanel4.Name = "superTabControlPanel4"; + this.superTabControlPanel4.Size = new System.Drawing.Size(1070, 604); + this.superTabControlPanel4.TabIndex = 0; + this.superTabControlPanel4.TabItem = this.P1; + this.superTabControlPanel4.Visible = false; + // + // dgvDrugsSQ + // + this.dgvDrugsSQ.AllowUserToAddRows = false; + this.dgvDrugsSQ.AllowUserToResizeColumns = false; + this.dgvDrugsSQ.AllowUserToResizeRows = false; + dataGridViewCellStyle16.BackColor = System.Drawing.Color.MintCream; + this.dgvDrugsSQ.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle16; + this.dgvDrugsSQ.BackgroundColor = System.Drawing.Color.White; + this.dgvDrugsSQ.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle17.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle17.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle17.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle17.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle17.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle17.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle17.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsSQ.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle17; + this.dgvDrugsSQ.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + this.dgvDrugsSQ.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { + this.dataGridViewImageColumn5, + this.dataGridViewTextBoxColumn37, + this.dataGridViewTextBoxColumn38, + this.dataGridViewTextBoxColumn39, + this.dataGridViewComboEditBoxColumn1, + this.dataGridViewComboBoxColumn17, + this.dataGridViewTextBoxColumn40, + this.dataGridViewComboBoxColumn18, + this.dataGridViewTextBoxColumn41, + this.dataGridViewComboBoxColumn19, + this.dataGridViewTextBoxColumn42, + this.dataGridViewComboBoxColumn20, + this.dataGridViewComboBoxColumn21, + this.dataGridViewComboBoxColumn22, + this.dataGridViewDateTimeInputColumn1, + this.dataGridViewTextBoxColumn43, + this.dataGridViewDateTimeInputColumn2, + this.dataGridViewTextBoxColumn44}); + dataGridViewCellStyle19.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle19.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle19.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle19.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle19.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle19.SelectionForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle19.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvDrugsSQ.DefaultCellStyle = dataGridViewCellStyle19; + this.dgvDrugsSQ.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvDrugsSQ.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvDrugsSQ.EnableHeadersVisualStyles = false; + this.dgvDrugsSQ.GridColor = System.Drawing.Color.FromArgb(((int)(((byte)(208)))), ((int)(((byte)(215)))), ((int)(((byte)(229))))); + this.dgvDrugsSQ.Location = new System.Drawing.Point(0, 0); + this.dgvDrugsSQ.Margin = new System.Windows.Forms.Padding(0); + this.dgvDrugsSQ.MultiSelect = false; + this.dgvDrugsSQ.Name = "dgvDrugsSQ"; + dataGridViewCellStyle20.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle20.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle20.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle20.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle20.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle20.SelectionForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle20.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDrugsSQ.RowHeadersDefaultCellStyle = dataGridViewCellStyle20; + this.dgvDrugsSQ.RowHeadersVisible = false; + this.dgvDrugsSQ.RowTemplate.Height = 25; + this.dgvDrugsSQ.ShowCellErrors = false; + this.dgvDrugsSQ.ShowCellToolTips = false; + this.dgvDrugsSQ.Size = new System.Drawing.Size(1070, 604); + this.dgvDrugsSQ.TabIndex = 16; + this.dgvDrugsSQ.DataError += new System.Windows.Forms.DataGridViewDataErrorEventHandler(this.dgvDrugs_DataError); + // + // dataGridViewImageColumn5 + // + this.dataGridViewImageColumn5.HeaderText = " "; + this.dataGridViewImageColumn5.Image = global::AIMS.Properties.Resources.SYSCRL; + this.dataGridViewImageColumn5.Name = "dataGridViewImageColumn5"; + this.dataGridViewImageColumn5.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewImageColumn5.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Programmatic; + this.dataGridViewImageColumn5.Width = 30; + // + // dataGridViewTextBoxColumn37 + // + dataGridViewCellStyle18.ForeColor = System.Drawing.Color.Red; + this.dataGridViewTextBoxColumn37.DefaultCellStyle = dataGridViewCellStyle18; + this.dataGridViewTextBoxColumn37.HeaderText = "组"; + this.dataGridViewTextBoxColumn37.Name = "dataGridViewTextBoxColumn37"; + this.dataGridViewTextBoxColumn37.Width = 30; + // + // dataGridViewTextBoxColumn38 + // + this.dataGridViewTextBoxColumn38.HeaderText = "类型"; + this.dataGridViewTextBoxColumn38.Name = "dataGridViewTextBoxColumn38"; + this.dataGridViewTextBoxColumn38.Visible = false; + this.dataGridViewTextBoxColumn38.Width = 60; + // + // dataGridViewTextBoxColumn39 + // + this.dataGridViewTextBoxColumn39.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.Fill; + this.dataGridViewTextBoxColumn39.HeaderText = "名称"; + this.dataGridViewTextBoxColumn39.Name = "dataGridViewTextBoxColumn39"; + this.dataGridViewTextBoxColumn39.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // dataGridViewComboEditBoxColumn1 + // + this.dataGridViewComboEditBoxColumn1.HeaderText = "备注"; + this.dataGridViewComboEditBoxColumn1.Name = "dataGridViewComboEditBoxColumn1"; + this.dataGridViewComboEditBoxColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + // + // dataGridViewComboBoxColumn17 + // + this.dataGridViewComboBoxColumn17.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn17.HeaderText = "途径"; + this.dataGridViewComboBoxColumn17.Name = "dataGridViewComboBoxColumn17"; + this.dataGridViewComboBoxColumn17.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn17.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn17.Width = 85; + // + // dataGridViewTextBoxColumn40 + // + this.dataGridViewTextBoxColumn40.HeaderText = "浓度"; + this.dataGridViewTextBoxColumn40.Name = "dataGridViewTextBoxColumn40"; + this.dataGridViewTextBoxColumn40.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn40.Width = 45; + // + // dataGridViewComboBoxColumn18 + // + this.dataGridViewComboBoxColumn18.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn18.HeaderText = "浓度单位"; + this.dataGridViewComboBoxColumn18.Name = "dataGridViewComboBoxColumn18"; + this.dataGridViewComboBoxColumn18.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn18.Width = 75; + // + // dataGridViewTextBoxColumn41 + // + this.dataGridViewTextBoxColumn41.HeaderText = "速度"; + this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41"; + this.dataGridViewTextBoxColumn41.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewTextBoxColumn41.Width = 45; + // + // dataGridViewComboBoxColumn19 + // + this.dataGridViewComboBoxColumn19.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn19.HeaderText = "速度单位"; + this.dataGridViewComboBoxColumn19.Name = "dataGridViewComboBoxColumn19"; + this.dataGridViewComboBoxColumn19.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn19.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn19.Width = 85; + // + // dataGridViewTextBoxColumn42 + // + this.dataGridViewTextBoxColumn42.HeaderText = "用量"; + this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42"; + this.dataGridViewTextBoxColumn42.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewTextBoxColumn42.Width = 60; + // + // dataGridViewComboBoxColumn20 + // + this.dataGridViewComboBoxColumn20.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn20.HeaderText = "单位"; + this.dataGridViewComboBoxColumn20.Name = "dataGridViewComboBoxColumn20"; + this.dataGridViewComboBoxColumn20.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn20.Width = 60; + // + // dataGridViewComboBoxColumn21 + // + this.dataGridViewComboBoxColumn21.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn21.HeaderText = "血型"; + this.dataGridViewComboBoxColumn21.Name = "dataGridViewComboBoxColumn21"; + this.dataGridViewComboBoxColumn21.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn21.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn21.Width = 45; + // + // dataGridViewComboBoxColumn22 + // + this.dataGridViewComboBoxColumn22.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewComboBoxColumn22.HeaderText = "加药方式"; + this.dataGridViewComboBoxColumn22.Name = "dataGridViewComboBoxColumn22"; + this.dataGridViewComboBoxColumn22.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewComboBoxColumn22.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewComboBoxColumn22.Visible = false; + this.dataGridViewComboBoxColumn22.Width = 80; + // + // dataGridViewDateTimeInputColumn1 + // + this.dataGridViewDateTimeInputColumn1.AutoAdvance = true; + // + // + // + this.dataGridViewDateTimeInputColumn1.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.dataGridViewDateTimeInputColumn1.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.dataGridViewDateTimeInputColumn1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn1.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText; + this.dataGridViewDateTimeInputColumn1.ButtonDropDown.Visible = true; + this.dataGridViewDateTimeInputColumn1.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.dataGridViewDateTimeInputColumn1.HeaderText = "开始时间"; + this.dataGridViewDateTimeInputColumn1.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Center; + // + // + // + // + // + // + this.dataGridViewDateTimeInputColumn1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn1.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.dataGridViewDateTimeInputColumn1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn1.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.dataGridViewDateTimeInputColumn1.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.dataGridViewDateTimeInputColumn1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn1.MonthCalendar.Visible = false; + this.dataGridViewDateTimeInputColumn1.Name = "dataGridViewDateTimeInputColumn1"; + this.dataGridViewDateTimeInputColumn1.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewDateTimeInputColumn1.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewDateTimeInputColumn1.Width = 80; + // + // dataGridViewTextBoxColumn43 + // + this.dataGridViewTextBoxColumn43.HeaderText = "持续"; + this.dataGridViewTextBoxColumn43.Name = "dataGridViewTextBoxColumn43"; + this.dataGridViewTextBoxColumn43.Width = 45; + // + // dataGridViewDateTimeInputColumn2 + // + this.dataGridViewDateTimeInputColumn2.AutoAdvance = true; + // + // + // + this.dataGridViewDateTimeInputColumn2.BackgroundStyle.BackColor = System.Drawing.SystemColors.Window; + this.dataGridViewDateTimeInputColumn2.BackgroundStyle.Class = "DataGridViewDateTimeBorder"; + this.dataGridViewDateTimeInputColumn2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn2.BackgroundStyle.TextColor = System.Drawing.SystemColors.WindowText; + this.dataGridViewDateTimeInputColumn2.ButtonDropDown.Visible = true; + this.dataGridViewDateTimeInputColumn2.Format = DevComponents.Editors.eDateTimePickerFormat.ShortTime; + this.dataGridViewDateTimeInputColumn2.HeaderText = "结束时间"; + this.dataGridViewDateTimeInputColumn2.InputHorizontalAlignment = DevComponents.Editors.eHorizontalAlignment.Left; + // + // + // + // + // + // + this.dataGridViewDateTimeInputColumn2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn2.MonthCalendar.CalendarDimensions = new System.Drawing.Size(1, 1); + // + // + // + this.dataGridViewDateTimeInputColumn2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn2.MonthCalendar.DisplayMonth = new System.DateTime(2018, 1, 1, 0, 0, 0, 0); + this.dataGridViewDateTimeInputColumn2.MonthCalendar.FirstDayOfWeek = System.DayOfWeek.Monday; + // + // + // + this.dataGridViewDateTimeInputColumn2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dataGridViewDateTimeInputColumn2.MonthCalendar.Visible = false; + this.dataGridViewDateTimeInputColumn2.Name = "dataGridViewDateTimeInputColumn2"; + this.dataGridViewDateTimeInputColumn2.Resizable = System.Windows.Forms.DataGridViewTriState.True; + this.dataGridViewDateTimeInputColumn2.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.NotSortable; + this.dataGridViewDateTimeInputColumn2.Width = 80; + // + // dataGridViewTextBoxColumn44 + // + this.dataGridViewTextBoxColumn44.DisplayStyle = System.Windows.Forms.DataGridViewComboBoxDisplayStyle.Nothing; + this.dataGridViewTextBoxColumn44.HeaderText = "通路"; + this.dataGridViewTextBoxColumn44.Items.AddRange(new object[] { + "", + "1", + "2", + "3", + "4"}); + this.dataGridViewTextBoxColumn44.Name = "dataGridViewTextBoxColumn44"; + this.dataGridViewTextBoxColumn44.Resizable = System.Windows.Forms.DataGridViewTriState.False; + this.dataGridViewTextBoxColumn44.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic; + this.dataGridViewTextBoxColumn44.Width = 50; + // + // P1 + // + this.P1.AttachedControl = this.superTabControlPanel4; + this.P1.GlobalItem = false; + this.P1.Name = "P1"; + this.P1.Text = "麻醉前用药"; + // // superTabControlPanel1 // this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; @@ -1474,7 +1474,6 @@ this.TabSelDrugs.ControlBox.MenuBox, this.TabSelDrugs.ControlBox.CloseBox}); this.TabSelDrugs.Dock = System.Windows.Forms.DockStyle.Fill; - this.TabSelDrugs.HorizontalText = false; this.TabSelDrugs.Location = new System.Drawing.Point(0, 0); this.TabSelDrugs.Name = "TabSelDrugs"; this.TabSelDrugs.ReorderTabsEnabled = true; @@ -1565,14 +1564,14 @@ this.dgvYP.AllowUserToAddRows = false; this.dgvYP.AllowUserToDeleteRows = false; this.dgvYP.BackgroundColor = System.Drawing.Color.White; - dataGridViewCellStyle44.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle44.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle44.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle44.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle44.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle44.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle44.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvYP.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle44; + dataGridViewCellStyle21.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle21.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle21.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle21.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle21.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle21.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle21.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvYP.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle21; this.dgvYP.ColumnHeadersHeight = 30; this.dgvYP.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { this.id, @@ -1587,14 +1586,14 @@ this.Factroy, this.Channel, this.Remark}); - dataGridViewCellStyle45.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle45.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle45.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle45.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle45.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle45.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle45.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvYP.DefaultCellStyle = dataGridViewCellStyle45; + dataGridViewCellStyle22.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle22.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle22.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle22.ForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle22.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle22.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle22.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvYP.DefaultCellStyle = dataGridViewCellStyle22; this.dgvYP.EnableHeadersVisualStyles = false; this.dgvYP.Location = new System.Drawing.Point(208, 203); this.dgvYP.Name = "dgvYP"; @@ -1712,14 +1711,14 @@ this.dgvDosage.AllowUserToDeleteRows = false; this.dgvDosage.BackgroundColor = System.Drawing.Color.White; this.dgvDosage.CellBorderStyle = System.Windows.Forms.DataGridViewCellBorderStyle.None; - dataGridViewCellStyle46.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle46.BackColor = System.Drawing.Color.White; - dataGridViewCellStyle46.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle46.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle46.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle46.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle46.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvDosage.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle46; + dataGridViewCellStyle23.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; + dataGridViewCellStyle23.BackColor = System.Drawing.Color.White; + dataGridViewCellStyle23.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle23.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle23.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle23.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle23.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvDosage.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle23; this.dgvDosage.ColumnHeadersHeight = 30; this.dgvDosage.ColumnHeadersVisible = false; this.dgvDosage.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { @@ -1778,12 +1777,12 @@ this.tabDrugs.ResumeLayout(false); this.superTabControlPanel3.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsYD)).EndInit(); - this.superTabControlPanel4.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).EndInit(); this.superTabControlPanel6.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSH)).EndInit(); this.superTabControlPanel5.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSZ)).EndInit(); + this.superTabControlPanel4.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvDrugsSQ)).EndInit(); this.panelleft.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.TabSelDrugs)).EndInit(); this.panel2.ResumeLayout(false); diff --git a/AIMS/OperationAanesthesia/frmFactDrugNew.cs b/AIMS/OperationAanesthesia/frmFactDrugNew.cs index 1642713..5b7e4c2 100644 --- a/AIMS/OperationAanesthesia/frmFactDrugNew.cs +++ b/AIMS/OperationAanesthesia/frmFactDrugNew.cs @@ -1080,13 +1080,13 @@ namespace AIMS.PublicUI.UI try { btnSave.Focus(); - if (SaveValid(dgvDrugsSQ, 0)) Save(dgvDrugsSQ, 0); + if (SaveValid(dgvDrugsSQ, 1)) Save(dgvDrugsSQ, 0); else return; - if (SaveValid(dgvDrugsSZ, 1)) Save(dgvDrugsSZ, 1); + if (SaveValid(dgvDrugsSZ, 2)) Save(dgvDrugsSZ, 1); else return; - if (SaveValid(dgvDrugsSH, 2)) Save(dgvDrugsSH, 2); + if (SaveValid(dgvDrugsSH, 3)) Save(dgvDrugsSH, 2); else return; - if (SaveValid(dgvDrugsYD, 3)) Save(dgvDrugsYD, 3); + if (SaveValid(dgvDrugsYD, 0)) Save(dgvDrugsYD, 3); else return; new frmMessageBox().Show(); @@ -1340,7 +1340,13 @@ namespace AIMS.PublicUI.UI List AnaesthesiaList = BAnaesthesiaEvents.Select(" IsAutomatic=1 and IsValid=1 ", null, RecursiveType.None, 0); foreach (AnaesthesiaEvents item in AnaesthesiaList) { - SuperTabItem spt = stc.CreateTab(item.Name); + string Name = ""; + char[] separatedCharacters = item.Name.ToCharArray(); + for (int i = 0; i < separatedCharacters.Length; i++) + { + Name += separatedCharacters[i] + "\n"; + } + SuperTabItem spt = stc.CreateTab(Name); spt.Tag = item.TheEventsId; spt.SymbolColor = Color.White; SuperTabControlPanel superTabControlPanel = new SuperTabControlPanel(); @@ -1351,6 +1357,7 @@ namespace AIMS.PublicUI.UI TabSelDrugs.Controls.Add(superTabControlPanel); TabSelDrugs.Tabs.Add(spt); } + TabSelDrugs.FixedTabSize=new Size (30,65); this.TabSelDrugs.SelectedTabChanged += new System.EventHandler(this.superTabControl1_SelectedTabChanged); TabSelDrugs.SelectedTab = TabSelDrugs.Tabs[0] as SuperTabItem; superTabControl1_SelectedTabChanged(null, null); diff --git a/AIMS/OperationAanesthesia/frmFactDrugNew.resx b/AIMS/OperationAanesthesia/frmFactDrugNew.resx index e387515..9477963 100644 --- a/AIMS/OperationAanesthesia/frmFactDrugNew.resx +++ b/AIMS/OperationAanesthesia/frmFactDrugNew.resx @@ -137,7 +137,7 @@ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0 ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAi - CAAAAk1TRnQBSQFMAgEBAgEAAZABBgGQAQYBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ + CAAAAk1TRnQBSQFMAgEBAgEAAZgBBgGYAQYBFAEAARQBAAT/ASEBAAj/AUIBTQE2BwABNgMAASgDAAFQ AwABFAMAAQEBAAEgBgABGS4AA1UBrwOAAf4DKwH8AysB/AGZAYsBQAH9AaEBkgEAAf8BkwGCAQAB/wGW AYcBQAH9AaMBlAEAAf8BowGUAQAB/wGjAZQBAAH/AysB/ANgAej/AA0AAZMBggEAAf8DYgH2A20B9wNt AfcDXAH4A4AB/gGXAYYBAAH/A20B9wHsAecB5AH/AewB5wHkAf8B7AHnAeQB/wNtAfcBkwGCAQAB//8A @@ -164,9 +164,9 @@ AfwB/gH6AfsB/wH+AfoB+wH/Af4B+gH7Av8C/QH/AZMBggEAAf//AA0AAZMBggEAAf8DYAHzAf4B+wH8 Af8B/gH7AfwB/wH+AfsB/AH/AfsB+AH5Af8BmwGLAQAB/wMrAfwB/gH7AfwB/wH+AfsB/AH/Af4B+wH8 Av8C/QH/AZMBggEAAf//AA0AAm0BbAH3A1wB+AOAAf4DgAH+A4AB/gOAAf4BmAGHAQAB/wMrAfwB1AHN - AcIB/wHUAc0BwgH/AdQBzQHCAf8DgAH+AZMBggEAAf//AAkAAwMBBANQAZoBkgGCAQAB/wKAAX0B/gKA - AX0B/gKAAX0B/gGTAYIBAAH/AZMBggEAAf8BjgGBAQAB/wGTAYIBAAH/AZMBggEAAf8BkwGCAQAB/wKA - AX0B/gNaAb3/AAkAAwMBBAMSARcDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEz + AcIB/wHUAc0BwgH/AdQBzQHCAf8DgAH+AZMBggEAAf//AAkAAwMBBANQAZoBkgGCAQAB/wKAAX4B/gKA + AX4B/gKAAX4B/gGTAYIBAAH/AZMBggEAAf8BjgGBAQAB/wGTAYIBAAH/AZMBggEAAf8BkwGCAQAB/wKA + AX4B/gNaAb3/AAkAAwMBBAMSARcDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEzAyMBMwMjATMDIwEz AyMBMwMWAR7/AA0AAwUBBgMEAQUDBAEFAwQBBQMEBAUBBgMFAQYDBQEGAwUBBgMFAQYDBQEGAwUBBgMD AQTwAAFCAU0BPgcAAT4DAAEoAwABUAMAARQDAAEBAQABAQUAAfAXAAP/AQAB/gEAAQ8C/wcAAf4BAAEP Av8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAf4BAAEPAv8HAAH+AQABDwL/BwAB/gEAAQ8C/wcAAYABAAEP diff --git a/AIMS/OperationAanesthesia/frmFactEventsNew.Designer.cs b/AIMS/OperationAanesthesia/frmFactEventsNew.Designer.cs index 6877aa3..f9301b1 100644 --- a/AIMS/OperationAanesthesia/frmFactEventsNew.Designer.cs +++ b/AIMS/OperationAanesthesia/frmFactEventsNew.Designer.cs @@ -374,7 +374,6 @@ namespace AIMS.PublicUI.UI this.TabSelEvents.Controls.Add(this.XuePanel); this.TabSelEvents.Controls.Add(this.SapPanel); this.TabSelEvents.Dock = System.Windows.Forms.DockStyle.Fill; - this.TabSelEvents.HorizontalText = false; this.TabSelEvents.Location = new System.Drawing.Point(0, 42); this.TabSelEvents.Name = "TabSelEvents"; this.TabSelEvents.ReorderTabsEnabled = true; @@ -393,9 +392,9 @@ namespace AIMS.PublicUI.UI // superTabControlPanel1 // this.superTabControlPanel1.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel1.Location = new System.Drawing.Point(30, 0); + this.superTabControlPanel1.Location = new System.Drawing.Point(42, 0); this.superTabControlPanel1.Name = "superTabControlPanel1"; - this.superTabControlPanel1.Size = new System.Drawing.Size(322, 519); + this.superTabControlPanel1.Size = new System.Drawing.Size(310, 519); this.superTabControlPanel1.TabIndex = 0; this.superTabControlPanel1.TabItem = this.tab1; // @@ -405,96 +404,96 @@ namespace AIMS.PublicUI.UI this.tab1.GlobalItem = false; this.tab1.Name = "tab1"; this.tab1.SymbolColor = System.Drawing.Color.White; - this.tab1.Text = "常用事件"; + this.tab1.Text = "常\r\n用\r\n事\r\n件"; // // superTabControlPanel8 // this.superTabControlPanel8.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel8.Location = new System.Drawing.Point(30, 0); + this.superTabControlPanel8.Location = new System.Drawing.Point(42, 0); this.superTabControlPanel8.Name = "superTabControlPanel8"; - this.superTabControlPanel8.Size = new System.Drawing.Size(322, 519); + this.superTabControlPanel8.Size = new System.Drawing.Size(310, 519); this.superTabControlPanel8.TabIndex = 0; // // superTabControlPanel7 // this.superTabControlPanel7.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel7.Location = new System.Drawing.Point(30, 0); + this.superTabControlPanel7.Location = new System.Drawing.Point(42, 0); this.superTabControlPanel7.Name = "superTabControlPanel7"; - this.superTabControlPanel7.Size = new System.Drawing.Size(322, 519); + this.superTabControlPanel7.Size = new System.Drawing.Size(310, 519); this.superTabControlPanel7.TabIndex = 0; // // superTabControlPanel6 // this.superTabControlPanel6.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel6.Location = new System.Drawing.Point(30, 0); + this.superTabControlPanel6.Location = new System.Drawing.Point(42, 0); this.superTabControlPanel6.Name = "superTabControlPanel6"; - this.superTabControlPanel6.Size = new System.Drawing.Size(322, 519); + this.superTabControlPanel6.Size = new System.Drawing.Size(310, 519); this.superTabControlPanel6.TabIndex = 0; // // superTabControlPanel5 // this.superTabControlPanel5.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel5.Location = new System.Drawing.Point(30, 0); + this.superTabControlPanel5.Location = new System.Drawing.Point(42, 0); this.superTabControlPanel5.Name = "superTabControlPanel5"; - this.superTabControlPanel5.Size = new System.Drawing.Size(322, 519); + this.superTabControlPanel5.Size = new System.Drawing.Size(310, 519); this.superTabControlPanel5.TabIndex = 0; // // superTabControlPanel4 // this.superTabControlPanel4.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel4.Location = new System.Drawing.Point(30, 0); + this.superTabControlPanel4.Location = new System.Drawing.Point(42, 0); this.superTabControlPanel4.Name = "superTabControlPanel4"; - this.superTabControlPanel4.Size = new System.Drawing.Size(322, 519); + this.superTabControlPanel4.Size = new System.Drawing.Size(310, 519); this.superTabControlPanel4.TabIndex = 0; // // superTabControlPanel3 // this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel3.Location = new System.Drawing.Point(30, 0); + this.superTabControlPanel3.Location = new System.Drawing.Point(42, 0); this.superTabControlPanel3.Name = "superTabControlPanel3"; - this.superTabControlPanel3.Size = new System.Drawing.Size(322, 519); + this.superTabControlPanel3.Size = new System.Drawing.Size(310, 519); this.superTabControlPanel3.TabIndex = 0; // // superTabControlPanel2 // this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel2.Location = new System.Drawing.Point(30, 0); + this.superTabControlPanel2.Location = new System.Drawing.Point(42, 0); this.superTabControlPanel2.Name = "superTabControlPanel2"; - this.superTabControlPanel2.Size = new System.Drawing.Size(322, 519); + this.superTabControlPanel2.Size = new System.Drawing.Size(310, 519); this.superTabControlPanel2.TabIndex = 0; // // AnesPanel // this.AnesPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.AnesPanel.Location = new System.Drawing.Point(30, 0); + this.AnesPanel.Location = new System.Drawing.Point(42, 0); this.AnesPanel.Name = "AnesPanel"; - this.AnesPanel.Size = new System.Drawing.Size(322, 519); + this.AnesPanel.Size = new System.Drawing.Size(310, 519); this.AnesPanel.TabIndex = 0; // // DrugsPanel // this.DrugsPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.DrugsPanel.Location = new System.Drawing.Point(30, 0); + this.DrugsPanel.Location = new System.Drawing.Point(42, 0); this.DrugsPanel.Name = "DrugsPanel"; - this.DrugsPanel.Size = new System.Drawing.Size(322, 519); + this.DrugsPanel.Size = new System.Drawing.Size(310, 519); this.DrugsPanel.TabIndex = 1; this.DrugsPanel.Text = " "; // // XuePanel // this.XuePanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.XuePanel.Location = new System.Drawing.Point(30, 0); + this.XuePanel.Location = new System.Drawing.Point(42, 0); this.XuePanel.Name = "XuePanel"; - this.XuePanel.Size = new System.Drawing.Size(322, 519); + this.XuePanel.Size = new System.Drawing.Size(310, 519); this.XuePanel.TabIndex = 0; this.XuePanel.Text = " "; // // SapPanel // this.SapPanel.Dock = System.Windows.Forms.DockStyle.Fill; - this.SapPanel.Location = new System.Drawing.Point(30, 0); + this.SapPanel.Location = new System.Drawing.Point(42, 0); this.SapPanel.Name = "SapPanel"; - this.SapPanel.Size = new System.Drawing.Size(322, 519); + this.SapPanel.Size = new System.Drawing.Size(310, 519); this.SapPanel.TabIndex = 0; this.SapPanel.Text = " "; // diff --git a/AIMS/OperationAanesthesia/frmFactEventsNew.cs b/AIMS/OperationAanesthesia/frmFactEventsNew.cs index f35a49f..39194a4 100644 --- a/AIMS/OperationAanesthesia/frmFactEventsNew.cs +++ b/AIMS/OperationAanesthesia/frmFactEventsNew.cs @@ -286,10 +286,10 @@ namespace AIMS.PublicUI.UI if (dgvEvents.CurrentCell.Tag != null && BEvents.SelectSingle(int.Parse(dgvEvents.CurrentCell.Tag.ToString())).Name != dgvEvents.CurrentCell.Value.ToString()) { dgvEvents.CurrentCell.Tag = null; - } + } } - if ( dgvEvents.CurrentCell.ColumnIndex == 1) - { + if (dgvEvents.CurrentCell.ColumnIndex == 1) + { if (dgvEvents.Rows[e.RowIndex].Cells["BeginTime"].EditedFormattedValue.ToString() == "") { dgvEvents.Rows[e.RowIndex].Cells["BeginTime"].Value = DateTime.Now.ToString("yyyy-MM-dd HH:mm");//默认当前时间‘ @@ -405,13 +405,13 @@ namespace AIMS.PublicUI.UI } //} } - else + else + { + if (dgvEvents.CurrentRow.Cells["EventName"].Value != null) { - if (dgvEvents.CurrentRow.Cells["EventName"].Value != null) - { - dgvEvents.Rows.Remove(dgvEvents.CurrentRow); - } + dgvEvents.Rows.Remove(dgvEvents.CurrentRow); } + } } private void btnSave_Click(object sender, EventArgs e) @@ -810,7 +810,13 @@ namespace AIMS.PublicUI.UI List AnaesthesiaList = BAnaesthesiaEvents.Select(" IsAutomatic=2 and IsValid=1 ", null, RecursiveType.None, 0); foreach (AnaesthesiaEvents item in AnaesthesiaList) { - SuperTabItem spt = stc.CreateTab(item.Name); + string Name = ""; + char[] separatedCharacters = item.Name.ToCharArray(); + for (int i = 0; i < separatedCharacters.Length; i++) + { + Name += separatedCharacters[i] + "\n"; + } + SuperTabItem spt = stc.CreateTab(Name); spt.Tag = item.TheEventsId; spt.SymbolColor = Color.White; SuperTabControlPanel superTabControlPanel = new SuperTabControlPanel(); @@ -820,7 +826,8 @@ namespace AIMS.PublicUI.UI TabSelEvents.Tabs.Add(spt); superTabControlPanel.TabItem = spt; spt.AttachedControl = superTabControlPanel; - } + TabSelEvents.FixedTabSize = new Size(30, 100); + }; } catch (Exception ex) { diff --git a/AIMS/OperationAfter/frmOperationCharg4.cs b/AIMS/OperationAfter/frmOperationCharg4.cs deleted file mode 100644 index d467ae1..0000000 --- a/AIMS/OperationAfter/frmOperationCharg4.cs +++ /dev/null @@ -1,78 +0,0 @@ -using AIMSBLL; -using AIMSExtension; -using AIMSModel; -using DevComponents.Editors; -using System; -using System.Collections.Generic; -using System.Data; -using System.Windows.Forms; - -namespace AIMS.OperationAfter.UI -{ - public partial class frmOperationCharg4 : Form - { - - DataTable operationApplys; - public string FeeType = "麻醉"; - public List upHisDrugs; - - public frmOperationCharg4() - { - InitializeComponent(); - } - - private void frmOperationDruggCheck_Load(object sender, EventArgs e) - { - try - { - dtpOpeTime.Value = DateTime.Now; - dtpEnd.Value = dtpOpeTime.Value; - - btnOK_Click(null, null); - } - catch (Exception exp) - { - PublicMethod.WriteLog(exp); - } - } - private void btnOK_Click(object sender, EventArgs e) - { - string beginTime = Convert.ToDateTime(dtpOpeTime.Value).ToString("yyyy-MM-dd HH:mm:00"); - string endTime = Convert.ToDateTime(dtpEnd.Value).ToString("yyyy-MM-dd HH:mm:00"); - string sql = string.Format(" ExecTime>='{0}' and ExecTime<'{1}'", beginTime, endTime); - if (FeeType != "") - { - sql += " and (FeeType = '" + FeeType + "' ) "; - } - - if (rdoZQ.Checked == true) - { - operationApplys = BFeesRecordReport.GetUpListByWhere(sql); - dgvtEMPOperationInfos.DataSource = operationApplys; - } - } - - private void toolStripButton10_Click(object sender, EventArgs e) - { - this.Close(); - } - - private void button1_Click(object sender, EventArgs e) - { - } - - - private void voidableRadioButton2_CheckedChanged(object sender, EventArgs e) - { - if (rdoMz.Checked == true) - { - FeeType = "麻醉"; - } - else - { - FeeType = "护士"; - } - } - - } -} diff --git a/AIMS/OperationAfter/frmOperationCharg4.designer.cs b/AIMS/OperationAfter/frmOperationCharg4.designer.cs deleted file mode 100644 index 2218784..0000000 --- a/AIMS/OperationAfter/frmOperationCharg4.designer.cs +++ /dev/null @@ -1,668 +0,0 @@ -namespace AIMS.OperationAfter.UI -{ - partial class frmOperationCharg4 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - this.panel1 = new System.Windows.Forms.Panel(); - this.toolStripButton10 = new System.Windows.Forms.Button(); - this.panel2 = new System.Windows.Forms.Panel(); - this.panel4 = new System.Windows.Forms.Panel(); - this.rdoHs = new System.Windows.Forms.RadioButton(); - this.rdoMz = new System.Windows.Forms.RadioButton(); - this.panel3 = new System.Windows.Forms.Panel(); - this.rdoJZ = new System.Windows.Forms.RadioButton(); - this.rdoZQ = new System.Windows.Forms.RadioButton(); - this.dtpEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.dtpOpeTime = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.label24 = new System.Windows.Forms.Label(); - this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); - this.labDate = new System.Windows.Forms.Label(); - this.dgvtEMPOperationInfos = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn2 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn3 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.toolStrip1 = new System.Windows.Forms.ToolStrip(); - this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); - this.panel1.SuspendLayout(); - this.panel2.SuspendLayout(); - this.panel4.SuspendLayout(); - this.panel3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvtEMPOperationInfos)).BeginInit(); - this.toolStrip1.SuspendLayout(); - this.SuspendLayout(); - // - // panel1 - // - this.panel1.BackColor = System.Drawing.Color.Transparent; - this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.panel1.Controls.Add(this.toolStrip1); - this.panel1.Controls.Add(this.toolStripButton10); - this.panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1350, 53); - this.panel1.TabIndex = 0; - // - // toolStripButton10 - // - this.toolStripButton10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.toolStripButton10.Cursor = System.Windows.Forms.Cursors.Hand; - this.toolStripButton10.FlatAppearance.BorderSize = 0; - this.toolStripButton10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.toolStripButton10.Font = new System.Drawing.Font("微软雅黑", 11F); - this.toolStripButton10.Location = new System.Drawing.Point(1257, 8); - this.toolStripButton10.Name = "toolStripButton10"; - this.toolStripButton10.Size = new System.Drawing.Size(90, 30); - this.toolStripButton10.TabIndex = 0; - this.toolStripButton10.Text = "关闭"; - this.toolStripButton10.UseVisualStyleBackColor = true; - this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click); - // - // panel2 - // - this.panel2.BackColor = System.Drawing.Color.WhiteSmoke; - this.panel2.Controls.Add(this.panel4); - this.panel2.Controls.Add(this.panel3); - this.panel2.Controls.Add(this.dtpEnd); - this.panel2.Controls.Add(this.dtpOpeTime); - this.panel2.Controls.Add(this.label24); - this.panel2.Controls.Add(this.buttonX1); - this.panel2.Controls.Add(this.labDate); - this.panel2.Dock = System.Windows.Forms.DockStyle.Top; - this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.panel2.Location = new System.Drawing.Point(0, 53); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1350, 57); - this.panel2.TabIndex = 387; - // - // panel4 - // - this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel4.Controls.Add(this.rdoHs); - this.panel4.Controls.Add(this.rdoMz); - this.panel4.Location = new System.Drawing.Point(21, 11); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(177, 33); - this.panel4.TabIndex = 474; - // - // rdoHs - // - this.rdoHs.AutoSize = true; - this.rdoHs.Location = new System.Drawing.Point(93, 5); - this.rdoHs.Name = "rdoHs"; - this.rdoHs.Size = new System.Drawing.Size(83, 24); - this.rdoHs.TabIndex = 0; - this.rdoHs.Text = "护士收费"; - this.rdoHs.UseVisualStyleBackColor = true; - this.rdoHs.CheckedChanged += new System.EventHandler(this.voidableRadioButton2_CheckedChanged); - // - // rdoMz - // - this.rdoMz.AutoSize = true; - this.rdoMz.Checked = true; - this.rdoMz.Location = new System.Drawing.Point(2, 5); - this.rdoMz.Name = "rdoMz"; - this.rdoMz.Size = new System.Drawing.Size(83, 24); - this.rdoMz.TabIndex = 0; - this.rdoMz.TabStop = true; - this.rdoMz.Text = "麻醉收费"; - this.rdoMz.UseVisualStyleBackColor = true; - this.rdoMz.CheckedChanged += new System.EventHandler(this.voidableRadioButton2_CheckedChanged); - // - // panel3 - // - this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel3.Controls.Add(this.rdoJZ); - this.panel3.Controls.Add(this.rdoZQ); - this.panel3.Location = new System.Drawing.Point(216, 11); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(172, 33); - this.panel3.TabIndex = 473; - // - // rdoJZ - // - this.rdoJZ.AutoSize = true; - this.rdoJZ.Location = new System.Drawing.Point(86, 5); - this.rdoJZ.Name = "rdoJZ"; - this.rdoJZ.Size = new System.Drawing.Size(55, 24); - this.rdoJZ.TabIndex = 0; - this.rdoJZ.Text = "耗材"; - this.rdoJZ.UseVisualStyleBackColor = true; - // - // rdoZQ - // - this.rdoZQ.AutoSize = true; - this.rdoZQ.Checked = true; - this.rdoZQ.Location = new System.Drawing.Point(11, 5); - this.rdoZQ.Name = "rdoZQ"; - this.rdoZQ.Size = new System.Drawing.Size(55, 24); - this.rdoZQ.TabIndex = 0; - this.rdoZQ.TabStop = true; - this.rdoZQ.Text = "药品"; - this.rdoZQ.UseVisualStyleBackColor = true; - // - // dtpEnd - // - // - // - // - this.dtpEnd.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; - this.dtpEnd.ButtonDropDown.Visible = true; - this.dtpEnd.CustomFormat = "yyyy-MM-dd HH:mm"; - this.dtpEnd.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); - this.dtpEnd.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; - this.dtpEnd.IsPopupCalendarOpen = false; - this.dtpEnd.Location = new System.Drawing.Point(692, 15); - // - // - // - // - // - // - this.dtpEnd.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.dtpEnd.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); - // - // - // - this.dtpEnd.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd.Name = "dtpEnd"; - this.dtpEnd.Size = new System.Drawing.Size(200, 26); - this.dtpEnd.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.dtpEnd.TabIndex = 472; - // - // dtpOpeTime - // - // - // - // - this.dtpOpeTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; - this.dtpOpeTime.ButtonDropDown.Visible = true; - this.dtpOpeTime.CustomFormat = "yyyy-MM-dd HH:mm"; - this.dtpOpeTime.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); - this.dtpOpeTime.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; - this.dtpOpeTime.IsPopupCalendarOpen = false; - this.dtpOpeTime.Location = new System.Drawing.Point(476, 14); - // - // - // - // - // - // - this.dtpOpeTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.dtpOpeTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); - // - // - // - this.dtpOpeTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime.Name = "dtpOpeTime"; - this.dtpOpeTime.Size = new System.Drawing.Size(200, 26); - this.dtpOpeTime.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.dtpOpeTime.TabIndex = 471; - // - // label24 - // - this.label24.AutoSize = true; - this.label24.Location = new System.Drawing.Point(676, 17); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(15, 20); - this.label24.TabIndex = 470; - this.label24.Text = "-"; - // - // buttonX1 - // - this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 11.5F); - this.buttonX1.Location = new System.Drawing.Point(902, 14); - this.buttonX1.Name = "buttonX1"; - this.buttonX1.Size = new System.Drawing.Size(90, 29); - this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.buttonX1.TabIndex = 467; - this.buttonX1.Text = "查询"; - this.buttonX1.Click += new System.EventHandler(this.btnOK_Click); - // - // labDate - // - this.labDate.AutoSize = true; - this.labDate.Location = new System.Drawing.Point(402, 18); - this.labDate.Name = "labDate"; - this.labDate.Size = new System.Drawing.Size(68, 20); - this.labDate.TabIndex = 421; - this.labDate.Text = "查询时间:"; - // - // dgvtEMPOperationInfos - // - this.dgvtEMPOperationInfos.AllowUserToAddRows = false; - this.dgvtEMPOperationInfos.AllowUserToDeleteRows = false; - this.dgvtEMPOperationInfos.AllowUserToResizeColumns = false; - this.dgvtEMPOperationInfos.AllowUserToResizeRows = false; - this.dgvtEMPOperationInfos.BackgroundColor = System.Drawing.Color.White; - this.dgvtEMPOperationInfos.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.dgvtEMPOperationInfos.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 10.5F); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle1.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvtEMPOperationInfos.DefaultCellStyle = dataGridViewCellStyle1; - this.dgvtEMPOperationInfos.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvtEMPOperationInfos.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; - this.dgvtEMPOperationInfos.GridColor = System.Drawing.Color.Black; - this.dgvtEMPOperationInfos.Location = new System.Drawing.Point(0, 110); - this.dgvtEMPOperationInfos.MultiSelect = false; - this.dgvtEMPOperationInfos.Name = "dgvtEMPOperationInfos"; - this.dgvtEMPOperationInfos.ReadOnly = true; - this.dgvtEMPOperationInfos.RowHeadersVisible = false; - this.dgvtEMPOperationInfos.RowTemplate.Height = 23; - this.dgvtEMPOperationInfos.ShowCellErrors = false; - this.dgvtEMPOperationInfos.ShowCellToolTips = false; - this.dgvtEMPOperationInfos.Size = new System.Drawing.Size(1350, 431); - this.dgvtEMPOperationInfos.TabIndex = 389; - // - // dataGridViewTextBoxColumn1 - // - this.dataGridViewTextBoxColumn1.DataPropertyName = "OperationRecordId"; - this.dataGridViewTextBoxColumn1.HeaderText = "手术ID"; - this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; - this.dataGridViewTextBoxColumn1.ReadOnly = true; - this.dataGridViewTextBoxColumn1.Visible = false; - this.dataGridViewTextBoxColumn1.Width = 167; - // - // dataGridViewTextBoxColumn2 - // - this.dataGridViewTextBoxColumn2.DataPropertyName = "OperationApplyId"; - this.dataGridViewTextBoxColumn2.HeaderText = "申请ID"; - this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; - this.dataGridViewTextBoxColumn2.ReadOnly = true; - this.dataGridViewTextBoxColumn2.Visible = false; - this.dataGridViewTextBoxColumn2.Width = 166; - // - // dataGridViewTextBoxColumn3 - // - this.dataGridViewTextBoxColumn3.DataPropertyName = "PatientId"; - this.dataGridViewTextBoxColumn3.HeaderText = "病人ID"; - this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; - this.dataGridViewTextBoxColumn3.ReadOnly = true; - this.dataGridViewTextBoxColumn3.Visible = false; - this.dataGridViewTextBoxColumn3.Width = 60; - // - // dataGridViewTextBoxColumn4 - // - this.dataGridViewTextBoxColumn4.DataPropertyName = "code"; - this.dataGridViewTextBoxColumn4.HeaderText = "序号"; - this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; - this.dataGridViewTextBoxColumn4.ReadOnly = true; - this.dataGridViewTextBoxColumn4.Visible = false; - this.dataGridViewTextBoxColumn4.Width = 75; - // - // dataGridViewTextBoxColumn5 - // - this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.dataGridViewTextBoxColumn5.DataPropertyName = "OperationPriority"; - this.dataGridViewTextBoxColumn5.FillWeight = 137.1497F; - this.dataGridViewTextBoxColumn5.HeaderText = "手术分类"; - this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; - this.dataGridViewTextBoxColumn5.ReadOnly = true; - this.dataGridViewTextBoxColumn5.Visible = false; - this.dataGridViewTextBoxColumn5.Width = 112; - // - // dataGridViewTextBoxColumn6 - // - this.dataGridViewTextBoxColumn6.DataPropertyName = "DepartmentName"; - this.dataGridViewTextBoxColumn6.FillWeight = 80.11563F; - this.dataGridViewTextBoxColumn6.HeaderText = "科室"; - this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; - this.dataGridViewTextBoxColumn6.ReadOnly = true; - this.dataGridViewTextBoxColumn6.Visible = false; - this.dataGridViewTextBoxColumn6.Width = 66; - // - // dataGridViewTextBoxColumn7 - // - this.dataGridViewTextBoxColumn7.DataPropertyName = "SZOperationRoom"; - this.dataGridViewTextBoxColumn7.FillWeight = 65.36763F; - this.dataGridViewTextBoxColumn7.HeaderText = "手术间"; - this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; - this.dataGridViewTextBoxColumn7.ReadOnly = true; - this.dataGridViewTextBoxColumn7.Width = 82; - // - // dataGridViewTextBoxColumn8 - // - this.dataGridViewTextBoxColumn8.DataPropertyName = "InHospitalNo"; - this.dataGridViewTextBoxColumn8.FillWeight = 93.9558F; - this.dataGridViewTextBoxColumn8.HeaderText = "住院号"; - this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; - this.dataGridViewTextBoxColumn8.ReadOnly = true; - this.dataGridViewTextBoxColumn8.Width = 77; - // - // dataGridViewTextBoxColumn9 - // - this.dataGridViewTextBoxColumn9.DataPropertyName = "MedicalHistoryNo"; - this.dataGridViewTextBoxColumn9.FillWeight = 92.42704F; - this.dataGridViewTextBoxColumn9.HeaderText = "病历号"; - this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; - this.dataGridViewTextBoxColumn9.ReadOnly = true; - this.dataGridViewTextBoxColumn9.Visible = false; - this.dataGridViewTextBoxColumn9.Width = 76; - // - // dataGridViewTextBoxColumn10 - // - this.dataGridViewTextBoxColumn10.DataPropertyName = "PatientName"; - this.dataGridViewTextBoxColumn10.FillWeight = 73.51968F; - this.dataGridViewTextBoxColumn10.HeaderText = "姓名"; - this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; - this.dataGridViewTextBoxColumn10.ReadOnly = true; - this.dataGridViewTextBoxColumn10.Visible = false; - this.dataGridViewTextBoxColumn10.Width = 60; - // - // dataGridViewTextBoxColumn11 - // - this.dataGridViewTextBoxColumn11.DataPropertyName = "Sex"; - this.dataGridViewTextBoxColumn11.FillWeight = 73.70361F; - this.dataGridViewTextBoxColumn11.HeaderText = "性别"; - this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; - this.dataGridViewTextBoxColumn11.ReadOnly = true; - this.dataGridViewTextBoxColumn11.Visible = false; - this.dataGridViewTextBoxColumn11.Width = 61; - // - // dataGridViewTextBoxColumn12 - // - this.dataGridViewTextBoxColumn12.DataPropertyName = "Bed"; - this.dataGridViewTextBoxColumn12.FillWeight = 73.20498F; - this.dataGridViewTextBoxColumn12.HeaderText = "床号"; - this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; - this.dataGridViewTextBoxColumn12.ReadOnly = true; - this.dataGridViewTextBoxColumn12.Visible = false; - this.dataGridViewTextBoxColumn12.Width = 60; - // - // dataGridViewTextBoxColumn13 - // - this.dataGridViewTextBoxColumn13.DataPropertyName = "SZDiagnose"; - this.dataGridViewTextBoxColumn13.FillWeight = 134.5945F; - this.dataGridViewTextBoxColumn13.HeaderText = "术后诊断"; - this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; - this.dataGridViewTextBoxColumn13.ReadOnly = true; - this.dataGridViewTextBoxColumn13.Visible = false; - this.dataGridViewTextBoxColumn13.Width = 110; - // - // dataGridViewTextBoxColumn14 - // - this.dataGridViewTextBoxColumn14.DataPropertyName = "SZOperation"; - this.dataGridViewTextBoxColumn14.FillWeight = 131.7017F; - this.dataGridViewTextBoxColumn14.HeaderText = "实施手术"; - this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; - this.dataGridViewTextBoxColumn14.ReadOnly = true; - this.dataGridViewTextBoxColumn14.Visible = false; - this.dataGridViewTextBoxColumn14.Width = 108; - // - // dataGridViewTextBoxColumn15 - // - this.dataGridViewTextBoxColumn15.DataPropertyName = "SZAnaesthesiaMethod"; - this.dataGridViewTextBoxColumn15.FillWeight = 128.4264F; - this.dataGridViewTextBoxColumn15.HeaderText = "麻醉方式"; - this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; - this.dataGridViewTextBoxColumn15.ReadOnly = true; - this.dataGridViewTextBoxColumn15.Visible = false; - this.dataGridViewTextBoxColumn15.Width = 106; - // - // dataGridViewTextBoxColumn16 - // - this.dataGridViewTextBoxColumn16.DataPropertyName = "SZOperationDoctor"; - this.dataGridViewTextBoxColumn16.FillWeight = 81.201F; - this.dataGridViewTextBoxColumn16.HeaderText = "术者"; - this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; - this.dataGridViewTextBoxColumn16.ReadOnly = true; - this.dataGridViewTextBoxColumn16.Visible = false; - this.dataGridViewTextBoxColumn16.Width = 67; - // - // dataGridViewTextBoxColumn17 - // - this.dataGridViewTextBoxColumn17.DataPropertyName = "SZAnesthesiaDoctor"; - this.dataGridViewTextBoxColumn17.HeaderText = "麻醉医生"; - this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; - this.dataGridViewTextBoxColumn17.ReadOnly = true; - this.dataGridViewTextBoxColumn17.Visible = false; - this.dataGridViewTextBoxColumn17.Width = 82; - // - // dataGridViewTextBoxColumn18 - // - this.dataGridViewTextBoxColumn18.DataPropertyName = "AnesthesiaEndTime"; - this.dataGridViewTextBoxColumn18.HeaderText = "麻醉结束"; - this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; - this.dataGridViewTextBoxColumn18.ReadOnly = true; - this.dataGridViewTextBoxColumn18.Visible = false; - this.dataGridViewTextBoxColumn18.Width = 96; - // - // dataGridViewTextBoxColumn19 - // - this.dataGridViewTextBoxColumn19.DataPropertyName = "OutRoomTime"; - this.dataGridViewTextBoxColumn19.HeaderText = "出室时间"; - this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; - this.dataGridViewTextBoxColumn19.Visible = false; - this.dataGridViewTextBoxColumn19.Width = 96; - // - // dataGridViewTextBoxColumn20 - // - this.dataGridViewTextBoxColumn20.DataPropertyName = "chagestate"; - this.dataGridViewTextBoxColumn20.FillWeight = 65.36763F; - this.dataGridViewTextBoxColumn20.HeaderText = "收费状态"; - this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; - this.dataGridViewTextBoxColumn20.Visible = false; - this.dataGridViewTextBoxColumn20.Width = 63; - // - // dataGridViewTextBoxColumn25 - // - this.dataGridViewTextBoxColumn25.HeaderText = "单位"; - this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25"; - this.dataGridViewTextBoxColumn25.Visible = false; - this.dataGridViewTextBoxColumn25.Width = 60; - // - // dataGridViewTextBoxColumn26 - // - this.dataGridViewTextBoxColumn26.DataPropertyName = "DrugPrice"; - this.dataGridViewTextBoxColumn26.HeaderText = "单价"; - this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26"; - this.dataGridViewTextBoxColumn26.ReadOnly = true; - this.dataGridViewTextBoxColumn26.Width = 70; - // - // dataGridViewTextBoxColumn27 - // - this.dataGridViewTextBoxColumn27.DataPropertyName = "display_name"; - this.dataGridViewTextBoxColumn27.HeaderText = "单号"; - this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27"; - this.dataGridViewTextBoxColumn27.Visible = false; - this.dataGridViewTextBoxColumn27.Width = 80; - // - // dataGridViewTextBoxColumn28 - // - this.dataGridViewTextBoxColumn28.DataPropertyName = "specification"; - this.dataGridViewTextBoxColumn28.HeaderText = "医嘱号"; - this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28"; - this.dataGridViewTextBoxColumn28.Width = 160; - // - // dataGridViewTextBoxColumn29 - // - this.dataGridViewTextBoxColumn29.DataPropertyName = "qty"; - this.dataGridViewTextBoxColumn29.HeaderText = "His医嘱号"; - this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29"; - this.dataGridViewTextBoxColumn29.Width = 60; - // - // dataGridViewTextBoxColumn30 - // - this.dataGridViewTextBoxColumn30.DataPropertyName = "qty_unit"; - this.dataGridViewTextBoxColumn30.HeaderText = "His数量"; - this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30"; - this.dataGridViewTextBoxColumn30.Visible = false; - this.dataGridViewTextBoxColumn30.Width = 60; - // - // dataGridViewTextBoxColumn31 - // - this.dataGridViewTextBoxColumn31.DataPropertyName = "qty_unit"; - this.dataGridViewTextBoxColumn31.HeaderText = "收费状态"; - this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31"; - this.dataGridViewTextBoxColumn31.Visible = false; - this.dataGridViewTextBoxColumn31.Width = 60; - // - // toolStrip1 - // - this.toolStrip1.BackColor = System.Drawing.Color.AliceBlue; - this.toolStrip1.Font = new System.Drawing.Font("微软雅黑", 10.5F); - this.toolStrip1.ImageScalingSize = new System.Drawing.Size(25, 25); - this.toolStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] { - this.toolStripButton1}); - this.toolStrip1.Location = new System.Drawing.Point(0, 0); - this.toolStrip1.Name = "toolStrip1"; - this.toolStrip1.Size = new System.Drawing.Size(1350, 49); - this.toolStrip1.TabIndex = 37; - this.toolStrip1.Text = "toolStrip1"; - // - // toolStripButton1 - // - this.toolStripButton1.Font = new System.Drawing.Font("微软雅黑", 9F); - this.toolStripButton1.Image = global::AIMS.Properties.Resources.图标_手术排程; - this.toolStripButton1.ImageTransparentColor = System.Drawing.Color.Magenta; - this.toolStripButton1.Name = "toolStripButton1"; - this.toolStripButton1.Size = new System.Drawing.Size(65, 46); - this.toolStripButton1.Text = "导出Excel"; - this.toolStripButton1.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; - this.toolStripButton1.Click += new System.EventHandler(this.button1_Click); - // - // frmOperationCharg4 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1350, 541); - this.Controls.Add(this.dgvtEMPOperationInfos); - this.Controls.Add(this.panel2); - this.Controls.Add(this.panel1); - this.Name = "frmOperationCharg4"; - this.Text = "费用统计"; - this.Load += new System.EventHandler(this.frmOperationDruggCheck_Load); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - this.panel4.ResumeLayout(false); - this.panel4.PerformLayout(); - this.panel3.ResumeLayout(false); - this.panel3.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvtEMPOperationInfos)).EndInit(); - this.toolStrip1.ResumeLayout(false); - this.toolStrip1.PerformLayout(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Button toolStripButton10; - private System.Windows.Forms.Panel panel2; - public System.Windows.Forms.Label labDate; - private DevComponents.DotNetBar.ButtonX buttonX1; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17; - private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd; - private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime; - public System.Windows.Forms.Label label24; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20; - private System.Windows.Forms.DataGridView dgvtEMPOperationInfos; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn26; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn27; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn28; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn30; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31; - private System.Windows.Forms.Panel panel3; - private System.Windows.Forms.RadioButton rdoJZ; - private System.Windows.Forms.RadioButton rdoZQ; - private System.Windows.Forms.Panel panel4; - private System.Windows.Forms.RadioButton rdoHs; - private System.Windows.Forms.RadioButton rdoMz; - private System.Windows.Forms.ToolStrip toolStrip1; - private System.Windows.Forms.ToolStripButton toolStripButton1; - } -} \ No newline at end of file diff --git a/AIMS/OperationAfter/frmOperationCharg5.cs b/AIMS/OperationAfter/frmOperationCharg5.cs deleted file mode 100644 index 6e9e806..0000000 --- a/AIMS/OperationAfter/frmOperationCharg5.cs +++ /dev/null @@ -1,212 +0,0 @@ -using AIMSBLL; -using AIMSExtension; -using AIMSModel; -using DevComponents.Editors; -using System; -using System.Collections.Generic; -using System.Data; -using System.Windows.Forms; - -namespace AIMS.OperationAfter.UI -{ - public partial class frmOperationCharg5 : Form - { - - DataTable operationApplys; - public string FeeType = "麻醉"; - public List upHisDrugs; - - public frmOperationCharg5() - { - InitializeComponent(); - - } - - private void frmOperationDruggCheck_Load(object sender, EventArgs e) - { - try - { - dtpOpeTime.Value = DateTime.Now; - dtpEnd.Value = dtpOpeTime.Value; - dgvOperation.AutoGenerateColumns = false; - dgvtEMPOperationInfos.AutoGenerateColumns = false; - dgvHZD.AutoGenerateColumns = false; - - LoadSelectDate(); - if (upHisDrugs != null && upHisDrugs.Count > 0) - { - dtpOpeTime.Value = upHisDrugs[0].EndTime.Value; - } - } - catch (Exception exp) - { - PublicMethod.WriteLog(exp); - } - } - public void LoadSelectDate() - { - string where = " "; - upHisDrugs = BFeesRecordReport.Select(" FeeType='" + FeeType + "' " + where + " order by endtime desc", null); - dgvOperation.DataSource = upHisDrugs; - dgvOperation.ClearSelection(); - } - private void btnOK_Click(object sender, EventArgs e) - { - //if (comboBoxExType.Text == "") return; - string beginTime = Convert.ToDateTime(dtpOpeTime.Value).ToString("yyyy-MM-dd HH:mm:00"); - string endTime = Convert.ToDateTime(dtpEnd.Value).ToString("yyyy-MM-dd HH:mm:00"); - string sql = string.Format(" ExecTime>='{0}' and ExecTime<'{1}'", beginTime, endTime); - //if (comboBoxExType.SelectedItem != null) - //{ - // ComboItem chargitem = comboBoxExType.SelectedItem as ComboItem; - // sql += " and (page_type = '" + chargitem.Value + "' ) "; - //} - if (FeeType != "") - { - sql += " and (FeeType = '" + FeeType + "' ) "; - } - if (rdoZQ.Checked == true) - { - operationApplys = BFeesRecordReport.GetUpListByWhere(sql); - dgvtEMPOperationInfos.DataSource = operationApplys; - } - else - { - operationApplys = BFeesRecordReport.GetUpListByWhere2(sql); - dgvHZD.DataSource = operationApplys; - } - } - - - private void toolStripButton10_Click(object sender, EventArgs e) - { - this.Close(); - } - - /// - /// 表格配置 - /// - /// - /// - private void tsbSettingDGV_Click(object sender, EventArgs e) - { - //DataGridViewSettingManager.GetInstance().ShowConfigUI(dgvOperation); - //dgvOperation.AllowUserToAddRows = false; - } - - private void button1_Click(object sender, EventArgs e) - { - if (dgvOperation.Rows.Count < 0 || dgvOperation.Rows.Count < 1) - { - MessageBox.Show("没有记录,请查询到数据后再导出数据到Excel"); - return; - } - //if (rdoZQ.Checked == true) - //{ - // BLL.DataGridViewToExcel.DataToExcel(dgvtEMPOperationInfos); - //} - //else - //{ - // BLL.DataGridViewToExcel.DataToExcel(dgvHZD); - //} - } - private void cboRoom_SelectedIndexChanged(object sender, EventArgs e) - { - //btnOK_Click(null, null); - LoadSelectDate(); - } - - - private void dgvOperation_CellDoubleClick(object sender, DataGridViewCellEventArgs e) - { - int OpeID = 0; - if (dgvOperation.SelectedRows.Count > 0) - { - OpeID = Convert.ToInt32(dgvOperation.SelectedRows[0].Cells[0].Value.ToString()); - } - if (OpeID == 0) - { - return; - } - FeesRecordReport upHis = BFeesRecordReport.SelectSingle(OpeID); - cboRoom.Text = upHis.ExecDepartmentName; - //comboBoxExType.Text = upHis.PageType; - FeeType = upHis.FeeType; - if (upHis.FeeType == "麻醉") rdoMz.Checked = true; - else rdoHs.Checked = true; - if (upHis.ChargType == rdoZQ.Text) rdoZQ.Checked = true; - else rdoJZ.Checked = true; - dtpOpeTime.Value = upHis.StartTime.Value; - dtpEnd.Value = upHis.EndTime.Value; - btnOK_Click(null, null); - - } - - private void rdoZQ_CheckedChanged(object sender, EventArgs e) - { - if (rdoZQ.Checked == true) - { - dgvtEMPOperationInfos.Visible = true; - dgvHZD.Visible = false; - } - else - { - dgvtEMPOperationInfos.Visible = false; - dgvHZD.Visible = true; - } - - //btnOK_Click(null, null); - } - - private void voidableRadioButton2_CheckedChanged(object sender, EventArgs e) - { - if (rdoMz.Checked == true) - { - FeeType = "麻醉"; - } - else - { - FeeType = "护士"; - } - LoadSelectDate(); - } - - private void btnSave_Click(object sender, EventArgs e) - { - //if (comboBoxExType.Text == "") - //{ - // MessageBox.Show("请选择药品单类型!", "系统提示"); return; - //} - FeesRecordReport upHisDrugOrdersSDYSelect = new FeesRecordReport(); - DateTime beginTime = Convert.ToDateTime(dtpOpeTime.Value); - DateTime endTime = Convert.ToDateTime(dtpEnd.Value); - upHisDrugOrdersSDYSelect.StartTime = beginTime; - upHisDrugOrdersSDYSelect.EndTime = endTime; - - //if (comboBoxExType.SelectedItem != null) - //{ - // ComboItem chargitem = comboBoxExType.SelectedItem as ComboItem; - // upHisDrugOrdersSDYSelect.PageType = chargitem.Text; - // upHisDrugOrdersSDYSelect.PageNo = chargitem.Value.ToString(); - //} - if (FeeType != "") - { - upHisDrugOrdersSDYSelect.FeeType = FeeType; - } - if (rdoZQ.Checked == true) - { - upHisDrugOrdersSDYSelect.ChargType = rdoZQ.Text; - } - else - { - upHisDrugOrdersSDYSelect.ChargType = rdoJZ.Text; - } - upHisDrugOrdersSDYSelect.OperatorId = PublicMethod.OperatorId; - upHisDrugOrdersSDYSelect.OperatorTime = DateTime.Now; - BFeesRecordReport.Insert(upHisDrugOrdersSDYSelect); - MessageBox.Show("保存成功!", "系统提示"); - LoadSelectDate(); - } - - } -} diff --git a/AIMS/OperationAfter/frmOperationCharg5.designer.cs b/AIMS/OperationAfter/frmOperationCharg5.designer.cs deleted file mode 100644 index 1574b41..0000000 --- a/AIMS/OperationAfter/frmOperationCharg5.designer.cs +++ /dev/null @@ -1,1218 +0,0 @@ -namespace AIMS.OperationAfter.UI -{ - partial class frmOperationCharg5 - { - /// - /// Required designer variable. - /// - private System.ComponentModel.IContainer components = null; - - /// - /// Clean up any resources being used. - /// - /// true if managed resources should be disposed; otherwise, false. - protected override void Dispose(bool disposing) - { - if (disposing && (components != null)) - { - components.Dispose(); - } - base.Dispose(disposing); - } - - #region Windows Form Designer generated code - - /// - /// Required method for Designer support - do not modify - /// the contents of this method with the code editor. - /// - private void InitializeComponent() - { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - this.panel1 = new System.Windows.Forms.Panel(); - this.cboRoom = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.label22 = new System.Windows.Forms.Label(); - this.button1 = new System.Windows.Forms.Button(); - this.label2 = new System.Windows.Forms.Label(); - this.tsbSettingDGV = new System.Windows.Forms.Button(); - this.toolStripButton10 = new System.Windows.Forms.Button(); - this.panel2 = new System.Windows.Forms.Panel(); - this.panel4 = new System.Windows.Forms.Panel(); - this.rdoHs = new System.Windows.Forms.RadioButton(); - this.rdoMz = new System.Windows.Forms.RadioButton(); - this.comboBoxExType = new DevComponents.DotNetBar.Controls.ComboBoxEx(); - this.comboItem1 = new DevComponents.Editors.ComboItem(); - this.comboItem2 = new DevComponents.Editors.ComboItem(); - this.comboItem3 = new DevComponents.Editors.ComboItem(); - this.comboItem4 = new DevComponents.Editors.ComboItem(); - this.panel3 = new System.Windows.Forms.Panel(); - this.rdoJZ = new System.Windows.Forms.RadioButton(); - this.rdoZQ = new System.Windows.Forms.RadioButton(); - this.dtpEnd = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.dtpOpeTime = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.label24 = new System.Windows.Forms.Label(); - this.btnSave = new DevComponents.DotNetBar.ButtonX(); - this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); - this.lblMessage = new System.Windows.Forms.Label(); - this.label1 = new System.Windows.Forms.Label(); - this.labDate = new System.Windows.Forms.Label(); - this.groupBox1 = new System.Windows.Forms.GroupBox(); - this.dgvOperation = new System.Windows.Forms.DataGridView(); - this.Id = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.anesBegintime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.Anesendtime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.TemplateType1 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ChargType = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PageType = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PageNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ExecDepartmentName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dgvtEMPOperationInfos = new System.Windows.Forms.DataGridView(); - this.dgvHZD = new System.Windows.Forms.DataGridView(); - this.dataGridViewTextBoxColumn32 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.no = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn33 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn34 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn35 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn41 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn42 = 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.dataGridViewTextBoxColumn4 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn5 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn6 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn7 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn8 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn9 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn10 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn11 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn12 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn13 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn14 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn15 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn16 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn17 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn18 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn19 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn20 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn25 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn26 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn27 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn28 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn29 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn30 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn31 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DId = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn21 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn22 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.spec = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.execDept = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.room = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.PatName = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.InNo = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.UpFreeTime = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn23 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.DUnit = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.dataGridViewTextBoxColumn24 = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.ChargePrice = new System.Windows.Forms.DataGridViewTextBoxColumn(); - this.panel1.SuspendLayout(); - this.panel2.SuspendLayout(); - this.panel4.SuspendLayout(); - this.panel3.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).BeginInit(); - this.groupBox1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dgvOperation)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvtEMPOperationInfos)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvHZD)).BeginInit(); - this.SuspendLayout(); - // - // panel1 - // - this.panel1.BackColor = System.Drawing.Color.Transparent; - this.panel1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch; - this.panel1.Controls.Add(this.cboRoom); - this.panel1.Controls.Add(this.label22); - this.panel1.Controls.Add(this.button1); - this.panel1.Controls.Add(this.label2); - this.panel1.Controls.Add(this.tsbSettingDGV); - this.panel1.Controls.Add(this.toolStripButton10); - this.panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1350, 45); - this.panel1.TabIndex = 0; - // - // cboRoom - // - this.cboRoom.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.cboRoom.DisplayMember = "Text"; - this.cboRoom.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.cboRoom.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.cboRoom.FormattingEnabled = true; - this.cboRoom.ItemHeight = 17; - this.cboRoom.Location = new System.Drawing.Point(994, 12); - this.cboRoom.Name = "cboRoom"; - this.cboRoom.Size = new System.Drawing.Size(150, 23); - this.cboRoom.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.cboRoom.TabIndex = 32; - this.cboRoom.Visible = false; - // - // label22 - // - this.label22.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label22.AutoSize = true; - this.label22.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.label22.Location = new System.Drawing.Point(923, 13); - this.label22.Name = "label22"; - this.label22.Size = new System.Drawing.Size(65, 20); - this.label22.TabIndex = 31; - this.label22.Text = "手术地点"; - this.label22.Visible = false; - // - // button1 - // - this.button1.Cursor = System.Windows.Forms.Cursors.Hand; - this.button1.Dock = System.Windows.Forms.DockStyle.Left; - this.button1.FlatAppearance.BorderSize = 0; - this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.button1.Font = new System.Drawing.Font("微软雅黑", 11F); - this.button1.Location = new System.Drawing.Point(0, 0); - this.button1.Name = "button1"; - this.button1.Size = new System.Drawing.Size(100, 45); - this.button1.TabIndex = 16; - this.button1.Text = "导出Excel"; - this.button1.UseVisualStyleBackColor = true; - this.button1.Click += new System.EventHandler(this.button1_Click); - // - // label2 - // - this.label2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.label2.AutoSize = true; - this.label2.BackColor = System.Drawing.Color.Transparent; - this.label2.Font = new System.Drawing.Font("微软雅黑", 11F); - this.label2.Location = new System.Drawing.Point(1238, 13); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(13, 20); - this.label2.TabIndex = 5; - this.label2.Text = "|"; - this.label2.Visible = false; - // - // tsbSettingDGV - // - this.tsbSettingDGV.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.tsbSettingDGV.BackColor = System.Drawing.Color.Transparent; - this.tsbSettingDGV.Cursor = System.Windows.Forms.Cursors.Hand; - this.tsbSettingDGV.FlatAppearance.BorderSize = 0; - this.tsbSettingDGV.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.tsbSettingDGV.Font = new System.Drawing.Font("微软雅黑", 11F); - this.tsbSettingDGV.Location = new System.Drawing.Point(1150, 8); - this.tsbSettingDGV.Name = "tsbSettingDGV"; - this.tsbSettingDGV.Size = new System.Drawing.Size(85, 30); - this.tsbSettingDGV.TabIndex = 4; - this.tsbSettingDGV.Text = "表格设置"; - this.tsbSettingDGV.UseVisualStyleBackColor = false; - this.tsbSettingDGV.Visible = false; - this.tsbSettingDGV.Click += new System.EventHandler(this.tsbSettingDGV_Click); - // - // toolStripButton10 - // - this.toolStripButton10.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right))); - this.toolStripButton10.Cursor = System.Windows.Forms.Cursors.Hand; - this.toolStripButton10.FlatAppearance.BorderSize = 0; - this.toolStripButton10.FlatStyle = System.Windows.Forms.FlatStyle.Flat; - this.toolStripButton10.Font = new System.Drawing.Font("微软雅黑", 11F); - this.toolStripButton10.Location = new System.Drawing.Point(1257, 8); - this.toolStripButton10.Name = "toolStripButton10"; - this.toolStripButton10.Size = new System.Drawing.Size(90, 30); - this.toolStripButton10.TabIndex = 0; - this.toolStripButton10.Text = "关闭"; - this.toolStripButton10.UseVisualStyleBackColor = true; - this.toolStripButton10.Click += new System.EventHandler(this.toolStripButton10_Click); - // - // panel2 - // - this.panel2.BackColor = System.Drawing.Color.WhiteSmoke; - this.panel2.Controls.Add(this.panel4); - this.panel2.Controls.Add(this.comboBoxExType); - this.panel2.Controls.Add(this.panel3); - this.panel2.Controls.Add(this.dtpEnd); - this.panel2.Controls.Add(this.dtpOpeTime); - this.panel2.Controls.Add(this.label24); - this.panel2.Controls.Add(this.btnSave); - this.panel2.Controls.Add(this.buttonX1); - this.panel2.Controls.Add(this.lblMessage); - this.panel2.Controls.Add(this.label1); - this.panel2.Controls.Add(this.labDate); - this.panel2.Dock = System.Windows.Forms.DockStyle.Top; - this.panel2.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.panel2.Location = new System.Drawing.Point(0, 45); - this.panel2.Name = "panel2"; - this.panel2.Size = new System.Drawing.Size(1350, 81); - this.panel2.TabIndex = 387; - // - // panel4 - // - this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel4.Controls.Add(this.rdoHs); - this.panel4.Controls.Add(this.rdoMz); - this.panel4.Location = new System.Drawing.Point(21, 6); - this.panel4.Name = "panel4"; - this.panel4.Size = new System.Drawing.Size(177, 33); - this.panel4.TabIndex = 474; - // - // rdoHs - // - this.rdoHs.AutoSize = true; - this.rdoHs.Location = new System.Drawing.Point(93, 5); - this.rdoHs.Name = "rdoHs"; - this.rdoHs.Size = new System.Drawing.Size(83, 24); - this.rdoHs.TabIndex = 0; - this.rdoHs.Text = "护士收费"; - this.rdoHs.UseVisualStyleBackColor = true; - this.rdoHs.CheckedChanged += new System.EventHandler(this.voidableRadioButton2_CheckedChanged); - // - // rdoMz - // - this.rdoMz.AutoSize = true; - this.rdoMz.Checked = true; - this.rdoMz.Location = new System.Drawing.Point(2, 5); - this.rdoMz.Name = "rdoMz"; - this.rdoMz.Size = new System.Drawing.Size(83, 24); - this.rdoMz.TabIndex = 0; - this.rdoMz.TabStop = true; - this.rdoMz.Text = "麻醉收费"; - this.rdoMz.UseVisualStyleBackColor = true; - this.rdoMz.CheckedChanged += new System.EventHandler(this.voidableRadioButton2_CheckedChanged); - // - // comboBoxExType - // - this.comboBoxExType.DisplayMember = "Text"; - this.comboBoxExType.DrawMode = System.Windows.Forms.DrawMode.OwnerDrawFixed; - this.comboBoxExType.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.comboBoxExType.FormattingEnabled = true; - this.comboBoxExType.ItemHeight = 17; - this.comboBoxExType.Items.AddRange(new object[] { - this.comboItem1, - this.comboItem2, - this.comboItem3, - this.comboItem4}); - this.comboBoxExType.Location = new System.Drawing.Point(491, 12); - this.comboBoxExType.Name = "comboBoxExType"; - this.comboBoxExType.Size = new System.Drawing.Size(150, 23); - this.comboBoxExType.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.comboBoxExType.TabIndex = 32; - this.comboBoxExType.Visible = false; - this.comboBoxExType.SelectedIndexChanged += new System.EventHandler(this.cboRoom_SelectedIndexChanged); - // - // comboItem1 - // - this.comboItem1.Text = "毒麻药品"; - this.comboItem1.Value = "122"; - // - // comboItem2 - // - this.comboItem2.Text = "一类精神药品"; - this.comboItem2.Value = "123"; - // - // comboItem3 - // - this.comboItem3.Text = "二类精神药品"; - this.comboItem3.Value = "121"; - // - // comboItem4 - // - this.comboItem4.Text = "常规药,液"; - this.comboItem4.Value = "64"; - // - // panel3 - // - this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; - this.panel3.Controls.Add(this.rdoJZ); - this.panel3.Controls.Add(this.rdoZQ); - this.panel3.Location = new System.Drawing.Point(216, 6); - this.panel3.Name = "panel3"; - this.panel3.Size = new System.Drawing.Size(172, 33); - this.panel3.TabIndex = 473; - // - // rdoJZ - // - this.rdoJZ.AutoSize = true; - this.rdoJZ.Location = new System.Drawing.Point(93, 5); - this.rdoJZ.Name = "rdoJZ"; - this.rdoJZ.Size = new System.Drawing.Size(69, 24); - this.rdoJZ.TabIndex = 0; - this.rdoJZ.Text = "汇总单"; - this.rdoJZ.UseVisualStyleBackColor = true; - this.rdoJZ.CheckedChanged += new System.EventHandler(this.rdoZQ_CheckedChanged); - // - // rdoZQ - // - this.rdoZQ.AutoSize = true; - this.rdoZQ.Checked = true; - this.rdoZQ.Location = new System.Drawing.Point(11, 5); - this.rdoZQ.Name = "rdoZQ"; - this.rdoZQ.Size = new System.Drawing.Size(69, 24); - this.rdoZQ.TabIndex = 0; - this.rdoZQ.TabStop = true; - this.rdoZQ.Text = "明细单"; - this.rdoZQ.UseVisualStyleBackColor = true; - this.rdoZQ.CheckedChanged += new System.EventHandler(this.rdoZQ_CheckedChanged); - // - // dtpEnd - // - // - // - // - this.dtpEnd.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; - this.dtpEnd.ButtonDropDown.Visible = true; - this.dtpEnd.CustomFormat = "yyyy-MM-dd HH:mm"; - this.dtpEnd.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); - this.dtpEnd.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; - this.dtpEnd.IsPopupCalendarOpen = false; - this.dtpEnd.Location = new System.Drawing.Point(310, 45); - // - // - // - // - // - // - this.dtpEnd.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.dtpEnd.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); - // - // - // - this.dtpEnd.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd.Name = "dtpEnd"; - this.dtpEnd.Size = new System.Drawing.Size(200, 26); - this.dtpEnd.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.dtpEnd.TabIndex = 472; - // - // dtpOpeTime - // - // - // - // - this.dtpOpeTime.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; - this.dtpOpeTime.ButtonDropDown.Visible = true; - this.dtpOpeTime.CustomFormat = "yyyy-MM-dd HH:mm"; - this.dtpOpeTime.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); - this.dtpOpeTime.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; - this.dtpOpeTime.IsPopupCalendarOpen = false; - this.dtpOpeTime.Location = new System.Drawing.Point(94, 44); - // - // - // - // - // - // - this.dtpOpeTime.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - // - // - // - this.dtpOpeTime.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); - // - // - // - this.dtpOpeTime.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime.Name = "dtpOpeTime"; - this.dtpOpeTime.Size = new System.Drawing.Size(200, 26); - this.dtpOpeTime.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.dtpOpeTime.TabIndex = 471; - // - // label24 - // - this.label24.AutoSize = true; - this.label24.Location = new System.Drawing.Point(294, 47); - this.label24.Name = "label24"; - this.label24.Size = new System.Drawing.Size(15, 20); - this.label24.TabIndex = 470; - this.label24.Text = "-"; - // - // btnSave - // - this.btnSave.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btnSave.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btnSave.Font = new System.Drawing.Font("微软雅黑", 11.5F); - this.btnSave.Location = new System.Drawing.Point(628, 44); - this.btnSave.Name = "btnSave"; - this.btnSave.Size = new System.Drawing.Size(90, 29); - this.btnSave.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btnSave.TabIndex = 467; - this.btnSave.Text = "保存"; - this.btnSave.Click += new System.EventHandler(this.btnSave_Click); - // - // buttonX1 - // - this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 11.5F); - this.buttonX1.Location = new System.Drawing.Point(520, 44); - this.buttonX1.Name = "buttonX1"; - this.buttonX1.Size = new System.Drawing.Size(90, 29); - this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.buttonX1.TabIndex = 467; - this.buttonX1.Text = "查询"; - this.buttonX1.Click += new System.EventHandler(this.btnOK_Click); - // - // lblMessage - // - this.lblMessage.AutoSize = true; - this.lblMessage.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.lblMessage.ForeColor = System.Drawing.Color.ForestGreen; - this.lblMessage.Location = new System.Drawing.Point(735, 52); - this.lblMessage.Name = "lblMessage"; - this.lblMessage.Size = new System.Drawing.Size(51, 19); - this.lblMessage.TabIndex = 422; - this.lblMessage.Text = "label2"; - this.lblMessage.Visible = false; - // - // label1 - // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(403, 13); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(82, 20); - this.label1.TabIndex = 421; - this.label1.Text = "药品单类型:"; - this.label1.Visible = false; - // - // labDate - // - this.labDate.AutoSize = true; - this.labDate.Location = new System.Drawing.Point(20, 48); - this.labDate.Name = "labDate"; - this.labDate.Size = new System.Drawing.Size(68, 20); - this.labDate.TabIndex = 421; - this.labDate.Text = "上传时间:"; - // - // groupBox1 - // - this.groupBox1.Controls.Add(this.dgvOperation); - this.groupBox1.Dock = System.Windows.Forms.DockStyle.Left; - this.groupBox1.Font = new System.Drawing.Font("微软雅黑", 10F); - this.groupBox1.Location = new System.Drawing.Point(0, 126); - this.groupBox1.Name = "groupBox1"; - this.groupBox1.Size = new System.Drawing.Size(520, 415); - this.groupBox1.TabIndex = 388; - this.groupBox1.TabStop = false; - this.groupBox1.Text = "查询记录"; - // - // dgvOperation - // - this.dgvOperation.AllowUserToAddRows = false; - dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(239)))), ((int)(((byte)(247)))), ((int)(((byte)(255))))); - this.dgvOperation.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1; - this.dgvOperation.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill; - this.dgvOperation.BackgroundColor = System.Drawing.Color.Snow; - this.dgvOperation.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 10F); - dataGridViewCellStyle2.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvOperation.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2; - this.dgvOperation.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvOperation.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.Id, - this.anesBegintime, - this.Anesendtime, - this.TemplateType1, - this.ChargType, - this.PageType, - this.PageNo, - this.ExecDepartmentName}); - this.dgvOperation.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvOperation.Location = new System.Drawing.Point(3, 21); - this.dgvOperation.Margin = new System.Windows.Forms.Padding(2); - this.dgvOperation.Name = "dgvOperation"; - this.dgvOperation.ReadOnly = true; - this.dgvOperation.RowTemplate.Height = 27; - this.dgvOperation.SelectionMode = System.Windows.Forms.DataGridViewSelectionMode.FullRowSelect; - this.dgvOperation.Size = new System.Drawing.Size(514, 391); - this.dgvOperation.TabIndex = 386; - this.dgvOperation.CellDoubleClick += new System.Windows.Forms.DataGridViewCellEventHandler(this.dgvOperation_CellDoubleClick); - // - // Id - // - this.Id.DataPropertyName = "Id"; - this.Id.HeaderText = "Id"; - this.Id.Name = "Id"; - this.Id.ReadOnly = true; - this.Id.Visible = false; - // - // anesBegintime - // - this.anesBegintime.DataPropertyName = "StartTime"; - this.anesBegintime.HeaderText = "开始时间"; - this.anesBegintime.Name = "anesBegintime"; - this.anesBegintime.ReadOnly = true; - // - // Anesendtime - // - this.Anesendtime.DataPropertyName = "EndTime"; - this.Anesendtime.HeaderText = "结束时间"; - this.Anesendtime.Name = "Anesendtime"; - this.Anesendtime.ReadOnly = true; - // - // TemplateType1 - // - this.TemplateType1.DataPropertyName = "FeeType"; - this.TemplateType1.HeaderText = "类别"; - this.TemplateType1.Name = "TemplateType1"; - this.TemplateType1.ReadOnly = true; - // - // ChargType - // - this.ChargType.DataPropertyName = "ChargType"; - this.ChargType.HeaderText = "收费类别"; - this.ChargType.Name = "ChargType"; - this.ChargType.ReadOnly = true; - // - // PageType - // - this.PageType.DataPropertyName = "PageType"; - this.PageType.HeaderText = "药品单类型"; - this.PageType.Name = "PageType"; - this.PageType.ReadOnly = true; - this.PageType.Visible = false; - // - // PageNo - // - this.PageNo.DataPropertyName = "PageNo"; - this.PageNo.HeaderText = "药品单号"; - this.PageNo.Name = "PageNo"; - this.PageNo.ReadOnly = true; - this.PageNo.Visible = false; - // - // ExecDepartmentName - // - this.ExecDepartmentName.DataPropertyName = "ExecDepartmentName"; - this.ExecDepartmentName.HeaderText = "执行科室"; - this.ExecDepartmentName.Name = "ExecDepartmentName"; - this.ExecDepartmentName.ReadOnly = true; - this.ExecDepartmentName.Visible = false; - // - // dgvtEMPOperationInfos - // - this.dgvtEMPOperationInfos.AllowUserToAddRows = false; - this.dgvtEMPOperationInfos.AllowUserToDeleteRows = false; - this.dgvtEMPOperationInfos.AllowUserToResizeColumns = false; - this.dgvtEMPOperationInfos.AllowUserToResizeRows = false; - this.dgvtEMPOperationInfos.BackgroundColor = System.Drawing.Color.White; - this.dgvtEMPOperationInfos.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.dgvtEMPOperationInfos.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvtEMPOperationInfos.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.DId, - this.dataGridViewTextBoxColumn21, - this.dataGridViewTextBoxColumn22, - this.spec, - this.execDept, - this.room, - this.PatName, - this.InNo, - this.UpFreeTime, - this.dataGridViewTextBoxColumn23, - this.DUnit, - this.dataGridViewTextBoxColumn24, - this.ChargePrice}); - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 10.5F); - dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvtEMPOperationInfos.DefaultCellStyle = dataGridViewCellStyle3; - this.dgvtEMPOperationInfos.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvtEMPOperationInfos.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; - this.dgvtEMPOperationInfos.GridColor = System.Drawing.Color.Black; - this.dgvtEMPOperationInfos.Location = new System.Drawing.Point(520, 126); - this.dgvtEMPOperationInfos.MultiSelect = false; - this.dgvtEMPOperationInfos.Name = "dgvtEMPOperationInfos"; - this.dgvtEMPOperationInfos.ReadOnly = true; - this.dgvtEMPOperationInfos.RowHeadersVisible = false; - this.dgvtEMPOperationInfos.RowTemplate.Height = 23; - this.dgvtEMPOperationInfos.ShowCellErrors = false; - this.dgvtEMPOperationInfos.ShowCellToolTips = false; - this.dgvtEMPOperationInfos.Size = new System.Drawing.Size(830, 415); - this.dgvtEMPOperationInfos.TabIndex = 389; - // - // dgvHZD - // - this.dgvHZD.AllowUserToAddRows = false; - this.dgvHZD.AllowUserToDeleteRows = false; - this.dgvHZD.AllowUserToResizeColumns = false; - this.dgvHZD.AllowUserToResizeRows = false; - this.dgvHZD.BackgroundColor = System.Drawing.Color.White; - this.dgvHZD.BorderStyle = System.Windows.Forms.BorderStyle.None; - this.dgvHZD.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - this.dgvHZD.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] { - this.dataGridViewTextBoxColumn32, - this.no, - this.dataGridViewTextBoxColumn33, - this.dataGridViewTextBoxColumn34, - this.dataGridViewTextBoxColumn35, - this.dataGridViewTextBoxColumn41, - this.dataGridViewTextBoxColumn42}); - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 10.5F); - dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle4.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvHZD.DefaultCellStyle = dataGridViewCellStyle4; - this.dgvHZD.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvHZD.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; - this.dgvHZD.GridColor = System.Drawing.Color.Black; - this.dgvHZD.Location = new System.Drawing.Point(520, 126); - this.dgvHZD.MultiSelect = false; - this.dgvHZD.Name = "dgvHZD"; - this.dgvHZD.ReadOnly = true; - this.dgvHZD.RowHeadersVisible = false; - this.dgvHZD.RowTemplate.Height = 23; - this.dgvHZD.ShowCellErrors = false; - this.dgvHZD.ShowCellToolTips = false; - this.dgvHZD.Size = new System.Drawing.Size(830, 415); - this.dgvHZD.TabIndex = 390; - this.dgvHZD.Visible = false; - // - // dataGridViewTextBoxColumn32 - // - this.dataGridViewTextBoxColumn32.HeaderText = "id"; - this.dataGridViewTextBoxColumn32.Name = "dataGridViewTextBoxColumn32"; - this.dataGridViewTextBoxColumn32.ReadOnly = true; - this.dataGridViewTextBoxColumn32.Visible = false; - this.dataGridViewTextBoxColumn32.Width = 60; - // - // no - // - this.no.DataPropertyName = "noo"; - this.no.HeaderText = "序号"; - this.no.Name = "no"; - this.no.ReadOnly = true; - this.no.Width = 56; - // - // dataGridViewTextBoxColumn33 - // - this.dataGridViewTextBoxColumn33.DataPropertyName = "FeeCode"; - this.dataGridViewTextBoxColumn33.HeaderText = "编码"; - this.dataGridViewTextBoxColumn33.Name = "dataGridViewTextBoxColumn33"; - this.dataGridViewTextBoxColumn33.ReadOnly = true; - this.dataGridViewTextBoxColumn33.Visible = false; - this.dataGridViewTextBoxColumn33.Width = 75; - // - // dataGridViewTextBoxColumn34 - // - this.dataGridViewTextBoxColumn34.DataPropertyName = "ChargName"; - this.dataGridViewTextBoxColumn34.HeaderText = "药品名称"; - this.dataGridViewTextBoxColumn34.Name = "dataGridViewTextBoxColumn34"; - this.dataGridViewTextBoxColumn34.ReadOnly = true; - this.dataGridViewTextBoxColumn34.Width = 200; - // - // dataGridViewTextBoxColumn35 - // - this.dataGridViewTextBoxColumn35.DataPropertyName = "ChargSpec"; - this.dataGridViewTextBoxColumn35.HeaderText = "规格"; - this.dataGridViewTextBoxColumn35.Name = "dataGridViewTextBoxColumn35"; - this.dataGridViewTextBoxColumn35.ReadOnly = true; - this.dataGridViewTextBoxColumn35.Width = 160; - // - // dataGridViewTextBoxColumn41 - // - this.dataGridViewTextBoxColumn41.DataPropertyName = "FeeNum"; - this.dataGridViewTextBoxColumn41.HeaderText = "数量"; - this.dataGridViewTextBoxColumn41.Name = "dataGridViewTextBoxColumn41"; - this.dataGridViewTextBoxColumn41.ReadOnly = true; - this.dataGridViewTextBoxColumn41.Width = 60; - // - // dataGridViewTextBoxColumn42 - // - this.dataGridViewTextBoxColumn42.DataPropertyName = "UnitPrice"; - this.dataGridViewTextBoxColumn42.HeaderText = "单价"; - this.dataGridViewTextBoxColumn42.Name = "dataGridViewTextBoxColumn42"; - this.dataGridViewTextBoxColumn42.ReadOnly = true; - this.dataGridViewTextBoxColumn42.Width = 60; - // - // dataGridViewTextBoxColumn1 - // - this.dataGridViewTextBoxColumn1.DataPropertyName = "OperationRecordId"; - this.dataGridViewTextBoxColumn1.HeaderText = "手术ID"; - this.dataGridViewTextBoxColumn1.Name = "dataGridViewTextBoxColumn1"; - this.dataGridViewTextBoxColumn1.ReadOnly = true; - this.dataGridViewTextBoxColumn1.Visible = false; - this.dataGridViewTextBoxColumn1.Width = 167; - // - // dataGridViewTextBoxColumn2 - // - this.dataGridViewTextBoxColumn2.DataPropertyName = "OperationApplyId"; - this.dataGridViewTextBoxColumn2.HeaderText = "申请ID"; - this.dataGridViewTextBoxColumn2.Name = "dataGridViewTextBoxColumn2"; - this.dataGridViewTextBoxColumn2.ReadOnly = true; - this.dataGridViewTextBoxColumn2.Visible = false; - this.dataGridViewTextBoxColumn2.Width = 166; - // - // dataGridViewTextBoxColumn3 - // - this.dataGridViewTextBoxColumn3.DataPropertyName = "PatientId"; - this.dataGridViewTextBoxColumn3.HeaderText = "病人ID"; - this.dataGridViewTextBoxColumn3.Name = "dataGridViewTextBoxColumn3"; - this.dataGridViewTextBoxColumn3.ReadOnly = true; - this.dataGridViewTextBoxColumn3.Visible = false; - this.dataGridViewTextBoxColumn3.Width = 60; - // - // dataGridViewTextBoxColumn4 - // - this.dataGridViewTextBoxColumn4.DataPropertyName = "code"; - this.dataGridViewTextBoxColumn4.HeaderText = "序号"; - this.dataGridViewTextBoxColumn4.Name = "dataGridViewTextBoxColumn4"; - this.dataGridViewTextBoxColumn4.ReadOnly = true; - this.dataGridViewTextBoxColumn4.Visible = false; - this.dataGridViewTextBoxColumn4.Width = 75; - // - // dataGridViewTextBoxColumn5 - // - this.dataGridViewTextBoxColumn5.AutoSizeMode = System.Windows.Forms.DataGridViewAutoSizeColumnMode.None; - this.dataGridViewTextBoxColumn5.DataPropertyName = "OperationPriority"; - this.dataGridViewTextBoxColumn5.FillWeight = 137.1497F; - this.dataGridViewTextBoxColumn5.HeaderText = "手术分类"; - this.dataGridViewTextBoxColumn5.Name = "dataGridViewTextBoxColumn5"; - this.dataGridViewTextBoxColumn5.ReadOnly = true; - this.dataGridViewTextBoxColumn5.Visible = false; - this.dataGridViewTextBoxColumn5.Width = 112; - // - // dataGridViewTextBoxColumn6 - // - this.dataGridViewTextBoxColumn6.DataPropertyName = "DepartmentName"; - this.dataGridViewTextBoxColumn6.FillWeight = 80.11563F; - this.dataGridViewTextBoxColumn6.HeaderText = "科室"; - this.dataGridViewTextBoxColumn6.Name = "dataGridViewTextBoxColumn6"; - this.dataGridViewTextBoxColumn6.ReadOnly = true; - this.dataGridViewTextBoxColumn6.Visible = false; - this.dataGridViewTextBoxColumn6.Width = 66; - // - // dataGridViewTextBoxColumn7 - // - this.dataGridViewTextBoxColumn7.DataPropertyName = "SZOperationRoom"; - this.dataGridViewTextBoxColumn7.FillWeight = 65.36763F; - this.dataGridViewTextBoxColumn7.HeaderText = "手术间"; - this.dataGridViewTextBoxColumn7.Name = "dataGridViewTextBoxColumn7"; - this.dataGridViewTextBoxColumn7.ReadOnly = true; - this.dataGridViewTextBoxColumn7.Width = 82; - // - // dataGridViewTextBoxColumn8 - // - this.dataGridViewTextBoxColumn8.DataPropertyName = "InHospitalNo"; - this.dataGridViewTextBoxColumn8.FillWeight = 93.9558F; - this.dataGridViewTextBoxColumn8.HeaderText = "住院号"; - this.dataGridViewTextBoxColumn8.Name = "dataGridViewTextBoxColumn8"; - this.dataGridViewTextBoxColumn8.ReadOnly = true; - this.dataGridViewTextBoxColumn8.Width = 77; - // - // dataGridViewTextBoxColumn9 - // - this.dataGridViewTextBoxColumn9.DataPropertyName = "MedicalHistoryNo"; - this.dataGridViewTextBoxColumn9.FillWeight = 92.42704F; - this.dataGridViewTextBoxColumn9.HeaderText = "病历号"; - this.dataGridViewTextBoxColumn9.Name = "dataGridViewTextBoxColumn9"; - this.dataGridViewTextBoxColumn9.ReadOnly = true; - this.dataGridViewTextBoxColumn9.Visible = false; - this.dataGridViewTextBoxColumn9.Width = 76; - // - // dataGridViewTextBoxColumn10 - // - this.dataGridViewTextBoxColumn10.DataPropertyName = "PatientName"; - this.dataGridViewTextBoxColumn10.FillWeight = 73.51968F; - this.dataGridViewTextBoxColumn10.HeaderText = "姓名"; - this.dataGridViewTextBoxColumn10.Name = "dataGridViewTextBoxColumn10"; - this.dataGridViewTextBoxColumn10.ReadOnly = true; - this.dataGridViewTextBoxColumn10.Visible = false; - this.dataGridViewTextBoxColumn10.Width = 60; - // - // dataGridViewTextBoxColumn11 - // - this.dataGridViewTextBoxColumn11.DataPropertyName = "Sex"; - this.dataGridViewTextBoxColumn11.FillWeight = 73.70361F; - this.dataGridViewTextBoxColumn11.HeaderText = "性别"; - this.dataGridViewTextBoxColumn11.Name = "dataGridViewTextBoxColumn11"; - this.dataGridViewTextBoxColumn11.ReadOnly = true; - this.dataGridViewTextBoxColumn11.Visible = false; - this.dataGridViewTextBoxColumn11.Width = 61; - // - // dataGridViewTextBoxColumn12 - // - this.dataGridViewTextBoxColumn12.DataPropertyName = "Bed"; - this.dataGridViewTextBoxColumn12.FillWeight = 73.20498F; - this.dataGridViewTextBoxColumn12.HeaderText = "床号"; - this.dataGridViewTextBoxColumn12.Name = "dataGridViewTextBoxColumn12"; - this.dataGridViewTextBoxColumn12.ReadOnly = true; - this.dataGridViewTextBoxColumn12.Visible = false; - this.dataGridViewTextBoxColumn12.Width = 60; - // - // dataGridViewTextBoxColumn13 - // - this.dataGridViewTextBoxColumn13.DataPropertyName = "SZDiagnose"; - this.dataGridViewTextBoxColumn13.FillWeight = 134.5945F; - this.dataGridViewTextBoxColumn13.HeaderText = "术后诊断"; - this.dataGridViewTextBoxColumn13.Name = "dataGridViewTextBoxColumn13"; - this.dataGridViewTextBoxColumn13.ReadOnly = true; - this.dataGridViewTextBoxColumn13.Visible = false; - this.dataGridViewTextBoxColumn13.Width = 110; - // - // dataGridViewTextBoxColumn14 - // - this.dataGridViewTextBoxColumn14.DataPropertyName = "SZOperation"; - this.dataGridViewTextBoxColumn14.FillWeight = 131.7017F; - this.dataGridViewTextBoxColumn14.HeaderText = "实施手术"; - this.dataGridViewTextBoxColumn14.Name = "dataGridViewTextBoxColumn14"; - this.dataGridViewTextBoxColumn14.ReadOnly = true; - this.dataGridViewTextBoxColumn14.Visible = false; - this.dataGridViewTextBoxColumn14.Width = 108; - // - // dataGridViewTextBoxColumn15 - // - this.dataGridViewTextBoxColumn15.DataPropertyName = "SZAnaesthesiaMethod"; - this.dataGridViewTextBoxColumn15.FillWeight = 128.4264F; - this.dataGridViewTextBoxColumn15.HeaderText = "麻醉方式"; - this.dataGridViewTextBoxColumn15.Name = "dataGridViewTextBoxColumn15"; - this.dataGridViewTextBoxColumn15.ReadOnly = true; - this.dataGridViewTextBoxColumn15.Visible = false; - this.dataGridViewTextBoxColumn15.Width = 106; - // - // dataGridViewTextBoxColumn16 - // - this.dataGridViewTextBoxColumn16.DataPropertyName = "SZOperationDoctor"; - this.dataGridViewTextBoxColumn16.FillWeight = 81.201F; - this.dataGridViewTextBoxColumn16.HeaderText = "术者"; - this.dataGridViewTextBoxColumn16.Name = "dataGridViewTextBoxColumn16"; - this.dataGridViewTextBoxColumn16.ReadOnly = true; - this.dataGridViewTextBoxColumn16.Visible = false; - this.dataGridViewTextBoxColumn16.Width = 67; - // - // dataGridViewTextBoxColumn17 - // - this.dataGridViewTextBoxColumn17.DataPropertyName = "SZAnesthesiaDoctor"; - this.dataGridViewTextBoxColumn17.HeaderText = "麻醉医生"; - this.dataGridViewTextBoxColumn17.Name = "dataGridViewTextBoxColumn17"; - this.dataGridViewTextBoxColumn17.ReadOnly = true; - this.dataGridViewTextBoxColumn17.Visible = false; - this.dataGridViewTextBoxColumn17.Width = 82; - // - // dataGridViewTextBoxColumn18 - // - this.dataGridViewTextBoxColumn18.DataPropertyName = "AnesthesiaEndTime"; - this.dataGridViewTextBoxColumn18.HeaderText = "麻醉结束"; - this.dataGridViewTextBoxColumn18.Name = "dataGridViewTextBoxColumn18"; - this.dataGridViewTextBoxColumn18.ReadOnly = true; - this.dataGridViewTextBoxColumn18.Visible = false; - this.dataGridViewTextBoxColumn18.Width = 96; - // - // dataGridViewTextBoxColumn19 - // - this.dataGridViewTextBoxColumn19.DataPropertyName = "OutRoomTime"; - this.dataGridViewTextBoxColumn19.HeaderText = "出室时间"; - this.dataGridViewTextBoxColumn19.Name = "dataGridViewTextBoxColumn19"; - this.dataGridViewTextBoxColumn19.Visible = false; - this.dataGridViewTextBoxColumn19.Width = 96; - // - // dataGridViewTextBoxColumn20 - // - this.dataGridViewTextBoxColumn20.DataPropertyName = "chagestate"; - this.dataGridViewTextBoxColumn20.FillWeight = 65.36763F; - this.dataGridViewTextBoxColumn20.HeaderText = "收费状态"; - this.dataGridViewTextBoxColumn20.Name = "dataGridViewTextBoxColumn20"; - this.dataGridViewTextBoxColumn20.Visible = false; - this.dataGridViewTextBoxColumn20.Width = 63; - // - // dataGridViewTextBoxColumn25 - // - this.dataGridViewTextBoxColumn25.HeaderText = "单位"; - this.dataGridViewTextBoxColumn25.Name = "dataGridViewTextBoxColumn25"; - this.dataGridViewTextBoxColumn25.Visible = false; - this.dataGridViewTextBoxColumn25.Width = 60; - // - // dataGridViewTextBoxColumn26 - // - this.dataGridViewTextBoxColumn26.DataPropertyName = "DrugPrice"; - this.dataGridViewTextBoxColumn26.HeaderText = "单价"; - this.dataGridViewTextBoxColumn26.Name = "dataGridViewTextBoxColumn26"; - this.dataGridViewTextBoxColumn26.ReadOnly = true; - this.dataGridViewTextBoxColumn26.Width = 70; - // - // dataGridViewTextBoxColumn27 - // - this.dataGridViewTextBoxColumn27.DataPropertyName = "display_name"; - this.dataGridViewTextBoxColumn27.HeaderText = "单号"; - this.dataGridViewTextBoxColumn27.Name = "dataGridViewTextBoxColumn27"; - this.dataGridViewTextBoxColumn27.Visible = false; - this.dataGridViewTextBoxColumn27.Width = 80; - // - // dataGridViewTextBoxColumn28 - // - this.dataGridViewTextBoxColumn28.DataPropertyName = "specification"; - this.dataGridViewTextBoxColumn28.HeaderText = "医嘱号"; - this.dataGridViewTextBoxColumn28.Name = "dataGridViewTextBoxColumn28"; - this.dataGridViewTextBoxColumn28.Width = 160; - // - // dataGridViewTextBoxColumn29 - // - this.dataGridViewTextBoxColumn29.DataPropertyName = "qty"; - this.dataGridViewTextBoxColumn29.HeaderText = "His医嘱号"; - this.dataGridViewTextBoxColumn29.Name = "dataGridViewTextBoxColumn29"; - this.dataGridViewTextBoxColumn29.Width = 60; - // - // dataGridViewTextBoxColumn30 - // - this.dataGridViewTextBoxColumn30.DataPropertyName = "qty_unit"; - this.dataGridViewTextBoxColumn30.HeaderText = "His数量"; - this.dataGridViewTextBoxColumn30.Name = "dataGridViewTextBoxColumn30"; - this.dataGridViewTextBoxColumn30.Visible = false; - this.dataGridViewTextBoxColumn30.Width = 60; - // - // dataGridViewTextBoxColumn31 - // - this.dataGridViewTextBoxColumn31.DataPropertyName = "qty_unit"; - this.dataGridViewTextBoxColumn31.HeaderText = "收费状态"; - this.dataGridViewTextBoxColumn31.Name = "dataGridViewTextBoxColumn31"; - this.dataGridViewTextBoxColumn31.Visible = false; - this.dataGridViewTextBoxColumn31.Width = 60; - // - // DId - // - this.DId.DataPropertyName = "Id"; - this.DId.HeaderText = "id"; - this.DId.Name = "DId"; - this.DId.ReadOnly = true; - this.DId.Visible = false; - this.DId.Width = 60; - // - // dataGridViewTextBoxColumn21 - // - this.dataGridViewTextBoxColumn21.DataPropertyName = "FeeCode"; - this.dataGridViewTextBoxColumn21.HeaderText = "编码"; - this.dataGridViewTextBoxColumn21.Name = "dataGridViewTextBoxColumn21"; - this.dataGridViewTextBoxColumn21.ReadOnly = true; - this.dataGridViewTextBoxColumn21.Width = 75; - // - // dataGridViewTextBoxColumn22 - // - this.dataGridViewTextBoxColumn22.DataPropertyName = "ChargName"; - this.dataGridViewTextBoxColumn22.HeaderText = "药品名称"; - this.dataGridViewTextBoxColumn22.Name = "dataGridViewTextBoxColumn22"; - this.dataGridViewTextBoxColumn22.ReadOnly = true; - this.dataGridViewTextBoxColumn22.Width = 200; - // - // spec - // - this.spec.DataPropertyName = "ChargSpec"; - this.spec.HeaderText = "规格"; - this.spec.Name = "spec"; - this.spec.ReadOnly = true; - this.spec.Width = 160; - // - // execDept - // - this.execDept.DataPropertyName = "ExecDept"; - this.execDept.HeaderText = "执行科室"; - this.execDept.Name = "execDept"; - this.execDept.ReadOnly = true; - this.execDept.Width = 150; - // - // room - // - this.room.DataPropertyName = "OperationRoom"; - this.room.HeaderText = "手术间"; - this.room.Name = "room"; - this.room.ReadOnly = true; - this.room.Width = 150; - // - // PatName - // - this.PatName.DataPropertyName = "PatientName"; - this.PatName.HeaderText = "患者姓名"; - this.PatName.Name = "PatName"; - this.PatName.ReadOnly = true; - this.PatName.Width = 80; - // - // InNo - // - this.InNo.DataPropertyName = "MdrecNo"; - this.InNo.HeaderText = "住院号"; - this.InNo.Name = "InNo"; - this.InNo.ReadOnly = true; - this.InNo.Width = 80; - // - // UpFreeTime - // - this.UpFreeTime.DataPropertyName = "ExecTime"; - this.UpFreeTime.HeaderText = "执行时间"; - this.UpFreeTime.Name = "UpFreeTime"; - this.UpFreeTime.ReadOnly = true; - this.UpFreeTime.Width = 125; - // - // dataGridViewTextBoxColumn23 - // - this.dataGridViewTextBoxColumn23.DataPropertyName = "FeeNum"; - this.dataGridViewTextBoxColumn23.HeaderText = "数量"; - this.dataGridViewTextBoxColumn23.Name = "dataGridViewTextBoxColumn23"; - this.dataGridViewTextBoxColumn23.ReadOnly = true; - this.dataGridViewTextBoxColumn23.Width = 60; - // - // DUnit - // - this.DUnit.DataPropertyName = "Unit"; - this.DUnit.HeaderText = "单位"; - this.DUnit.Name = "DUnit"; - this.DUnit.ReadOnly = true; - this.DUnit.Visible = false; - this.DUnit.Width = 60; - // - // dataGridViewTextBoxColumn24 - // - this.dataGridViewTextBoxColumn24.DataPropertyName = "UnitPrice"; - this.dataGridViewTextBoxColumn24.HeaderText = "单价"; - this.dataGridViewTextBoxColumn24.Name = "dataGridViewTextBoxColumn24"; - this.dataGridViewTextBoxColumn24.ReadOnly = true; - this.dataGridViewTextBoxColumn24.Width = 70; - // - // ChargePrice - // - this.ChargePrice.DataPropertyName = "ChargePrice"; - this.ChargePrice.HeaderText = "总价"; - this.ChargePrice.Name = "ChargePrice"; - this.ChargePrice.ReadOnly = true; - // - // frmOperationCharg5 - // - this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F); - this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; - this.ClientSize = new System.Drawing.Size(1350, 541); - this.Controls.Add(this.dgvHZD); - this.Controls.Add(this.dgvtEMPOperationInfos); - this.Controls.Add(this.groupBox1); - this.Controls.Add(this.panel2); - this.Controls.Add(this.panel1); - this.Name = "frmOperationCharg5"; - this.Text = "费用对照"; - this.Load += new System.EventHandler(this.frmOperationDruggCheck_Load); - this.panel1.ResumeLayout(false); - this.panel1.PerformLayout(); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - this.panel4.ResumeLayout(false); - this.panel4.PerformLayout(); - this.panel3.ResumeLayout(false); - this.panel3.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).EndInit(); - this.groupBox1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.dgvOperation)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvtEMPOperationInfos)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dgvHZD)).EndInit(); - this.ResumeLayout(false); - - } - - #endregion - - private System.Windows.Forms.Panel panel1; - private System.Windows.Forms.Button toolStripButton10; - private System.Windows.Forms.Panel panel2; - private System.Windows.Forms.Label lblMessage; - public System.Windows.Forms.Label labDate; - private System.Windows.Forms.Label label2; - private System.Windows.Forms.Button tsbSettingDGV; - private DevComponents.DotNetBar.ButtonX buttonX1; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn1; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn2; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn3; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn4; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn5; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn6; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn7; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn8; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn9; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn10; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn11; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn12; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn13; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn14; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn15; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn16; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn17; - private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpEnd; - private DevComponents.Editors.DateTimeAdv.DateTimeInput dtpOpeTime; - public System.Windows.Forms.Label label24; - private System.Windows.Forms.Button button1; - private DevComponents.DotNetBar.Controls.ComboBoxEx cboRoom; - private System.Windows.Forms.Label label22; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn18; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn19; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn20; - private System.Windows.Forms.GroupBox groupBox1; - private System.Windows.Forms.DataGridView dgvOperation; - private System.Windows.Forms.DataGridView dgvtEMPOperationInfos; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn25; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn26; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn27; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn28; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn29; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn30; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn31; - private System.Windows.Forms.Panel panel3; - private System.Windows.Forms.RadioButton rdoJZ; - private System.Windows.Forms.RadioButton rdoZQ; - private DevComponents.DotNetBar.Controls.ComboBoxEx comboBoxExType; - public System.Windows.Forms.Label label1; - private System.Windows.Forms.DataGridView dgvHZD; - private DevComponents.Editors.ComboItem comboItem1; - private DevComponents.Editors.ComboItem comboItem2; - private DevComponents.Editors.ComboItem comboItem3; - private DevComponents.Editors.ComboItem comboItem4; - private System.Windows.Forms.Panel panel4; - private System.Windows.Forms.RadioButton rdoHs; - private System.Windows.Forms.RadioButton rdoMz; - private DevComponents.DotNetBar.ButtonX btnSave; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn32; - private System.Windows.Forms.DataGridViewTextBoxColumn no; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn33; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn34; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn35; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn41; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn42; - private System.Windows.Forms.DataGridViewTextBoxColumn Id; - private System.Windows.Forms.DataGridViewTextBoxColumn anesBegintime; - private System.Windows.Forms.DataGridViewTextBoxColumn Anesendtime; - private System.Windows.Forms.DataGridViewTextBoxColumn TemplateType1; - private System.Windows.Forms.DataGridViewTextBoxColumn ChargType; - private System.Windows.Forms.DataGridViewTextBoxColumn PageType; - private System.Windows.Forms.DataGridViewTextBoxColumn PageNo; - private System.Windows.Forms.DataGridViewTextBoxColumn ExecDepartmentName; - private System.Windows.Forms.DataGridViewTextBoxColumn DId; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn21; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn22; - private System.Windows.Forms.DataGridViewTextBoxColumn spec; - private System.Windows.Forms.DataGridViewTextBoxColumn execDept; - private System.Windows.Forms.DataGridViewTextBoxColumn room; - private System.Windows.Forms.DataGridViewTextBoxColumn PatName; - private System.Windows.Forms.DataGridViewTextBoxColumn InNo; - private System.Windows.Forms.DataGridViewTextBoxColumn UpFreeTime; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn23; - private System.Windows.Forms.DataGridViewTextBoxColumn DUnit; - private System.Windows.Forms.DataGridViewTextBoxColumn dataGridViewTextBoxColumn24; - private System.Windows.Forms.DataGridViewTextBoxColumn ChargePrice; - } -} \ No newline at end of file diff --git a/AIMS/OperationAfter/frmOperationCharg5.resx b/AIMS/OperationAfter/frmOperationCharg5.resx deleted file mode 100644 index 6227fd8..0000000 --- a/AIMS/OperationAfter/frmOperationCharg5.resx +++ /dev/null @@ -1,204 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - - True - - \ No newline at end of file diff --git a/AIMS/OperationAfter/frmReportExport.designer.cs b/AIMS/OperationAfter/frmReportExport.designer.cs index 6e27f18..39fddc7 100644 --- a/AIMS/OperationAfter/frmReportExport.designer.cs +++ b/AIMS/OperationAfter/frmReportExport.designer.cs @@ -28,16 +28,26 @@ /// private void InitializeComponent() { - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle4 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle(); - System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle3 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle11 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle12 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle7 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle8 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle9 = new System.Windows.Forms.DataGridViewCellStyle(); + System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle13 = new System.Windows.Forms.DataGridViewCellStyle(); this.toolStrip1 = new System.Windows.Forms.ToolStrip(); this.tspSetting = new System.Windows.Forms.ToolStripButton(); this.toolStripButton1 = new System.Windows.Forms.ToolStripButton(); this.superTabControl1 = new DevComponents.DotNetBar.SuperTabControl(); + this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvtReport2 = new System.Windows.Forms.DataGridView(); + this.panel1 = new System.Windows.Forms.Panel(); + this.dtpEnd2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.dtpOpeTime2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.label1 = new System.Windows.Forms.Label(); + this.btn麻醉专业医疗质控指标 = new DevComponents.DotNetBar.ButtonX(); + this.label2 = new System.Windows.Forms.Label(); + this.R2 = new DevComponents.DotNetBar.SuperTabItem(); this.superTabControlPanel1 = new DevComponents.DotNetBar.SuperTabControlPanel(); this.dgvtReport = new System.Windows.Forms.DataGridView(); this.panel2 = new System.Windows.Forms.Panel(); @@ -47,28 +57,41 @@ this.btn手术例数按月统计 = new DevComponents.DotNetBar.ButtonX(); this.labDate = new System.Windows.Forms.Label(); this.R1 = new DevComponents.DotNetBar.SuperTabItem(); - this.R2 = new DevComponents.DotNetBar.SuperTabItem(); - this.superTabControlPanel2 = new DevComponents.DotNetBar.SuperTabControlPanel(); - this.dgvtReport2 = new System.Windows.Forms.DataGridView(); - this.panel1 = new System.Windows.Forms.Panel(); - this.dtpEnd2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.dtpOpeTime2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); - this.label1 = new System.Windows.Forms.Label(); - this.btn麻醉专业医疗质控指标 = new DevComponents.DotNetBar.ButtonX(); - this.label2 = new System.Windows.Forms.Label(); + this.P3 = new DevComponents.DotNetBar.SuperTabItem(); + this.superTabControlPanel3 = new DevComponents.DotNetBar.SuperTabControlPanel(); + this.dgvtEMPOperationInfos = new System.Windows.Forms.DataGridView(); + this.panel3 = new System.Windows.Forms.Panel(); + this.panel4 = new System.Windows.Forms.Panel(); + this.rdoHs = new System.Windows.Forms.RadioButton(); + this.rdoMz = new System.Windows.Forms.RadioButton(); + this.panel5 = new System.Windows.Forms.Panel(); + this.rdoJZ = new System.Windows.Forms.RadioButton(); + this.rdoZQ = new System.Windows.Forms.RadioButton(); + this.dateTimeInput1 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.dateTimeInput2 = new DevComponents.Editors.DateTimeAdv.DateTimeInput(); + this.label3 = new System.Windows.Forms.Label(); + this.buttonX1 = new DevComponents.DotNetBar.ButtonX(); + this.label4 = new System.Windows.Forms.Label(); this.toolStrip1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).BeginInit(); this.superTabControl1.SuspendLayout(); - this.superTabControlPanel1.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).BeginInit(); - this.panel2.SuspendLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit(); - ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).BeginInit(); this.superTabControlPanel2.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dgvtReport2)).BeginInit(); this.panel1.SuspendLayout(); ((System.ComponentModel.ISupportInitialize)(this.dtpEnd2)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime2)).BeginInit(); + this.superTabControlPanel1.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).BeginInit(); + this.panel2.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).BeginInit(); + this.superTabControlPanel3.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dgvtEMPOperationInfos)).BeginInit(); + this.panel3.SuspendLayout(); + this.panel4.SuspendLayout(); + this.panel5.SuspendLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput2)).BeginInit(); this.SuspendLayout(); // // toolStrip1 @@ -125,8 +148,9 @@ this.superTabControl1.ControlBox.SubItems.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.superTabControl1.ControlBox.MenuBox, this.superTabControl1.ControlBox.CloseBox}); - this.superTabControl1.Controls.Add(this.superTabControlPanel2); this.superTabControl1.Controls.Add(this.superTabControlPanel1); + this.superTabControl1.Controls.Add(this.superTabControlPanel2); + this.superTabControl1.Controls.Add(this.superTabControlPanel3); this.superTabControl1.Dock = System.Windows.Forms.DockStyle.Fill; this.superTabControl1.ForeColor = System.Drawing.Color.Black; this.superTabControl1.Location = new System.Drawing.Point(0, 49); @@ -139,9 +163,190 @@ this.superTabControl1.TabIndex = 38; this.superTabControl1.Tabs.AddRange(new DevComponents.DotNetBar.BaseItem[] { this.R1, - this.R2}); + this.R2, + this.P3}); this.superTabControl1.Text = "superTabControl1"; // + // superTabControlPanel2 + // + this.superTabControlPanel2.Controls.Add(this.dgvtReport2); + this.superTabControlPanel2.Controls.Add(this.panel1); + this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel2.Location = new System.Drawing.Point(0, 32); + this.superTabControlPanel2.Name = "superTabControlPanel2"; + this.superTabControlPanel2.Size = new System.Drawing.Size(1350, 460); + this.superTabControlPanel2.TabIndex = 0; + this.superTabControlPanel2.TabItem = this.R2; + // + // dgvtReport2 + // + this.dgvtReport2.AllowUserToAddRows = false; + this.dgvtReport2.AllowUserToDeleteRows = false; + this.dgvtReport2.AllowUserToResizeColumns = false; + this.dgvtReport2.AllowUserToResizeRows = false; + this.dgvtReport2.BackgroundColor = System.Drawing.Color.White; + this.dgvtReport2.BorderStyle = System.Windows.Forms.BorderStyle.None; + dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle10.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle10.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle10.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle10.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle10.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + this.dgvtReport2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle10; + this.dgvtReport2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridViewCellStyle11.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle11.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle11.Font = new System.Drawing.Font("微软雅黑", 9F); + dataGridViewCellStyle11.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle11.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle11.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle11.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvtReport2.DefaultCellStyle = dataGridViewCellStyle11; + this.dgvtReport2.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvtReport2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvtReport2.GridColor = System.Drawing.Color.Black; + this.dgvtReport2.Location = new System.Drawing.Point(0, 45); + this.dgvtReport2.MultiSelect = false; + this.dgvtReport2.Name = "dgvtReport2"; + this.dgvtReport2.ReadOnly = true; + dataGridViewCellStyle12.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle12.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle12.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle12.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle12.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle12.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle12.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvtReport2.RowHeadersDefaultCellStyle = dataGridViewCellStyle12; + this.dgvtReport2.RowHeadersVisible = false; + this.dgvtReport2.RowTemplate.Height = 23; + this.dgvtReport2.ShowCellErrors = false; + this.dgvtReport2.ShowCellToolTips = false; + this.dgvtReport2.Size = new System.Drawing.Size(1350, 415); + this.dgvtReport2.TabIndex = 393; + // + // panel1 + // + this.panel1.BackColor = System.Drawing.Color.WhiteSmoke; + this.panel1.Controls.Add(this.dtpEnd2); + this.panel1.Controls.Add(this.dtpOpeTime2); + this.panel1.Controls.Add(this.label1); + this.panel1.Controls.Add(this.btn麻醉专业医疗质控指标); + this.panel1.Controls.Add(this.label2); + this.panel1.Dock = System.Windows.Forms.DockStyle.Top; + this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panel1.Location = new System.Drawing.Point(0, 0); + this.panel1.Name = "panel1"; + this.panel1.Size = new System.Drawing.Size(1350, 45); + this.panel1.TabIndex = 392; + // + // dtpEnd2 + // + // + // + // + this.dtpEnd2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dtpEnd2.ButtonDropDown.Visible = true; + this.dtpEnd2.CustomFormat = "yyyy-MM-dd"; + this.dtpEnd2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dtpEnd2.Font = new System.Drawing.Font("微软雅黑", 9F); + this.dtpEnd2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dtpEnd2.IsPopupCalendarOpen = false; + this.dtpEnd2.Location = new System.Drawing.Point(224, 9); + // + // + // + // + // + // + this.dtpEnd2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.dtpEnd2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + // + // + // + this.dtpEnd2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpEnd2.Name = "dtpEnd2"; + this.dtpEnd2.Size = new System.Drawing.Size(114, 23); + this.dtpEnd2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dtpEnd2.TabIndex = 472; + // + // dtpOpeTime2 + // + // + // + // + this.dtpOpeTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dtpOpeTime2.ButtonDropDown.Visible = true; + this.dtpOpeTime2.CustomFormat = "yyyy-MM-dd"; + this.dtpOpeTime2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dtpOpeTime2.Font = new System.Drawing.Font("微软雅黑", 9F); + this.dtpOpeTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dtpOpeTime2.IsPopupCalendarOpen = false; + this.dtpOpeTime2.Location = new System.Drawing.Point(91, 9); + // + // + // + // + // + // + this.dtpOpeTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + // + // + // + this.dtpOpeTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + // + // + // + this.dtpOpeTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dtpOpeTime2.Name = "dtpOpeTime2"; + this.dtpOpeTime2.Size = new System.Drawing.Size(114, 23); + this.dtpOpeTime2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dtpOpeTime2.TabIndex = 471; + // + // label1 + // + this.label1.AutoSize = true; + this.label1.Location = new System.Drawing.Point(208, 11); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(15, 20); + this.label1.TabIndex = 470; + this.label1.Text = "-"; + // + // btn麻醉专业医疗质控指标 + // + this.btn麻醉专业医疗质控指标.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.btn麻醉专业医疗质控指标.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.btn麻醉专业医疗质控指标.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.btn麻醉专业医疗质控指标.Location = new System.Drawing.Point(356, 7); + this.btn麻醉专业医疗质控指标.Name = "btn麻醉专业医疗质控指标"; + this.btn麻醉专业医疗质控指标.Size = new System.Drawing.Size(90, 29); + this.btn麻醉专业医疗质控指标.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.btn麻醉专业医疗质控指标.TabIndex = 467; + this.btn麻醉专业医疗质控指标.Text = "查询"; + this.btn麻醉专业医疗质控指标.Click += new System.EventHandler(this.btn麻醉专业医疗质控指标_Click); + // + // label2 + // + this.label2.AutoSize = true; + this.label2.Location = new System.Drawing.Point(17, 9); + this.label2.Name = "label2"; + this.label2.Size = new System.Drawing.Size(68, 20); + this.label2.TabIndex = 421; + this.label2.Text = "查询时间:"; + // + // R2 + // + this.R2.AttachedControl = this.superTabControlPanel2; + this.R2.GlobalItem = false; + this.R2.Name = "R2"; + this.R2.Text = "2022麻醉专业医疗质控指标"; + // // superTabControlPanel1 // this.superTabControlPanel1.Controls.Add(this.dgvtReport); @@ -161,22 +366,22 @@ this.dgvtReport.AllowUserToResizeRows = false; this.dgvtReport.BackgroundColor = System.Drawing.Color.White; this.dgvtReport.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle4.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle4.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle4.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle4.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle4.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - this.dgvtReport.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle4; + dataGridViewCellStyle7.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle7.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle7.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle7.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle7.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle7.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + this.dgvtReport.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle7; this.dgvtReport.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle5.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle5.Font = new System.Drawing.Font("微软雅黑", 9F); - dataGridViewCellStyle5.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle5.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle5.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvtReport.DefaultCellStyle = dataGridViewCellStyle5; + dataGridViewCellStyle8.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle8.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle8.Font = new System.Drawing.Font("微软雅黑", 9F); + dataGridViewCellStyle8.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle8.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle8.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle8.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvtReport.DefaultCellStyle = dataGridViewCellStyle8; this.dgvtReport.Dock = System.Windows.Forms.DockStyle.Fill; this.dgvtReport.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; this.dgvtReport.GridColor = System.Drawing.Color.Black; @@ -184,14 +389,14 @@ this.dgvtReport.MultiSelect = false; this.dgvtReport.Name = "dgvtReport"; this.dgvtReport.ReadOnly = true; - dataGridViewCellStyle6.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle6.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle6.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle6.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle6.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvtReport.RowHeadersDefaultCellStyle = dataGridViewCellStyle6; + dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle9.BackColor = System.Drawing.SystemColors.Control; + dataGridViewCellStyle9.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + dataGridViewCellStyle9.ForeColor = System.Drawing.SystemColors.WindowText; + dataGridViewCellStyle9.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle9.SelectionForeColor = System.Drawing.SystemColors.HighlightText; + dataGridViewCellStyle9.WrapMode = System.Windows.Forms.DataGridViewTriState.True; + this.dgvtReport.RowHeadersDefaultCellStyle = dataGridViewCellStyle9; this.dgvtReport.RowHeadersVisible = false; this.dgvtReport.RowTemplate.Height = 23; this.dgvtReport.ShowCellErrors = false; @@ -323,185 +528,234 @@ this.R1.Name = "R1"; this.R1.Text = "手术例数按月统计表"; // - // R2 + // P3 // - this.R2.AttachedControl = this.superTabControlPanel2; - this.R2.GlobalItem = false; - this.R2.Name = "R2"; - this.R2.Text = "2022麻醉专业医疗质控指标"; + this.P3.AttachedControl = this.superTabControlPanel3; + this.P3.GlobalItem = false; + this.P3.Name = "P3"; + this.P3.Text = "费用统计"; + this.P3.Visible = false; // - // superTabControlPanel2 + // superTabControlPanel3 // - this.superTabControlPanel2.Controls.Add(this.dgvtReport2); - this.superTabControlPanel2.Controls.Add(this.panel1); - this.superTabControlPanel2.Dock = System.Windows.Forms.DockStyle.Fill; - this.superTabControlPanel2.Location = new System.Drawing.Point(0, 32); - this.superTabControlPanel2.Name = "superTabControlPanel2"; - this.superTabControlPanel2.Size = new System.Drawing.Size(1350, 460); - this.superTabControlPanel2.TabIndex = 0; - this.superTabControlPanel2.TabItem = this.R2; + this.superTabControlPanel3.Controls.Add(this.dgvtEMPOperationInfos); + this.superTabControlPanel3.Controls.Add(this.panel3); + this.superTabControlPanel3.Dock = System.Windows.Forms.DockStyle.Fill; + this.superTabControlPanel3.Location = new System.Drawing.Point(0, 32); + this.superTabControlPanel3.Name = "superTabControlPanel3"; + this.superTabControlPanel3.Size = new System.Drawing.Size(1350, 460); + this.superTabControlPanel3.TabIndex = 0; + this.superTabControlPanel3.TabItem = this.P3; // - // dgvtReport2 + // dgvtEMPOperationInfos // - this.dgvtReport2.AllowUserToAddRows = false; - this.dgvtReport2.AllowUserToDeleteRows = false; - this.dgvtReport2.AllowUserToResizeColumns = false; - this.dgvtReport2.AllowUserToResizeRows = false; - this.dgvtReport2.BackgroundColor = System.Drawing.Color.White; - this.dgvtReport2.BorderStyle = System.Windows.Forms.BorderStyle.None; - dataGridViewCellStyle1.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle1.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle1.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle1.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle1.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle1.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - this.dgvtReport2.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle1; - this.dgvtReport2.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; - dataGridViewCellStyle2.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.Window; - dataGridViewCellStyle2.Font = new System.Drawing.Font("微软雅黑", 9F); - dataGridViewCellStyle2.ForeColor = System.Drawing.Color.Black; - dataGridViewCellStyle2.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle2.SelectionForeColor = System.Drawing.SystemColors.ControlText; - dataGridViewCellStyle2.WrapMode = System.Windows.Forms.DataGridViewTriState.False; - this.dgvtReport2.DefaultCellStyle = dataGridViewCellStyle2; - this.dgvtReport2.Dock = System.Windows.Forms.DockStyle.Fill; - this.dgvtReport2.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; - this.dgvtReport2.GridColor = System.Drawing.Color.Black; - this.dgvtReport2.Location = new System.Drawing.Point(0, 45); - this.dgvtReport2.MultiSelect = false; - this.dgvtReport2.Name = "dgvtReport2"; - this.dgvtReport2.ReadOnly = true; - dataGridViewCellStyle3.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; - dataGridViewCellStyle3.BackColor = System.Drawing.SystemColors.Control; - dataGridViewCellStyle3.Font = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - dataGridViewCellStyle3.ForeColor = System.Drawing.SystemColors.WindowText; - dataGridViewCellStyle3.SelectionBackColor = System.Drawing.SystemColors.Highlight; - dataGridViewCellStyle3.SelectionForeColor = System.Drawing.SystemColors.HighlightText; - dataGridViewCellStyle3.WrapMode = System.Windows.Forms.DataGridViewTriState.True; - this.dgvtReport2.RowHeadersDefaultCellStyle = dataGridViewCellStyle3; - this.dgvtReport2.RowHeadersVisible = false; - this.dgvtReport2.RowTemplate.Height = 23; - this.dgvtReport2.ShowCellErrors = false; - this.dgvtReport2.ShowCellToolTips = false; - this.dgvtReport2.Size = new System.Drawing.Size(1350, 415); - this.dgvtReport2.TabIndex = 393; + this.dgvtEMPOperationInfos.AllowUserToAddRows = false; + this.dgvtEMPOperationInfos.AllowUserToDeleteRows = false; + this.dgvtEMPOperationInfos.AllowUserToResizeColumns = false; + this.dgvtEMPOperationInfos.AllowUserToResizeRows = false; + this.dgvtEMPOperationInfos.BackgroundColor = System.Drawing.Color.White; + this.dgvtEMPOperationInfos.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.dgvtEMPOperationInfos.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.AutoSize; + dataGridViewCellStyle13.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleLeft; + dataGridViewCellStyle13.BackColor = System.Drawing.SystemColors.Window; + dataGridViewCellStyle13.Font = new System.Drawing.Font("微软雅黑", 10.5F); + dataGridViewCellStyle13.ForeColor = System.Drawing.Color.Black; + dataGridViewCellStyle13.SelectionBackColor = System.Drawing.SystemColors.Highlight; + dataGridViewCellStyle13.SelectionForeColor = System.Drawing.SystemColors.ControlText; + dataGridViewCellStyle13.WrapMode = System.Windows.Forms.DataGridViewTriState.False; + this.dgvtEMPOperationInfos.DefaultCellStyle = dataGridViewCellStyle13; + this.dgvtEMPOperationInfos.Dock = System.Windows.Forms.DockStyle.Fill; + this.dgvtEMPOperationInfos.EditMode = System.Windows.Forms.DataGridViewEditMode.EditOnEnter; + this.dgvtEMPOperationInfos.GridColor = System.Drawing.Color.Black; + this.dgvtEMPOperationInfos.Location = new System.Drawing.Point(0, 57); + this.dgvtEMPOperationInfos.MultiSelect = false; + this.dgvtEMPOperationInfos.Name = "dgvtEMPOperationInfos"; + this.dgvtEMPOperationInfos.ReadOnly = true; + this.dgvtEMPOperationInfos.RowHeadersVisible = false; + this.dgvtEMPOperationInfos.RowTemplate.Height = 23; + this.dgvtEMPOperationInfos.ShowCellErrors = false; + this.dgvtEMPOperationInfos.ShowCellToolTips = false; + this.dgvtEMPOperationInfos.Size = new System.Drawing.Size(1350, 403); + this.dgvtEMPOperationInfos.TabIndex = 391; // - // panel1 + // panel3 // - this.panel1.BackColor = System.Drawing.Color.WhiteSmoke; - this.panel1.Controls.Add(this.dtpEnd2); - this.panel1.Controls.Add(this.dtpOpeTime2); - this.panel1.Controls.Add(this.label1); - this.panel1.Controls.Add(this.btn麻醉专业医疗质控指标); - this.panel1.Controls.Add(this.label2); - this.panel1.Dock = System.Windows.Forms.DockStyle.Top; - this.panel1.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); - this.panel1.Location = new System.Drawing.Point(0, 0); - this.panel1.Name = "panel1"; - this.panel1.Size = new System.Drawing.Size(1350, 45); - this.panel1.TabIndex = 392; + this.panel3.BackColor = System.Drawing.Color.WhiteSmoke; + this.panel3.Controls.Add(this.panel4); + this.panel3.Controls.Add(this.panel5); + this.panel3.Controls.Add(this.dateTimeInput1); + this.panel3.Controls.Add(this.dateTimeInput2); + this.panel3.Controls.Add(this.label3); + this.panel3.Controls.Add(this.buttonX1); + this.panel3.Controls.Add(this.label4); + this.panel3.Dock = System.Windows.Forms.DockStyle.Top; + this.panel3.Font = new System.Drawing.Font("微软雅黑", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); + this.panel3.Location = new System.Drawing.Point(0, 0); + this.panel3.Name = "panel3"; + this.panel3.Size = new System.Drawing.Size(1350, 57); + this.panel3.TabIndex = 390; // - // dtpEnd2 + // panel4 + // + this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel4.Controls.Add(this.rdoHs); + this.panel4.Controls.Add(this.rdoMz); + this.panel4.Location = new System.Drawing.Point(21, 11); + this.panel4.Name = "panel4"; + this.panel4.Size = new System.Drawing.Size(177, 33); + this.panel4.TabIndex = 474; + // + // rdoHs + // + this.rdoHs.AutoSize = true; + this.rdoHs.Location = new System.Drawing.Point(93, 5); + this.rdoHs.Name = "rdoHs"; + this.rdoHs.Size = new System.Drawing.Size(83, 24); + this.rdoHs.TabIndex = 0; + this.rdoHs.Text = "护士收费"; + this.rdoHs.UseVisualStyleBackColor = true; + // + // rdoMz + // + this.rdoMz.AutoSize = true; + this.rdoMz.Checked = true; + this.rdoMz.Location = new System.Drawing.Point(2, 5); + this.rdoMz.Name = "rdoMz"; + this.rdoMz.Size = new System.Drawing.Size(83, 24); + this.rdoMz.TabIndex = 0; + this.rdoMz.TabStop = true; + this.rdoMz.Text = "麻醉收费"; + this.rdoMz.UseVisualStyleBackColor = true; + // + // panel5 + // + this.panel5.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle; + this.panel5.Controls.Add(this.rdoJZ); + this.panel5.Controls.Add(this.rdoZQ); + this.panel5.Location = new System.Drawing.Point(216, 11); + this.panel5.Name = "panel5"; + this.panel5.Size = new System.Drawing.Size(172, 33); + this.panel5.TabIndex = 473; + // + // rdoJZ + // + this.rdoJZ.AutoSize = true; + this.rdoJZ.Location = new System.Drawing.Point(86, 5); + this.rdoJZ.Name = "rdoJZ"; + this.rdoJZ.Size = new System.Drawing.Size(55, 24); + this.rdoJZ.TabIndex = 0; + this.rdoJZ.Text = "耗材"; + this.rdoJZ.UseVisualStyleBackColor = true; + // + // rdoZQ + // + this.rdoZQ.AutoSize = true; + this.rdoZQ.Checked = true; + this.rdoZQ.Location = new System.Drawing.Point(11, 5); + this.rdoZQ.Name = "rdoZQ"; + this.rdoZQ.Size = new System.Drawing.Size(55, 24); + this.rdoZQ.TabIndex = 0; + this.rdoZQ.TabStop = true; + this.rdoZQ.Text = "药品"; + this.rdoZQ.UseVisualStyleBackColor = true; + // + // dateTimeInput1 // // // // - this.dtpEnd2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; - this.dtpEnd2.ButtonDropDown.Visible = true; - this.dtpEnd2.CustomFormat = "yyyy-MM-dd"; - this.dtpEnd2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); - this.dtpEnd2.Font = new System.Drawing.Font("微软雅黑", 9F); - this.dtpEnd2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; - this.dtpEnd2.IsPopupCalendarOpen = false; - this.dtpEnd2.Location = new System.Drawing.Point(224, 9); + this.dateTimeInput1.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dateTimeInput1.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dateTimeInput1.ButtonDropDown.Visible = true; + this.dateTimeInput1.CustomFormat = "yyyy-MM-dd HH:mm"; + this.dateTimeInput1.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dateTimeInput1.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dateTimeInput1.IsPopupCalendarOpen = false; + this.dateTimeInput1.Location = new System.Drawing.Point(692, 15); // // // // // // - this.dtpEnd2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dateTimeInput1.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // - this.dtpEnd2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + this.dateTimeInput1.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dateTimeInput1.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); // // // - this.dtpEnd2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpEnd2.Name = "dtpEnd2"; - this.dtpEnd2.Size = new System.Drawing.Size(114, 23); - this.dtpEnd2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.dtpEnd2.TabIndex = 472; + this.dateTimeInput1.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dateTimeInput1.Name = "dateTimeInput1"; + this.dateTimeInput1.Size = new System.Drawing.Size(200, 26); + this.dateTimeInput1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dateTimeInput1.TabIndex = 472; // - // dtpOpeTime2 + // dateTimeInput2 // // // // - this.dtpOpeTime2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; - this.dtpOpeTime2.ButtonDropDown.Visible = true; - this.dtpOpeTime2.CustomFormat = "yyyy-MM-dd"; - this.dtpOpeTime2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); - this.dtpOpeTime2.Font = new System.Drawing.Font("微软雅黑", 9F); - this.dtpOpeTime2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; - this.dtpOpeTime2.IsPopupCalendarOpen = false; - this.dtpOpeTime2.Location = new System.Drawing.Point(91, 9); + this.dateTimeInput2.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dateTimeInput2.ButtonDropDown.Shortcut = DevComponents.DotNetBar.eShortcut.AltDown; + this.dateTimeInput2.ButtonDropDown.Visible = true; + this.dateTimeInput2.CustomFormat = "yyyy-MM-dd HH:mm"; + this.dateTimeInput2.FocusHighlightColor = System.Drawing.Color.FromArgb(((int)(((byte)(46)))), ((int)(((byte)(186)))), ((int)(((byte)(179))))); + this.dateTimeInput2.Format = DevComponents.Editors.eDateTimePickerFormat.Custom; + this.dateTimeInput2.IsPopupCalendarOpen = false; + this.dateTimeInput2.Location = new System.Drawing.Point(476, 14); // // // // // // - this.dtpOpeTime2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dateTimeInput2.MonthCalendar.BackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; // // // - this.dtpOpeTime2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); + this.dateTimeInput2.MonthCalendar.CommandsBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dateTimeInput2.MonthCalendar.DisplayMonth = new System.DateTime(2017, 11, 1, 0, 0, 0, 0); // // // - this.dtpOpeTime2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; - this.dtpOpeTime2.Name = "dtpOpeTime2"; - this.dtpOpeTime2.Size = new System.Drawing.Size(114, 23); - this.dtpOpeTime2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.dtpOpeTime2.TabIndex = 471; + this.dateTimeInput2.MonthCalendar.NavigationBackgroundStyle.CornerType = DevComponents.DotNetBar.eCornerType.Square; + this.dateTimeInput2.Name = "dateTimeInput2"; + this.dateTimeInput2.Size = new System.Drawing.Size(200, 26); + this.dateTimeInput2.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.dateTimeInput2.TabIndex = 471; // - // label1 + // label3 // - this.label1.AutoSize = true; - this.label1.Location = new System.Drawing.Point(208, 11); - this.label1.Name = "label1"; - this.label1.Size = new System.Drawing.Size(15, 20); - this.label1.TabIndex = 470; - this.label1.Text = "-"; + this.label3.AutoSize = true; + this.label3.Location = new System.Drawing.Point(676, 17); + this.label3.Name = "label3"; + this.label3.Size = new System.Drawing.Size(15, 20); + this.label3.TabIndex = 470; + this.label3.Text = "-"; // - // btn麻醉专业医疗质控指标 + // buttonX1 // - this.btn麻醉专业医疗质控指标.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; - this.btn麻醉专业医疗质控指标.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; - this.btn麻醉专业医疗质控指标.Font = new System.Drawing.Font("微软雅黑", 11.5F); - this.btn麻醉专业医疗质控指标.Location = new System.Drawing.Point(356, 7); - this.btn麻醉专业医疗质控指标.Name = "btn麻醉专业医疗质控指标"; - this.btn麻醉专业医疗质控指标.Size = new System.Drawing.Size(90, 29); - this.btn麻醉专业医疗质控指标.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; - this.btn麻醉专业医疗质控指标.TabIndex = 467; - this.btn麻醉专业医疗质控指标.Text = "查询"; - this.btn麻醉专业医疗质控指标.Click += new System.EventHandler(this.btn麻醉专业医疗质控指标_Click); + this.buttonX1.AccessibleRole = System.Windows.Forms.AccessibleRole.PushButton; + this.buttonX1.ColorTable = DevComponents.DotNetBar.eButtonColor.OrangeWithBackground; + this.buttonX1.Font = new System.Drawing.Font("微软雅黑", 11.5F); + this.buttonX1.Location = new System.Drawing.Point(902, 14); + this.buttonX1.Name = "buttonX1"; + this.buttonX1.Size = new System.Drawing.Size(90, 29); + this.buttonX1.Style = DevComponents.DotNetBar.eDotNetBarStyle.StyleManagerControlled; + this.buttonX1.TabIndex = 467; + this.buttonX1.Text = "查询"; // - // label2 + // label4 // - this.label2.AutoSize = true; - this.label2.Location = new System.Drawing.Point(17, 9); - this.label2.Name = "label2"; - this.label2.Size = new System.Drawing.Size(68, 20); - this.label2.TabIndex = 421; - this.label2.Text = "查询时间:"; + this.label4.AutoSize = true; + this.label4.Location = new System.Drawing.Point(402, 18); + this.label4.Name = "label4"; + this.label4.Size = new System.Drawing.Size(68, 20); + this.label4.TabIndex = 421; + this.label4.Text = "查询时间:"; // // frmReportExport // @@ -516,18 +770,28 @@ this.toolStrip1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.superTabControl1)).EndInit(); this.superTabControl1.ResumeLayout(false); - this.superTabControlPanel1.ResumeLayout(false); - ((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).EndInit(); - this.panel2.ResumeLayout(false); - this.panel2.PerformLayout(); - ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).EndInit(); - ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).EndInit(); this.superTabControlPanel2.ResumeLayout(false); ((System.ComponentModel.ISupportInitialize)(this.dgvtReport2)).EndInit(); this.panel1.ResumeLayout(false); this.panel1.PerformLayout(); ((System.ComponentModel.ISupportInitialize)(this.dtpEnd2)).EndInit(); ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime2)).EndInit(); + this.superTabControlPanel1.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvtReport)).EndInit(); + this.panel2.ResumeLayout(false); + this.panel2.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dtpEnd)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dtpOpeTime)).EndInit(); + this.superTabControlPanel3.ResumeLayout(false); + ((System.ComponentModel.ISupportInitialize)(this.dgvtEMPOperationInfos)).EndInit(); + this.panel3.ResumeLayout(false); + this.panel3.PerformLayout(); + this.panel4.ResumeLayout(false); + this.panel4.PerformLayout(); + this.panel5.ResumeLayout(false); + this.panel5.PerformLayout(); + ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.dateTimeInput2)).EndInit(); this.ResumeLayout(false); this.PerformLayout(); @@ -557,5 +821,20 @@ private DevComponents.DotNetBar.ButtonX btn麻醉专业医疗质控指标; public System.Windows.Forms.Label label2; private DevComponents.DotNetBar.SuperTabItem R2; + private DevComponents.DotNetBar.SuperTabControlPanel superTabControlPanel3; + private DevComponents.DotNetBar.SuperTabItem P3; + private System.Windows.Forms.DataGridView dgvtEMPOperationInfos; + private System.Windows.Forms.Panel panel3; + private System.Windows.Forms.Panel panel4; + private System.Windows.Forms.RadioButton rdoHs; + private System.Windows.Forms.RadioButton rdoMz; + private System.Windows.Forms.Panel panel5; + private System.Windows.Forms.RadioButton rdoJZ; + private System.Windows.Forms.RadioButton rdoZQ; + private DevComponents.Editors.DateTimeAdv.DateTimeInput dateTimeInput1; + private DevComponents.Editors.DateTimeAdv.DateTimeInput dateTimeInput2; + public System.Windows.Forms.Label label3; + private DevComponents.DotNetBar.ButtonX buttonX1; + public System.Windows.Forms.Label label4; } } \ No newline at end of file diff --git a/AIMS/OperationFront/frmOperationSchedulePlan.cs b/AIMS/OperationFront/frmOperationSchedulePlan.cs index 8fa96de..7a9a28a 100644 --- a/AIMS/OperationFront/frmOperationSchedulePlan.cs +++ b/AIMS/OperationFront/frmOperationSchedulePlan.cs @@ -4080,14 +4080,21 @@ namespace AIMS.OperationFront.UI LoadSelectDate(txtQuery.Text.Trim()); LoadOperationInfo(); //dgvDetail.PrimaryGrid.Rows.Clear(); - if (grCurrentSub != null) + try { - OperationApply apply = BOperationApply.SelectSingle(int.Parse(selApply)); - if (apply.PlanOperationTime == null || apply.PlanOperationTime.Value.ToShortDateString() != dtpSearchTime.Value.ToShortDateString()) + if (grCurrentSub != null) { - dgvDetail.PrimaryGrid.Rows.Remove(grCurrentSub); + OperationApply apply = BOperationApply.SelectSingle(int.Parse(selApply)); + if (apply.PlanOperationTime == null || apply.PlanOperationTime.Value.ToShortDateString() != dtpSearchTime.Value.ToShortDateString()) + { + dgvDetail.PrimaryGrid.Rows.Remove(grCurrentSub); + } } } + catch (Exception ex) + { + PublicMethod.WriteLog(ex); + } selApply = null; RoomCardManage.SelectIds = null; lblcount.Text = "ǰ" + dgvApplyOrDoctor.Rows.Count + "\\" + OpeCount + ""; diff --git a/AIMSEntity/BLL/Extension/BFeesRecordReport.cs b/AIMSEntity/BLL/Extension/BFeesRecordReport.cs index 8951229..1e98e11 100644 --- a/AIMSEntity/BLL/Extension/BFeesRecordReport.cs +++ b/AIMSEntity/BLL/Extension/BFeesRecordReport.cs @@ -66,6 +66,32 @@ ROW_NUMBER() OVER (ORDER BY FeeCode ASC) AS noo, IsInsure 结存数 FROM FeesRecord LEFT JOIN Oris_Patient pt on pt.id=PatientId +LEFT JOIN V_OperationRecordInfo voi on voi.RecoredId=FeesRecord.OperationRecordId + where FeeIsDrug=1 and FeesRecord.Extend4<>'' and {0} ", where); + DataTable dt = DBHelper.GetDataTable(sql); + return dt; + } + public static DataTable GetUpListByWhere4(string where) + { + string sql = string.Format(@" + select FeesRecord.id, + voi.OpeDAY '开医嘱时间', + voi.MdrecNo ID号, + voi.PatientName 姓名, + voi.Sex 性别, + pt.IdentityCard 身份证号, + voi.ApplyDiagnoseInfoName 诊断, + FeesRecord.ChargName 药品名称, + FeesRecord.InsureNO 药品批号, + FeesRecord.ChargSpec 规格, + FeesRecord.FeeNum 收费数量, + FeesRecord.Extend2+FeesRecord.Extend1 使用量, + IsInsure 余量, + Conclusion 余液处理方式, + FeesRecord.ExecWork 处置者, + FeesRecord.Extend5 审核者 +FROM FeesRecord +LEFT JOIN Oris_Patient pt on pt.id=PatientId LEFT JOIN V_OperationRecordInfo voi on voi.RecoredId=FeesRecord.OperationRecordId where FeeIsDrug=1 and FeesRecord.Extend4<>'' and {0} ", where); DataTable dt = DBHelper.GetDataTable(sql); diff --git a/AIMSEntity/DAL/Extension/DOperationRecord.cs b/AIMSEntity/DAL/Extension/DOperationRecord.cs index 8eb6459..e606148 100644 --- a/AIMSEntity/DAL/Extension/DOperationRecord.cs +++ b/AIMSEntity/DAL/Extension/DOperationRecord.cs @@ -15,9 +15,9 @@ namespace AIMSDAL public static int AddTitleTime(int PatientId, int ApplyId, int RecoverId, int State, DateTime Time, int RoomId) { string ApplyAnaesthesiaMethod = BApplyAnaesthesiaMethod.GetApplyAnaesthesiaMethod(ApplyId); - string strSql = "INSERT INTO OperationRecord(PatientId,OperationApplyId,RecoverId,[State],InRoomTime,OperatorNo,OperatorName,OperateDate,RoomId,AnaesthesiaMethodName,Fasting)" + + string strSql = "INSERT INTO OperationRecord(PatientId,OperationApplyId,RecoverId,[State],InRoomTime,OperatorNo,OperatorName,OperateDate,RoomId,AnaesthesiaMethodName,Fasting,Remark2)" + "VALUES (" + PatientId + "," + ApplyId + "," + RecoverId + ",'" + State + "','" + Time + "','" + AIMSExtension.PublicMethod.OperatorNo + "','" - + AIMSExtension.PublicMethod.OperatorName + "','" + AIMSExtension.PublicMethod.SystemDate() + "','" + RoomId + "','" + ApplyAnaesthesiaMethod + "','是');select @@identity "; + + AIMSExtension.PublicMethod.OperatorName + "','" + AIMSExtension.PublicMethod.SystemDate() + "','" + RoomId + "','" + ApplyAnaesthesiaMethod + "','是','否');select @@identity "; return Convert.ToInt32(HelperDB.DbHelperSQL.ExecNonQuery(strSql)); } diff --git a/DrawGraph/AreaManage/DBManage.cs b/DrawGraph/AreaManage/DBManage.cs index 6c582df..10a5a6c 100644 --- a/DrawGraph/AreaManage/DBManage.cs +++ b/DrawGraph/AreaManage/DBManage.cs @@ -164,7 +164,7 @@ namespace DrawGraph } else if (items[1] == "Applydiagnose") { - i += AddApplyDiagnose(_operationRecord, _operationRecord.Applydiagnose); + i += AddApplyDiagnose(_operationRecord, _operationRecord.Applydiagnose); } else if (items[1] == "AnaesthesiaMethodId") { diff --git a/DrawGraph/AreaManage/DrugsManage.cs b/DrawGraph/AreaManage/DrugsManage.cs index 2a3b396..4c64e7e 100644 --- a/DrawGraph/AreaManage/DrugsManage.cs +++ b/DrawGraph/AreaManage/DrugsManage.cs @@ -179,6 +179,8 @@ namespace DrawGraph DrugListstr.Add("【手术用药】"); myOpeRecord.StandbyListstr = new List(); myOpeRecord.StandbyListstr.Add("【备用药品】"); + myOpeRecord.BackListstr = new List(); + myOpeRecord.BackListstr.Add("【配药】"); myOpeRecord.AfterDrugsListstr = new List(); myOpeRecord.AfterDrugsListstr.Add("【术后镇痛药】"); myOpeRecord.AnesBeforListstr = new List(); @@ -202,6 +204,10 @@ namespace DrawGraph { myOpeRecord.StandbyListstr.Add(string.Format("{0}{1} {2} {3}{4}{5}", "", ((item.DrugBeginTime == item.DrugEndTime) ? item.DrugBeginTime.ToShortTimeString() : item.DrugBeginTime.ToShortTimeString()) + "->" + item.DrugEndTime.ToShortTimeString(), item.DrugName.Trim(), dose, "","")); } + else if (item.DrugChannel == "配药") + { + myOpeRecord.BackListstr.Add(string.Format("{0}{1} {2} {3}{4}{5}", "", ((item.DrugBeginTime == item.DrugEndTime) ? item.DrugBeginTime.ToShortTimeString() : item.DrugBeginTime.ToShortTimeString()) + "->" + item.DrugEndTime.ToShortTimeString(), item.DrugName.Trim(), dose, "","")); + } else if (item.GiveDrugType == "麻醉诱导用药") { myOpeRecord.AnesBeforListstr.Add(string.Format("{0}{1} {2} {3}{4}{5}", "", item.DrugName.Trim(), "", dose, "", item.DrugChannel == null ? "" : " " + item.DrugChannel.ToString())); diff --git a/DrawGraph/AreaManage/OperationRecord.cs b/DrawGraph/AreaManage/OperationRecord.cs index 4b39f9a..6d53f03 100644 --- a/DrawGraph/AreaManage/OperationRecord.cs +++ b/DrawGraph/AreaManage/OperationRecord.cs @@ -921,7 +921,7 @@ namespace DrawGraph set { remark1 = value; } } /// - /// 备注2 + /// 困难气道 /// [ClassAttributs(Description = "备注2")] public string Remark2 @@ -1201,6 +1201,7 @@ namespace DrawGraph public List AnesBeforListstr = new List(); public List FluidListstr = new List(); public List StandbyListstr = new List(); + public List BackListstr = new List(); public List PunctureAndIntubatio; public List PhysioConfigList; public List PhysioAnesConfigList; diff --git a/DrawGraph/AreaManage/OutputManage.cs b/DrawGraph/AreaManage/OutputManage.cs index d8d588d..f4883b1 100644 --- a/DrawGraph/AreaManage/OutputManage.cs +++ b/DrawGraph/AreaManage/OutputManage.cs @@ -202,21 +202,21 @@ namespace DrawGraph allOutDose += val; if (item.OutputLiquidsName == "尿量") nlDose += val; - else if (item.OutputLiquidsName == "失血") + else if (item.OutputLiquidsName == "出血量") sxDose += val; } }); template.SetObjValue(myOpeRecord, "OperationRecord.OutAmount", allOutDose.ToString(), allOutDose.ToString(), allOutDose.ToString() != myOpeRecord.OutAmount ? true : false); string outStr = ""; - if (nlDose > 0) - { + if (nlDose > 0) outStr += "尿量 " + nlDose + " ml\n"; - } - if (sxDose > 0) - { - outStr += "失血 " + sxDose + " ml\n"; - } + else + outStr += "尿量 -\n"; + if (sxDose > 0) + outStr += "出血量 " + sxDose + " ml\n"; + else + outStr += "出血量 -\n"; if (outStr != "") template.SetObjValue(myOpeRecord, "OperationRecord.Crystal", outStr, outStr, false); } diff --git a/DrawGraph/AreaManage/PhysioDataManage.cs b/DrawGraph/AreaManage/PhysioDataManage.cs index 694ab83..35d6f6b 100644 --- a/DrawGraph/AreaManage/PhysioDataManage.cs +++ b/DrawGraph/AreaManage/PhysioDataManage.cs @@ -640,21 +640,24 @@ namespace DrawGraph myOpeRecord.PhysioAnesConfigList.Add(pp); } } - //加载事件图标 - IList dtevent = PhysioDataConfig.GetEventList(); - for (int i = 0; i < dtevent.Count; i++) + if (myOpeRecord.RecoverId == 1) { - PhysioDataConfig pp = dtevent[i]; - pp.ConfigType = "事件"; - pp.ConveColor = System.Drawing.Color.White; - - if (pp.IsDefalultShow == true) + //加载事件图标 + IList dtevent = PhysioDataConfig.GetEventList(); + for (int i = 0; i < dtevent.Count; i++) { - pp.IsValid = true; - pp.phListPack = phListPack; - pp.setAnasArr(ZedControl, chartPack.RealX, chartPack.RealEndX, myOpeRecord.PageBegin, - myOpeRecord.PageBegin.AddMinutes(EVERY_PAGE_TIME_SPAN)); - pp.initCurve(); + PhysioDataConfig pp = dtevent[i]; + pp.ConfigType = "事件"; + pp.ConveColor = System.Drawing.Color.White; + + if (pp.IsDefalultShow == true) + { + pp.IsValid = true; + pp.phListPack = phListPack; + pp.setAnasArr(ZedControl, chartPack.RealX, chartPack.RealEndX, myOpeRecord.PageBegin, + myOpeRecord.PageBegin.AddMinutes(EVERY_PAGE_TIME_SPAN)); + pp.initCurve(); + } } } } diff --git a/DrawGraph/AreaManage/RemarkManage.cs b/DrawGraph/AreaManage/RemarkManage.cs index ebe37fa..f3219de 100644 --- a/DrawGraph/AreaManage/RemarkManage.cs +++ b/DrawGraph/AreaManage/RemarkManage.cs @@ -108,18 +108,18 @@ namespace DrawGraph if (myOpeRecord.EventListstr != null && myOpeRecord.EventListstr.Count > 0) count = count + myOpeRecord.EventListstr.Count + 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) - count = count + 3; - //神经阻滞 - if (myOpeRecord.OpeRecordInfo.NeuroPlexusAround != null || myOpeRecord.OpeRecordInfo.BrachialPlexus != null) - count = count + 3; - if (myOpeRecord.OpeRecordInfo.VenipunctureDeep != null || myOpeRecord.OpeRecordInfo.VenipunctureCenter != null) - count = count + 3; - if (myOpeRecord.OpeRecordInfo.AnesthesiaPlane != null || myOpeRecord.OpeRecordInfo.AnesthesiaEffect != null || myOpeRecord.OpeRecordInfo.SpecialSituation != null) - count = count + 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) + // count = count + 3; + // //神经阻滞 + // if (myOpeRecord.OpeRecordInfo.NeuroPlexusAround != null || myOpeRecord.OpeRecordInfo.BrachialPlexus != null) + // count = count + 3; + // if (myOpeRecord.OpeRecordInfo.VenipunctureDeep != null || myOpeRecord.OpeRecordInfo.VenipunctureCenter != null) + // count = count + 3; + // if (myOpeRecord.OpeRecordInfo.AnesthesiaPlane != null || myOpeRecord.OpeRecordInfo.AnesthesiaEffect != null || myOpeRecord.OpeRecordInfo.SpecialSituation != null) + // count = count + 1; + //} if (myOpeRecord.DrugsListstr != null && myOpeRecord.DrugsListstr.Count > 0) count = count + myOpeRecord.DrugsListstr.Count + 2; @@ -170,6 +170,8 @@ namespace DrawGraph SetRemarkInfo(myOpeRecord.DrugsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); //备用药 SetRemarkInfo(myOpeRecord.StandbyListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); + //配药 + SetRemarkInfo(myOpeRecord.BackListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); //液体备注 SetRemarkInfo(myOpeRecord.SapsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); //出量备注 @@ -179,139 +181,138 @@ namespace DrawGraph if (myOpeRecord.currentPage == myOpeRecord.pageCount) SetRemarkInfo(myOpeRecord.AfterDrugsListstr, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); - //手术信息备注 - if (myOpeRecord.OpeRecordInfo != null && OutputManagePpack == null) - { - //穿刺点1 - if (myOpeRecord.OpeRecordInfo.PunctureSite != null || myOpeRecord.OpeRecordInfo.NeedleNumber != null || myOpeRecord.OpeRecordInfo.NeedleDirection != null || myOpeRecord.OpeRecordInfo.PuncturePosition != null || myOpeRecord.OpeRecordInfo.ConduitDepth != null) - { - PunctureAndIntubatio = new List(); - PunctureAndIntubatio.Add("【穿刺点1】"); - punStr = ""; - if (myOpeRecord.OpeRecordInfo.PunctureSite != "") punStr += " 穿刺部位:" + myOpeRecord.OpeRecordInfo.PunctureSite; - if (myOpeRecord.OpeRecordInfo.NeedleNumber != "") punStr += " 针号:" + myOpeRecord.OpeRecordInfo.NeedleNumber; - if (myOpeRecord.OpeRecordInfo.NeedleDirection != "") punStr += " 针向:" + myOpeRecord.OpeRecordInfo.NeedleDirection; - if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - if (myOpeRecord.OpeRecordInfo.PuncturePosition != "") punStr = " 穿刺体位:" + myOpeRecord.OpeRecordInfo.PuncturePosition; - if (myOpeRecord.OpeRecordInfo.ConduitDepth != "") punStr += " 导管进入:" + myOpeRecord.OpeRecordInfo.ConduitDepth + "cm"; - if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); - } - //穿刺点2 - if (myOpeRecord.OpeRecordInfo.PunctureSite2 != null || myOpeRecord.OpeRecordInfo.NeedleNumber2 != null || myOpeRecord.OpeRecordInfo.NeedleDirection2 != null || myOpeRecord.OpeRecordInfo.PuncturePosition2 != null || myOpeRecord.OpeRecordInfo.ConduitDepth2 != null) - { - PunctureAndIntubatio = new List(); - PunctureAndIntubatio.Add("【穿刺点2】"); - punStr = ""; - if (myOpeRecord.OpeRecordInfo.PunctureSite2 != "") punStr += " 穿刺部位:" + myOpeRecord.OpeRecordInfo.PunctureSite2; - if (myOpeRecord.OpeRecordInfo.NeedleNumber2 != "") punStr += " 针号:" + myOpeRecord.OpeRecordInfo.NeedleNumber2; - if (myOpeRecord.OpeRecordInfo.NeedleDirection2 != "") punStr += " 针向:" + myOpeRecord.OpeRecordInfo.NeedleDirection2; - if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - if (myOpeRecord.OpeRecordInfo.PuncturePosition2 != "") punStr = " 穿刺体位:" + myOpeRecord.OpeRecordInfo.PuncturePosition2; - if (myOpeRecord.OpeRecordInfo.ConduitDepth2 != "") punStr += " 导管进入:" + myOpeRecord.OpeRecordInfo.ConduitDepth2 + "cm"; - if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); - } + ////手术信息备注 + //if (myOpeRecord.OpeRecordInfo != null && OutputManagePpack == null) + //{ + // //穿刺点1 + // if (myOpeRecord.OpeRecordInfo.PunctureSite != null || myOpeRecord.OpeRecordInfo.NeedleNumber != null || myOpeRecord.OpeRecordInfo.NeedleDirection != null || myOpeRecord.OpeRecordInfo.PuncturePosition != null || myOpeRecord.OpeRecordInfo.ConduitDepth != null) + // { + // PunctureAndIntubatio = new List(); + // PunctureAndIntubatio.Add("【穿刺点1】"); + // punStr = ""; + // if (myOpeRecord.OpeRecordInfo.PunctureSite != "") punStr += " 穿刺部位:" + myOpeRecord.OpeRecordInfo.PunctureSite; + // if (myOpeRecord.OpeRecordInfo.NeedleNumber != "") punStr += " 针号:" + myOpeRecord.OpeRecordInfo.NeedleNumber; + // if (myOpeRecord.OpeRecordInfo.NeedleDirection != "") punStr += " 针向:" + myOpeRecord.OpeRecordInfo.NeedleDirection; + // if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // if (myOpeRecord.OpeRecordInfo.PuncturePosition != "") punStr = " 穿刺体位:" + myOpeRecord.OpeRecordInfo.PuncturePosition; + // if (myOpeRecord.OpeRecordInfo.ConduitDepth != "") punStr += " 导管进入:" + myOpeRecord.OpeRecordInfo.ConduitDepth + "cm"; + // if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); + // } + // //穿刺点2 + // if (myOpeRecord.OpeRecordInfo.PunctureSite2 != null || myOpeRecord.OpeRecordInfo.NeedleNumber2 != null || myOpeRecord.OpeRecordInfo.NeedleDirection2 != null || myOpeRecord.OpeRecordInfo.PuncturePosition2 != null || myOpeRecord.OpeRecordInfo.ConduitDepth2 != null) + // { + // PunctureAndIntubatio = new List(); + // PunctureAndIntubatio.Add("【穿刺点2】"); + // punStr = ""; + // if (myOpeRecord.OpeRecordInfo.PunctureSite2 != "") punStr += " 穿刺部位:" + myOpeRecord.OpeRecordInfo.PunctureSite2; + // if (myOpeRecord.OpeRecordInfo.NeedleNumber2 != "") punStr += " 针号:" + myOpeRecord.OpeRecordInfo.NeedleNumber2; + // if (myOpeRecord.OpeRecordInfo.NeedleDirection2 != "") punStr += " 针向:" + myOpeRecord.OpeRecordInfo.NeedleDirection2; + // if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // if (myOpeRecord.OpeRecordInfo.PuncturePosition2 != "") punStr = " 穿刺体位:" + myOpeRecord.OpeRecordInfo.PuncturePosition2; + // if (myOpeRecord.OpeRecordInfo.ConduitDepth2 != "") punStr += " 导管进入:" + myOpeRecord.OpeRecordInfo.ConduitDepth2 + "cm"; + // if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); + // } - //插管 - if (myOpeRecord.OpeRecordInfo.IntubateMode != null || myOpeRecord.OpeRecordInfo.IntubateType != null || myOpeRecord.OpeRecordInfo.IntubatePosition != null || myOpeRecord.OpeRecordInfo.IntubatePath != null || myOpeRecord.OpeRecordInfo.IntubateOther != null) - { - PunctureAndIntubatio = new List(); - PunctureAndIntubatio.Add("【插管/喉罩】"); - punStr = myOpeRecord.OpeRecordInfo.IntubateMode + " " + myOpeRecord.OpeRecordInfo.IntubateType; - if (myOpeRecord.OpeRecordInfo.IntubateNumber != "") punStr += " 管号:" + myOpeRecord.OpeRecordInfo.IntubateNumber + "#"; - if (myOpeRecord.OpeRecordInfo.IntubateDepth != "") punStr += " 深度:" + myOpeRecord.OpeRecordInfo.IntubateDepth + "cm"; - if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - punStr = " " + myOpeRecord.OpeRecordInfo.IntubatePosition.Trim(); - punStr += " " + myOpeRecord.OpeRecordInfo.AnaesthesiaMode; - punStr += " " + myOpeRecord.OpeRecordInfo.IntubatePath; - punStr += " " + myOpeRecord.OpeRecordInfo.IntubateOther; + // //插管 + // if (myOpeRecord.OpeRecordInfo.IntubateMode != null || myOpeRecord.OpeRecordInfo.IntubateType != null || myOpeRecord.OpeRecordInfo.IntubatePosition != null || myOpeRecord.OpeRecordInfo.IntubatePath != null || myOpeRecord.OpeRecordInfo.IntubateOther != null) + // { + // PunctureAndIntubatio = new List(); + // PunctureAndIntubatio.Add("【插管/喉罩】"); + // punStr = myOpeRecord.OpeRecordInfo.IntubateMode + " " + myOpeRecord.OpeRecordInfo.IntubateType; + // if (myOpeRecord.OpeRecordInfo.IntubateNumber != "") punStr += " 管号:" + myOpeRecord.OpeRecordInfo.IntubateNumber + "#"; + // if (myOpeRecord.OpeRecordInfo.IntubateDepth != "") punStr += " 深度:" + myOpeRecord.OpeRecordInfo.IntubateDepth + "cm"; + // if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // punStr = " " + myOpeRecord.OpeRecordInfo.IntubatePosition.Trim(); + // punStr += " " + myOpeRecord.OpeRecordInfo.AnaesthesiaMode; + // punStr += " " + myOpeRecord.OpeRecordInfo.IntubatePath; + // punStr += " " + myOpeRecord.OpeRecordInfo.IntubateOther; - string jing = ""; - if (myOpeRecord.OpeRecordInfo.NeuroPlexusShallow != null) - { - jing = myOpeRecord.OpeRecordInfo.NeuroPlexusShallow; - } - punStr += " " + jing; + // string jing = ""; + // if (myOpeRecord.OpeRecordInfo.NeuroPlexusShallow != null) + // { + // jing = myOpeRecord.OpeRecordInfo.NeuroPlexusShallow; + // } + // punStr += " " + jing; - if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); - } + // if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); + // } - //神经阻滞 - if (myOpeRecord.OpeRecordInfo.NeuroPlexusAround != null || myOpeRecord.OpeRecordInfo.BrachialPlexus != null) - { - PunctureAndIntubatio = new List(); - PunctureAndIntubatio.Add("【神经阻滞】"); - string NeuroPlexusAround = myOpeRecord.OpeRecordInfo.NeuroPlexusAround; - if (myOpeRecord.OpeRecordInfo.BrachialPlexus != null && myOpeRecord.OpeRecordInfo.BrachialPlexus != "") - PunctureAndIntubatio.Add(myOpeRecord.OpeRecordInfo.BrachialPlexus + " " + NeuroPlexusAround);//"【神经阻滞部位】 " + - SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); - } - //穿刺信息 - if (myOpeRecord.OpeRecordInfo.VenipunctureType != null) - { - PunctureAndIntubatio = new List(); - PunctureAndIntubatio.Add("【穿刺信息】"); - string PuncturePosition = ""; - if (myOpeRecord.OpeRecordInfo.VenipunctureDeep != null && myOpeRecord.OpeRecordInfo.VenipunctureDeep != "") - { - PuncturePosition = "动脉穿刺 " + myOpeRecord.OpeRecordInfo.VenipunctureDeep; - PunctureAndIntubatio.Add(PuncturePosition); - } - string PunctureSite = ""; - if (myOpeRecord.OpeRecordInfo.VenipunctureCenter != null && myOpeRecord.OpeRecordInfo.VenipunctureCenter != "") - { - PunctureSite = "中心静脉穿刺 " + myOpeRecord.OpeRecordInfo.VenipunctureCenter; - PunctureAndIntubatio.Add(PunctureSite); - } - if (PunctureAndIntubatio.Count > 0) - SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); - } + // //神经阻滞 + // if (myOpeRecord.OpeRecordInfo.NeuroPlexusAround != null || myOpeRecord.OpeRecordInfo.BrachialPlexus != null) + // { + // PunctureAndIntubatio = new List(); + // PunctureAndIntubatio.Add("【神经阻滞】"); + // string NeuroPlexusAround = myOpeRecord.OpeRecordInfo.NeuroPlexusAround; + // if (myOpeRecord.OpeRecordInfo.BrachialPlexus != null && myOpeRecord.OpeRecordInfo.BrachialPlexus != "") + // PunctureAndIntubatio.Add(myOpeRecord.OpeRecordInfo.BrachialPlexus + " " + NeuroPlexusAround);//"【神经阻滞部位】 " + + // SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); + // } + // //穿刺信息 + // if (myOpeRecord.OpeRecordInfo.VenipunctureType != null) + // { + // PunctureAndIntubatio = new List(); + // PunctureAndIntubatio.Add("【穿刺信息】"); + // string PuncturePosition = ""; + // if (myOpeRecord.OpeRecordInfo.VenipunctureDeep != null && myOpeRecord.OpeRecordInfo.VenipunctureDeep != "") + // { + // PuncturePosition = "动脉穿刺 " + myOpeRecord.OpeRecordInfo.VenipunctureDeep; + // PunctureAndIntubatio.Add(PuncturePosition); + // } + // string PunctureSite = ""; + // if (myOpeRecord.OpeRecordInfo.VenipunctureCenter != null && myOpeRecord.OpeRecordInfo.VenipunctureCenter != "") + // { + // PunctureSite = "中心静脉穿刺 " + myOpeRecord.OpeRecordInfo.VenipunctureCenter; + // PunctureAndIntubatio.Add(PunctureSite); + // } + // if (PunctureAndIntubatio.Count > 0) + // SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); + // } - //麻醉情况 - if (myOpeRecord.OpeRecordInfo.AnesthesiaPlane != null || myOpeRecord.OpeRecordInfo.AnesthesiaEffect != null || myOpeRecord.OpeRecordInfo.SpecialSituation != null) - { - PunctureAndIntubatio = new List(); - PunctureAndIntubatio.Add("【麻醉情况】"); - punStr = ""; - if (myOpeRecord.OpeRecordInfo.AnesthesiaPlane != null && myOpeRecord.OpeRecordInfo.AnesthesiaPlane != "") - punStr += " 麻醉平面:" + myOpeRecord.OpeRecordInfo.AnesthesiaPlane; - if (myOpeRecord.OpeRecordInfo.AnesthesiaEffect != null) - punStr += " 麻醉效果: " + myOpeRecord.OpeRecordInfo.AnesthesiaEffect; - if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - if (myOpeRecord.OpeRecordInfo.SpecialSituation != null && myOpeRecord.OpeRecordInfo.SpecialSituation != "") - PunctureAndIntubatio.Add(" 手术结束患者情况: " + myOpeRecord.OpeRecordInfo.SpecialSituation); - SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); - } - //cboSteward评分 - if (myOpeRecord.OpeRecordInfo.StewardNumber != null || myOpeRecord.OpeRecordInfo.StewardSober != null || myOpeRecord.OpeRecordInfo.StewardLimbActivity != null) - { - PunctureAndIntubatio = new List(); - PunctureAndIntubatio.Add("【Steward评分】"); - punStr = ""; - if (myOpeRecord.OpeRecordInfo.StewardSober != null && myOpeRecord.OpeRecordInfo.StewardSober != "") - punStr += " 清醒程度:" + myOpeRecord.OpeRecordInfo.StewardSober + "分"; - //if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - //punStr = ""; - if (myOpeRecord.OpeRecordInfo.StewardBreathing != null && myOpeRecord.OpeRecordInfo.StewardBreathing != "") - punStr += " 呼吸通道顺畅程度: " + myOpeRecord.OpeRecordInfo.StewardBreathing + "分"; - //if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - //punStr = ""; - if (myOpeRecord.OpeRecordInfo.StewardLimbActivity != null && myOpeRecord.OpeRecordInfo.StewardLimbActivity != "") - punStr += " 肢体活动度: " + myOpeRecord.OpeRecordInfo.StewardLimbActivity + "分"; - if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); - if (myOpeRecord.OpeRecordInfo.StewardNumber != null && myOpeRecord.OpeRecordInfo.StewardNumber != "") - PunctureAndIntubatio.Add(" Steward总评分: " + myOpeRecord.OpeRecordInfo.StewardNumber + "分"); - SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); - } - } + // //麻醉情况 + // if (myOpeRecord.OpeRecordInfo.AnesthesiaPlane != null || myOpeRecord.OpeRecordInfo.AnesthesiaEffect != null || myOpeRecord.OpeRecordInfo.SpecialSituation != null) + // { + // PunctureAndIntubatio = new List(); + // PunctureAndIntubatio.Add("【麻醉情况】"); + // punStr = ""; + // if (myOpeRecord.OpeRecordInfo.AnesthesiaPlane != null && myOpeRecord.OpeRecordInfo.AnesthesiaPlane != "") + // punStr += " 麻醉平面:" + myOpeRecord.OpeRecordInfo.AnesthesiaPlane; + // if (myOpeRecord.OpeRecordInfo.AnesthesiaEffect != null) + // punStr += " 麻醉效果: " + myOpeRecord.OpeRecordInfo.AnesthesiaEffect; + // if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // if (myOpeRecord.OpeRecordInfo.SpecialSituation != null && myOpeRecord.OpeRecordInfo.SpecialSituation != "") + // PunctureAndIntubatio.Add(" 手术结束患者情况: " + myOpeRecord.OpeRecordInfo.SpecialSituation); + // SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); + // } + // //cboSteward评分 + // if (myOpeRecord.OpeRecordInfo.StewardNumber != null || myOpeRecord.OpeRecordInfo.StewardSober != null || myOpeRecord.OpeRecordInfo.StewardLimbActivity != null) + // { + // PunctureAndIntubatio = new List(); + // PunctureAndIntubatio.Add("【Steward评分】"); + // punStr = ""; + // if (myOpeRecord.OpeRecordInfo.StewardSober != null && myOpeRecord.OpeRecordInfo.StewardSober != "") + // punStr += " 清醒程度:" + myOpeRecord.OpeRecordInfo.StewardSober + "分"; + // //if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // //punStr = ""; + // if (myOpeRecord.OpeRecordInfo.StewardBreathing != null && myOpeRecord.OpeRecordInfo.StewardBreathing != "") + // punStr += " 呼吸通道顺畅程度: " + myOpeRecord.OpeRecordInfo.StewardBreathing + "分"; + // //if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // //punStr = ""; + // if (myOpeRecord.OpeRecordInfo.StewardLimbActivity != null && myOpeRecord.OpeRecordInfo.StewardLimbActivity != "") + // punStr += " 肢体活动度: " + myOpeRecord.OpeRecordInfo.StewardLimbActivity + "分"; + // if (punStr.Trim() != "") PunctureAndIntubatio.Add(punStr); + // if (myOpeRecord.OpeRecordInfo.StewardNumber != null && myOpeRecord.OpeRecordInfo.StewardNumber != "") + // PunctureAndIntubatio.Add(" Steward总评分: " + myOpeRecord.OpeRecordInfo.StewardNumber + "分"); + // SetRemarkInfo(PunctureAndIntubatio, remarkRowscount, ref x, ref remarkRow, ref AllRemarkRow, fontsize, ref fontlength); + // } + //} } catch (Exception ex) { PublicMethod.WriteLog(ex); } - } private void SetRemarkInfo(List PunctureAndIntubatios, int remarkRowscount, ref double x, ref int remarkRow, ref int AllRemarkRow, float fontsize, ref int fontlength) diff --git a/DrawGraph/AreaManage/TokenEditorManage.cs b/DrawGraph/AreaManage/TokenEditorManage.cs index e74a3f8..8c57025 100644 --- a/DrawGraph/AreaManage/TokenEditorManage.cs +++ b/DrawGraph/AreaManage/TokenEditorManage.cs @@ -13,82 +13,92 @@ namespace DrawGraph public static void SelectDictList(OperationRecord OpeRecord, TextBox txt, bool IsSearch = true) { //检索字典数据 - DevComponents.DotNetBar.Controls.TokenEditor tokenEditor = txt.Parent as DevComponents.DotNetBar.Controls.TokenEditor; - AbleEditPackObj aEdit = tokenEditor.Tag as AbleEditPackObj; - string PersonType = ""; - switch (aEdit.ClassDataSourceName) + try { - case "OperationRecord.AnesthesiaDoctor": //麻醉医生 - PersonType = "2"; - tokenEditor.DropDownHeight = 120; - break; - case "OperationRecord.OperationDoctor": - tokenEditor.DropDownHeight = 200; - PersonType = "0"; - break; - case "OperationRecord.InstrumentNurse": - tokenEditor.DropDownHeight = 250; - PersonType = "3"; - break; - case "OperationRecord.Assistant1": - tokenEditor.DropDownHeight = 200; - PersonType = "0"; - break; - case "OperationRecord.TourNurse": - tokenEditor.DropDownHeight = 250; - PersonType = "3"; - break; - case "OperationRecord.OrtherDoctorId": - tokenEditor.DropDownHeight = 120; - PersonType = "4"; - break; - case "OperationRecord.Applydiagnose": //手术诊断 - tokenEditor.DropDownHeight = 340; - break; - case "OperationRecord.Applyoperation": //手术诊断 - tokenEditor.DropDownHeight = 340; - break; - case "OperationRecord.Operation": //手术诊断 - tokenEditor.DropDownHeight = 340; - break; - default: - tokenEditor.DropDownHeight = 200; - break; - } - DataTable dt = DBManage.GetDictDataTable(OpeRecord, txt.Text, aEdit.ControlTitleText, PersonType, (IsSearch == true ? aEdit.PackValue : "")); + DevComponents.DotNetBar.Controls.TokenEditor tokenEditor = txt.Parent as DevComponents.DotNetBar.Controls.TokenEditor; + AbleEditPackObj aEdit = tokenEditor.Tag as AbleEditPackObj; + string PersonType = ""; + switch (aEdit.ClassDataSourceName) + { + case "OperationRecord.AnesthesiaDoctor": //麻醉医生 + PersonType = "2"; + break; + case "OperationRecord.OperationDoctor": + PersonType = "0"; + break; + case "OperationRecord.InstrumentNurse": + PersonType = "3"; + break; + case "OperationRecord.Assistant1": + PersonType = "0"; + break; + case "OperationRecord.TourNurse": + PersonType = "3"; + break; + case "OperationRecord.OrtherDoctorId": + PersonType = "4"; + break; + } + DataTable dt = DBManage.GetDictDataTable(OpeRecord, txt.Text, aEdit.ControlTitleText, PersonType, (IsSearch == true ? aEdit.PackValue : "")); - tokenEditor.Tokens.Clear(); - foreach (DataRow item in dt.Rows) - { - DevComponents.DotNetBar.Controls.EditToken edit = new DevComponents.DotNetBar.Controls.EditToken(item["Id"].ToString(), item["Name"].ToString()); - tokenEditor.Tokens.Add(edit); + tokenEditor.Tokens.Clear(); + foreach (DataRow item in dt.Rows) + { + DevComponents.DotNetBar.Controls.EditToken edit = new DevComponents.DotNetBar.Controls.EditToken(item["Id"].ToString(), item["Name"].ToString()); + tokenEditor.Tokens.Add(edit); + } + switch (aEdit.ClassDataSourceName) + { + case "OperationRecord.AnesthesiaDoctor": //麻醉医生 + case "OperationRecord.OperationDoctor": + case "OperationRecord.InstrumentNurse": + case "OperationRecord.Assistant1": + case "OperationRecord.TourNurse": + case "OperationRecord.OrtherDoctorId": + tokenEditor.DropDownHeight = dt.Rows.Count * 23; + break; + case "OperationRecord.Applydiagnose": //手术诊断 + case "OperationRecord.Applyoperation": //手术诊断 + case "OperationRecord.Operation": //手术诊断 + case "OperationRecord.Diagnose": //手术诊断 + tokenEditor.DropDownHeight = 340; + break; + default: + tokenEditor.DropDownHeight = 250; + break; + } + if (tokenEditor.IsPopupOpen == false) + tokenEditor.IsPopupOpen = true; + } + catch (System.Exception ex) + { + PublicMethod.WriteLog(ex); } - if (tokenEditor.IsPopupOpen == false) - tokenEditor.IsPopupOpen = true; } - public static string GetOperationItemId(string name, AbleEditPackObj aEdit) + public static string GetOperationItemId(string namestr, AbleEditPackObj aEdit) { string Id = ""; + string Name = namestr.Replace("\n", "").Replace("\t", ""); if (aEdit.ControlTitleText == "手术") { - string sql = string.Format("select Id from Operation where Name = '{0}'", name); + string sql = string.Format("select Id from Operation where Name = '{0}'", Name); object dt = DBHelper.ExecuteScalar(sql); if (dt != null) { Id = dt.ToString(); } if (Id == null || Id == "") { - string sql2 = string.Format("insert into Operation values('{0}','{1}','{2}',0,1,'admin','系統管理員',getdate(),'{3}');select @@identity ", "", name, PublicMethod.GetFirstLetter(name), ""); + string sql2 = string.Format("insert into Operation values('{0}','{1}','{2}',0,1,'admin','系統管理員',getdate(),'{3}');select @@identity ", "", Name, PublicMethod.GetFirstLetter(Name), ""); Id = DBHelper.ExecuteScalar(sql2).ToString(); } } else if (aEdit.ControlTitleText == "诊断") { - string sql = string.Format("select Id from Disease where Name = '{0}'", name); + string sql = string.Format("select Id from Disease where Name = '{0}'", Name); object dt = DBHelper.ExecuteScalar(sql); if (dt != null) { Id = dt.ToString(); } if (Id == null || Id == "") { - string sql2 = string.Format("insert into Disease values('{0}','{1}','{2}',0,1,'admin','系統管理員',getdate());select @@identity ", "", name, PublicMethod.GetFirstLetter(name)); + string sql2 = string.Format("insert into Disease values('{0}','{1}','{2}',0,1,'admin','系統管理員',getdate());select @@identity ", "", Name, PublicMethod.GetFirstLetter(Name)); Id = DBHelper.ExecuteScalar(sql2).ToString(); } } @@ -139,6 +149,10 @@ namespace DrawGraph //设置属性的值 _template.SetObjValue(OpeRecord, aEdit.ClassDataSourceName, Value, Key, true); + if (aEdit.ClassDataSourceName == "OperationRecord.Applydiagnose") + { + _template.SetObjValue(OpeRecord, "OperationRecord.Diagnose", Value, Key, true); + } } public static void SaveDictItemText(TemplateManage _template, OperationRecord OpeRecord, TokenEditor tokenEditor, AbleEditPackObj aEdit, bool IsVisible = false) { @@ -186,7 +200,7 @@ namespace DrawGraph { namevalue.Add(item.Text); idvalue.Add(item.Value); - tagvalue.Add(GetWorkerTags(item.Text,item.Value)); + tagvalue.Add(GetWorkerTags(item.Text, item.Value)); } if (idvalue.Count > 0) {