瀏覽代碼

fix: 下拉框选择事件丢失

zhengjie 1 年之前
父節點
當前提交
28c73647ce
共有 3 個文件被更改,包括 246 次插入253 次删除
  1. 1 9
      Business/HisMainBusiness.cs
  2. 0 4
      Forms/InpatientRegistration.cs
  3. 245 240
      Forms/InpatientRegistration.designer.cs

+ 1 - 9
Business/HisMainBusiness.cs

@@ -1013,17 +1013,9 @@ namespace PTMedicalInsurance.Business
                     Global.pat.discDiagCode = diseCodg;
                     Global.pat.discDiagName = diseName;
 
-                    if (string.IsNullOrEmpty(frmReg.diseCodg))
-                    {
-                        diseCodg = JsonHelper.getDestValue(joHisRtnInfo, "mdtrtinfo.dscg_maindiag_code");
-                    }
-                    if (string.IsNullOrEmpty(frmReg.diseName))
-                    {
-                        diseName = JsonHelper.getDestValue(joHisRtnInfo, "mdtrtinfo.dscg_maindiag_name");
-                    };
-
                     frmReg.insuType = Global.pat.insuType;
                     Global.Set.settlementWay = frmReg.psn_setlway;
+                    local_dise = frmReg.local_dise_code; //用界面上最新的
 
                     JObject ExportObj = new JObject();
                     //出院登记扩展参数用入院登记时保存的

+ 0 - 4
Forms/InpatientRegistration.cs

@@ -379,11 +379,7 @@ namespace PTMedicalInsurance.Forms
 
         private void dblkcbxTreatway_AfterSelector(object sender, PTControl.AfterSelectorEventArgs e)
         {
-            DataGridViewRow row = e.Value as DataGridViewRow;
-            DataRowView dataRow = row.DataBoundItem as DataRowView;
 
-            treatway_code = dataRow["Code"].ToString().Trim();
-            treatway_name = dataRow["Name"].ToString().Trim();
         }
     }
 }

+ 245 - 240
Forms/InpatientRegistration.designer.cs

@@ -30,24 +30,9 @@ namespace PTMedicalInsurance.Forms
         /// </summary>
         private void InitializeComponent()
         {
-            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle2 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
             this.pnlHeader = new System.Windows.Forms.Panel();
-            this.pnlFooter = new System.Windows.Forms.Panel();
-            this.uiButton1 = new Sunny.UI.UIButton();
-            this.button2 = new System.Windows.Forms.Button();
-            this.button1 = new System.Windows.Forms.Button();
-            this.dgvDiagnose = new System.Windows.Forms.DataGridView();
-            this.diag_type_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.maindiag_flag = new System.Windows.Forms.DataGridViewCheckBoxColumn();
-            this.diag_srt_no = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.diag_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.diag_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.diag_dept = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.adm_cond = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dise_dor_no = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.dise_dor_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.diag_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.pnlBottom = new System.Windows.Forms.Panel();
+            this.grpHeader = new Sunny.UI.UIGroupBox();
             this.txtBirthDay = new Sunny.UI.UITextBox();
             this.txtInsuType = new Sunny.UI.UITextBox();
             this.txtAge = new Sunny.UI.UITextBox();
@@ -71,8 +56,23 @@ namespace PTMedicalInsurance.Forms
             this.txtName = new Sunny.UI.UITextBox();
             this.uiLabel1 = new Sunny.UI.UILabel();
             this.uiLabel20 = new Sunny.UI.UILabel();
-            this.grpHeader = new Sunny.UI.UIGroupBox();
             this.uiLabel21 = new Sunny.UI.UILabel();
+            this.pnlFooter = new System.Windows.Forms.Panel();
+            this.uiButton1 = new Sunny.UI.UIButton();
+            this.button2 = new System.Windows.Forms.Button();
+            this.button1 = new System.Windows.Forms.Button();
+            this.dgvDiagnose = new System.Windows.Forms.DataGridView();
+            this.diag_type_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.maindiag_flag = new System.Windows.Forms.DataGridViewCheckBoxColumn();
+            this.diag_srt_no = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.diag_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.diag_code = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.diag_dept = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.adm_cond = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dise_dor_no = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.dise_dor_name = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.diag_time = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.pnlBottom = new System.Windows.Forms.Panel();
             this.pnlCenter = new System.Windows.Forms.Panel();
             this.txtLocateCode = new Sunny.UI.UITextBox();
             this.chkEmergency = new Sunny.UI.UICheckBox();
@@ -92,10 +92,10 @@ namespace PTMedicalInsurance.Forms
             this.label2 = new System.Windows.Forms.Label();
             this.label1 = new System.Windows.Forms.Label();
             this.pnlHeader.SuspendLayout();
+            this.grpHeader.SuspendLayout();
             this.pnlFooter.SuspendLayout();
             ((System.ComponentModel.ISupportInitialize)(this.dgvDiagnose)).BeginInit();
             this.pnlBottom.SuspendLayout();
-            this.grpHeader.SuspendLayout();
             this.pnlCenter.SuspendLayout();
             this.SuspendLayout();
             // 
@@ -110,188 +110,44 @@ namespace PTMedicalInsurance.Forms
             this.pnlHeader.Size = new System.Drawing.Size(1267, 144);
             this.pnlHeader.TabIndex = 12;
             // 
-            // pnlFooter
-            // 
-            this.pnlFooter.BackColor = System.Drawing.SystemColors.Window;
-            this.pnlFooter.Controls.Add(this.uiButton1);
-            this.pnlFooter.Controls.Add(this.button2);
-            this.pnlFooter.Controls.Add(this.button1);
-            this.pnlFooter.Dock = System.Windows.Forms.DockStyle.Bottom;
-            this.pnlFooter.Location = new System.Drawing.Point(0, 263);
-            this.pnlFooter.Name = "pnlFooter";
-            this.pnlFooter.Size = new System.Drawing.Size(1267, 63);
-            this.pnlFooter.TabIndex = 14;
-            // 
-            // uiButton1
-            // 
-            this.uiButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
-            this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
-            this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.uiButton1.Location = new System.Drawing.Point(12, 16);
-            this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
-            this.uiButton1.Name = "uiButton1";
-            this.uiButton1.Size = new System.Drawing.Size(205, 35);
-            this.uiButton1.TabIndex = 3;
-            this.uiButton1.Text = "人员待遇享受检查";
-            this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.uiButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
-            this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
-            // 
-            // button2
-            // 
-            this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.button2.Font = new System.Drawing.Font("新宋体", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button2.Location = new System.Drawing.Point(1155, 15);
-            this.button2.Name = "button2";
-            this.button2.Size = new System.Drawing.Size(101, 39);
-            this.button2.TabIndex = 1;
-            this.button2.Text = "放 弃";
-            this.button2.UseVisualStyleBackColor = true;
-            this.button2.Click += new System.EventHandler(this.button2_Click);
-            // 
-            // button1
-            // 
-            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
-            this.button1.Font = new System.Drawing.Font("新宋体", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.button1.Location = new System.Drawing.Point(1034, 15);
-            this.button1.Name = "button1";
-            this.button1.Size = new System.Drawing.Size(101, 39);
-            this.button1.TabIndex = 0;
-            this.button1.Text = "确 定";
-            this.button1.UseVisualStyleBackColor = true;
-            this.button1.Click += new System.EventHandler(this.button1_Click);
-            // 
-            // dgvDiagnose
-            // 
-            this.dgvDiagnose.AllowUserToAddRows = false;
-            this.dgvDiagnose.BorderStyle = System.Windows.Forms.BorderStyle.None;
-            dataGridViewCellStyle2.BackColor = System.Drawing.SystemColors.ButtonShadow;
-            dataGridViewCellStyle2.Font = new System.Drawing.Font("新宋体", 11F, 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.dgvDiagnose.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle2;
-            this.dgvDiagnose.ColumnHeadersHeight = 40;
-            this.dgvDiagnose.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
-            this.dgvDiagnose.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
-            this.diag_type_name,
-            this.maindiag_flag,
-            this.diag_srt_no,
-            this.diag_name,
-            this.diag_code,
-            this.diag_dept,
-            this.adm_cond,
-            this.dise_dor_no,
-            this.dise_dor_name,
-            this.diag_time});
-            this.dgvDiagnose.Dock = System.Windows.Forms.DockStyle.Fill;
-            this.dgvDiagnose.Location = new System.Drawing.Point(0, 0);
-            this.dgvDiagnose.Name = "dgvDiagnose";
-            this.dgvDiagnose.RowHeadersWidth = 51;
-            this.dgvDiagnose.RowTemplate.Height = 30;
-            this.dgvDiagnose.Size = new System.Drawing.Size(1267, 263);
-            this.dgvDiagnose.TabIndex = 0;
-            // 
-            // diag_type_name
-            // 
-            this.diag_type_name.DataPropertyName = "diag_type_name";
-            this.diag_type_name.FillWeight = 110F;
-            this.diag_type_name.HeaderText = "诊断类别";
-            this.diag_type_name.MinimumWidth = 110;
-            this.diag_type_name.Name = "diag_type_name";
-            this.diag_type_name.Width = 110;
-            // 
-            // maindiag_flag
-            // 
-            this.maindiag_flag.DataPropertyName = "maindiag_flag";
-            this.maindiag_flag.FillWeight = 75F;
-            this.maindiag_flag.HeaderText = "主诊断";
-            this.maindiag_flag.MinimumWidth = 75;
-            this.maindiag_flag.Name = "maindiag_flag";
-            this.maindiag_flag.Resizable = System.Windows.Forms.DataGridViewTriState.True;
-            this.maindiag_flag.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
-            this.maindiag_flag.Width = 80;
-            // 
-            // diag_srt_no
-            // 
-            this.diag_srt_no.DataPropertyName = "diag_srt_no";
-            this.diag_srt_no.FillWeight = 60F;
-            this.diag_srt_no.HeaderText = "序号";
-            this.diag_srt_no.MinimumWidth = 60;
-            this.diag_srt_no.Name = "diag_srt_no";
-            this.diag_srt_no.Width = 65;
-            // 
-            // diag_name
-            // 
-            this.diag_name.DataPropertyName = "diag_name";
-            this.diag_name.FillWeight = 120F;
-            this.diag_name.HeaderText = "诊断名称";
-            this.diag_name.MinimumWidth = 120;
-            this.diag_name.Name = "diag_name";
-            this.diag_name.Width = 120;
-            // 
-            // diag_code
-            // 
-            this.diag_code.DataPropertyName = "diag_code";
-            this.diag_code.FillWeight = 120F;
-            this.diag_code.HeaderText = "诊断编码";
-            this.diag_code.MinimumWidth = 120;
-            this.diag_code.Name = "diag_code";
-            this.diag_code.Width = 120;
-            // 
-            // diag_dept
-            // 
-            this.diag_dept.DataPropertyName = "diag_dept";
-            this.diag_dept.FillWeight = 120F;
-            this.diag_dept.HeaderText = "就诊科室";
-            this.diag_dept.MinimumWidth = 120;
-            this.diag_dept.Name = "diag_dept";
-            this.diag_dept.Width = 120;
-            // 
-            // adm_cond
-            // 
-            this.adm_cond.DataPropertyName = "adm_cond";
-            this.adm_cond.FillWeight = 120F;
-            this.adm_cond.HeaderText = "入院病情";
-            this.adm_cond.MinimumWidth = 120;
-            this.adm_cond.Name = "adm_cond";
-            this.adm_cond.Width = 120;
-            // 
-            // dise_dor_no
-            // 
-            this.dise_dor_no.DataPropertyName = "dise_dor_no";
-            this.dise_dor_no.FillWeight = 140F;
-            this.dise_dor_no.HeaderText = "医保医师编号";
-            this.dise_dor_no.MinimumWidth = 140;
-            this.dise_dor_no.Name = "dise_dor_no";
-            this.dise_dor_no.Width = 140;
-            // 
-            // dise_dor_name
-            // 
-            this.dise_dor_name.DataPropertyName = "dise_dor_name";
-            this.dise_dor_name.HeaderText = "医生姓名";
-            this.dise_dor_name.MinimumWidth = 100;
-            this.dise_dor_name.Name = "dise_dor_name";
-            this.dise_dor_name.Width = 150;
-            // 
-            // diag_time
-            // 
-            this.diag_time.DataPropertyName = "diag_time";
-            this.diag_time.FillWeight = 180F;
-            this.diag_time.HeaderText = "诊断时间";
-            this.diag_time.MinimumWidth = 180;
-            this.diag_time.Name = "diag_time";
-            this.diag_time.Width = 180;
-            // 
-            // pnlBottom
+            // grpHeader
             // 
-            this.pnlBottom.Controls.Add(this.dgvDiagnose);
-            this.pnlBottom.Controls.Add(this.pnlFooter);
-            this.pnlBottom.Location = new System.Drawing.Point(0, 315);
-            this.pnlBottom.Name = "pnlBottom";
-            this.pnlBottom.Size = new System.Drawing.Size(1267, 326);
-            this.pnlBottom.TabIndex = 13;
+            this.grpHeader.Controls.Add(this.txtBirthDay);
+            this.grpHeader.Controls.Add(this.txtInsuType);
+            this.grpHeader.Controls.Add(this.txtAge);
+            this.grpHeader.Controls.Add(this.uiLabel4);
+            this.grpHeader.Controls.Add(this.lbAge);
+            this.grpHeader.Controls.Add(this.lb1);
+            this.grpHeader.Controls.Add(this.txtPsnNO);
+            this.grpHeader.Controls.Add(this.txtCorp);
+            this.grpHeader.Controls.Add(this.uiLabel27);
+            this.grpHeader.Controls.Add(this.uiLabel28);
+            this.grpHeader.Controls.Add(this.txtPsnType);
+            this.grpHeader.Controls.Add(this.txtCertNO);
+            this.grpHeader.Controls.Add(this.txtAdmvs);
+            this.grpHeader.Controls.Add(this.txtCertType);
+            this.grpHeader.Controls.Add(this.uiLabel3);
+            this.grpHeader.Controls.Add(this.uiLabel25);
+            this.grpHeader.Controls.Add(this.uiLabel2);
+            this.grpHeader.Controls.Add(this.uiLabel26);
+            this.grpHeader.Controls.Add(this.txtBalc);
+            this.grpHeader.Controls.Add(this.txtGend);
+            this.grpHeader.Controls.Add(this.txtName);
+            this.grpHeader.Controls.Add(this.uiLabel1);
+            this.grpHeader.Controls.Add(this.uiLabel20);
+            this.grpHeader.Controls.Add(this.uiLabel21);
+            this.grpHeader.Dock = System.Windows.Forms.DockStyle.Top;
+            this.grpHeader.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.grpHeader.Location = new System.Drawing.Point(0, 0);
+            this.grpHeader.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
+            this.grpHeader.MinimumSize = new System.Drawing.Size(1, 1);
+            this.grpHeader.Name = "grpHeader";
+            this.grpHeader.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
+            this.grpHeader.Size = new System.Drawing.Size(1267, 134);
+            this.grpHeader.TabIndex = 10;
+            this.grpHeader.Text = "基本信息";
+            this.grpHeader.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
+            this.grpHeader.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             // 
             // txtBirthDay
             // 
@@ -593,45 +449,6 @@ namespace PTMedicalInsurance.Forms
             this.uiLabel20.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
             this.uiLabel20.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             // 
-            // grpHeader
-            // 
-            this.grpHeader.Controls.Add(this.txtBirthDay);
-            this.grpHeader.Controls.Add(this.txtInsuType);
-            this.grpHeader.Controls.Add(this.txtAge);
-            this.grpHeader.Controls.Add(this.uiLabel4);
-            this.grpHeader.Controls.Add(this.lbAge);
-            this.grpHeader.Controls.Add(this.lb1);
-            this.grpHeader.Controls.Add(this.txtPsnNO);
-            this.grpHeader.Controls.Add(this.txtCorp);
-            this.grpHeader.Controls.Add(this.uiLabel27);
-            this.grpHeader.Controls.Add(this.uiLabel28);
-            this.grpHeader.Controls.Add(this.txtPsnType);
-            this.grpHeader.Controls.Add(this.txtCertNO);
-            this.grpHeader.Controls.Add(this.txtAdmvs);
-            this.grpHeader.Controls.Add(this.txtCertType);
-            this.grpHeader.Controls.Add(this.uiLabel3);
-            this.grpHeader.Controls.Add(this.uiLabel25);
-            this.grpHeader.Controls.Add(this.uiLabel2);
-            this.grpHeader.Controls.Add(this.uiLabel26);
-            this.grpHeader.Controls.Add(this.txtBalc);
-            this.grpHeader.Controls.Add(this.txtGend);
-            this.grpHeader.Controls.Add(this.txtName);
-            this.grpHeader.Controls.Add(this.uiLabel1);
-            this.grpHeader.Controls.Add(this.uiLabel20);
-            this.grpHeader.Controls.Add(this.uiLabel21);
-            this.grpHeader.Dock = System.Windows.Forms.DockStyle.Top;
-            this.grpHeader.Font = new System.Drawing.Font("宋体", 10.5F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
-            this.grpHeader.Location = new System.Drawing.Point(0, 0);
-            this.grpHeader.Margin = new System.Windows.Forms.Padding(4, 5, 4, 5);
-            this.grpHeader.MinimumSize = new System.Drawing.Size(1, 1);
-            this.grpHeader.Name = "grpHeader";
-            this.grpHeader.Padding = new System.Windows.Forms.Padding(0, 32, 0, 0);
-            this.grpHeader.Size = new System.Drawing.Size(1267, 134);
-            this.grpHeader.TabIndex = 10;
-            this.grpHeader.Text = "基本信息";
-            this.grpHeader.TextAlignment = System.Drawing.ContentAlignment.MiddleCenter;
-            this.grpHeader.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
-            // 
             // uiLabel21
             // 
             this.uiLabel21.BackColor = System.Drawing.Color.Transparent;
@@ -644,6 +461,189 @@ namespace PTMedicalInsurance.Forms
             this.uiLabel21.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
             this.uiLabel21.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
             // 
+            // pnlFooter
+            // 
+            this.pnlFooter.BackColor = System.Drawing.SystemColors.Window;
+            this.pnlFooter.Controls.Add(this.uiButton1);
+            this.pnlFooter.Controls.Add(this.button2);
+            this.pnlFooter.Controls.Add(this.button1);
+            this.pnlFooter.Dock = System.Windows.Forms.DockStyle.Bottom;
+            this.pnlFooter.Location = new System.Drawing.Point(0, 263);
+            this.pnlFooter.Name = "pnlFooter";
+            this.pnlFooter.Size = new System.Drawing.Size(1267, 63);
+            this.pnlFooter.TabIndex = 14;
+            // 
+            // uiButton1
+            // 
+            this.uiButton1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Left)));
+            this.uiButton1.Cursor = System.Windows.Forms.Cursors.Hand;
+            this.uiButton1.Font = new System.Drawing.Font("微软雅黑", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton1.Location = new System.Drawing.Point(12, 16);
+            this.uiButton1.MinimumSize = new System.Drawing.Size(1, 1);
+            this.uiButton1.Name = "uiButton1";
+            this.uiButton1.Size = new System.Drawing.Size(205, 35);
+            this.uiButton1.TabIndex = 3;
+            this.uiButton1.Text = "人员待遇享受检查";
+            this.uiButton1.TipsFont = new System.Drawing.Font("微软雅黑", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.uiButton1.ZoomScaleRect = new System.Drawing.Rectangle(0, 0, 0, 0);
+            this.uiButton1.Click += new System.EventHandler(this.uiButton1_Click);
+            // 
+            // button2
+            // 
+            this.button2.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.button2.Font = new System.Drawing.Font("新宋体", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.button2.Location = new System.Drawing.Point(1155, 15);
+            this.button2.Name = "button2";
+            this.button2.Size = new System.Drawing.Size(101, 39);
+            this.button2.TabIndex = 1;
+            this.button2.Text = "放 弃";
+            this.button2.UseVisualStyleBackColor = true;
+            this.button2.Click += new System.EventHandler(this.button2_Click);
+            // 
+            // button1
+            // 
+            this.button1.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Bottom | System.Windows.Forms.AnchorStyles.Right)));
+            this.button1.Font = new System.Drawing.Font("新宋体", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
+            this.button1.Location = new System.Drawing.Point(1034, 15);
+            this.button1.Name = "button1";
+            this.button1.Size = new System.Drawing.Size(101, 39);
+            this.button1.TabIndex = 0;
+            this.button1.Text = "确 定";
+            this.button1.UseVisualStyleBackColor = true;
+            this.button1.Click += new System.EventHandler(this.button1_Click);
+            // 
+            // dgvDiagnose
+            // 
+            this.dgvDiagnose.AllowUserToAddRows = false;
+            this.dgvDiagnose.BorderStyle = System.Windows.Forms.BorderStyle.None;
+            dataGridViewCellStyle6.BackColor = System.Drawing.SystemColors.ButtonShadow;
+            dataGridViewCellStyle6.Font = new System.Drawing.Font("新宋体", 11F, 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.WindowText;
+            dataGridViewCellStyle6.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
+            this.dgvDiagnose.ColumnHeadersDefaultCellStyle = dataGridViewCellStyle6;
+            this.dgvDiagnose.ColumnHeadersHeight = 40;
+            this.dgvDiagnose.ColumnHeadersHeightSizeMode = System.Windows.Forms.DataGridViewColumnHeadersHeightSizeMode.DisableResizing;
+            this.dgvDiagnose.Columns.AddRange(new System.Windows.Forms.DataGridViewColumn[] {
+            this.diag_type_name,
+            this.maindiag_flag,
+            this.diag_srt_no,
+            this.diag_name,
+            this.diag_code,
+            this.diag_dept,
+            this.adm_cond,
+            this.dise_dor_no,
+            this.dise_dor_name,
+            this.diag_time});
+            this.dgvDiagnose.Dock = System.Windows.Forms.DockStyle.Fill;
+            this.dgvDiagnose.Location = new System.Drawing.Point(0, 0);
+            this.dgvDiagnose.Name = "dgvDiagnose";
+            this.dgvDiagnose.RowHeadersWidth = 51;
+            this.dgvDiagnose.RowTemplate.Height = 30;
+            this.dgvDiagnose.Size = new System.Drawing.Size(1267, 263);
+            this.dgvDiagnose.TabIndex = 0;
+            // 
+            // diag_type_name
+            // 
+            this.diag_type_name.DataPropertyName = "diag_type_name";
+            this.diag_type_name.FillWeight = 110F;
+            this.diag_type_name.HeaderText = "诊断类别";
+            this.diag_type_name.MinimumWidth = 110;
+            this.diag_type_name.Name = "diag_type_name";
+            this.diag_type_name.Width = 110;
+            // 
+            // maindiag_flag
+            // 
+            this.maindiag_flag.DataPropertyName = "maindiag_flag";
+            this.maindiag_flag.FillWeight = 75F;
+            this.maindiag_flag.HeaderText = "主诊断";
+            this.maindiag_flag.MinimumWidth = 75;
+            this.maindiag_flag.Name = "maindiag_flag";
+            this.maindiag_flag.Resizable = System.Windows.Forms.DataGridViewTriState.True;
+            this.maindiag_flag.SortMode = System.Windows.Forms.DataGridViewColumnSortMode.Automatic;
+            this.maindiag_flag.Width = 80;
+            // 
+            // diag_srt_no
+            // 
+            this.diag_srt_no.DataPropertyName = "diag_srt_no";
+            this.diag_srt_no.FillWeight = 60F;
+            this.diag_srt_no.HeaderText = "序号";
+            this.diag_srt_no.MinimumWidth = 60;
+            this.diag_srt_no.Name = "diag_srt_no";
+            this.diag_srt_no.Width = 65;
+            // 
+            // diag_name
+            // 
+            this.diag_name.DataPropertyName = "diag_name";
+            this.diag_name.FillWeight = 120F;
+            this.diag_name.HeaderText = "诊断名称";
+            this.diag_name.MinimumWidth = 120;
+            this.diag_name.Name = "diag_name";
+            this.diag_name.Width = 120;
+            // 
+            // diag_code
+            // 
+            this.diag_code.DataPropertyName = "diag_code";
+            this.diag_code.FillWeight = 120F;
+            this.diag_code.HeaderText = "诊断编码";
+            this.diag_code.MinimumWidth = 120;
+            this.diag_code.Name = "diag_code";
+            this.diag_code.Width = 120;
+            // 
+            // diag_dept
+            // 
+            this.diag_dept.DataPropertyName = "diag_dept";
+            this.diag_dept.FillWeight = 120F;
+            this.diag_dept.HeaderText = "就诊科室";
+            this.diag_dept.MinimumWidth = 120;
+            this.diag_dept.Name = "diag_dept";
+            this.diag_dept.Width = 120;
+            // 
+            // adm_cond
+            // 
+            this.adm_cond.DataPropertyName = "adm_cond";
+            this.adm_cond.FillWeight = 120F;
+            this.adm_cond.HeaderText = "入院病情";
+            this.adm_cond.MinimumWidth = 120;
+            this.adm_cond.Name = "adm_cond";
+            this.adm_cond.Width = 120;
+            // 
+            // dise_dor_no
+            // 
+            this.dise_dor_no.DataPropertyName = "dise_dor_no";
+            this.dise_dor_no.FillWeight = 140F;
+            this.dise_dor_no.HeaderText = "医保医师编号";
+            this.dise_dor_no.MinimumWidth = 140;
+            this.dise_dor_no.Name = "dise_dor_no";
+            this.dise_dor_no.Width = 140;
+            // 
+            // dise_dor_name
+            // 
+            this.dise_dor_name.DataPropertyName = "dise_dor_name";
+            this.dise_dor_name.HeaderText = "医生姓名";
+            this.dise_dor_name.MinimumWidth = 100;
+            this.dise_dor_name.Name = "dise_dor_name";
+            this.dise_dor_name.Width = 150;
+            // 
+            // diag_time
+            // 
+            this.diag_time.DataPropertyName = "diag_time";
+            this.diag_time.FillWeight = 180F;
+            this.diag_time.HeaderText = "诊断时间";
+            this.diag_time.MinimumWidth = 180;
+            this.diag_time.Name = "diag_time";
+            this.diag_time.Width = 180;
+            // 
+            // pnlBottom
+            // 
+            this.pnlBottom.Controls.Add(this.dgvDiagnose);
+            this.pnlBottom.Controls.Add(this.pnlFooter);
+            this.pnlBottom.Location = new System.Drawing.Point(0, 315);
+            this.pnlBottom.Name = "pnlBottom";
+            this.pnlBottom.Size = new System.Drawing.Size(1267, 326);
+            this.pnlBottom.TabIndex = 13;
+            // 
             // pnlCenter
             // 
             this.pnlCenter.BackColor = System.Drawing.SystemColors.Window;
@@ -768,6 +768,7 @@ namespace PTMedicalInsurance.Forms
             this.dblkcbxExitway.sValueMember = "";
             this.dblkcbxExitway.TabIndex = 62;
             this.dblkcbxExitway.Value = "";
+            this.dblkcbxExitway.AfterSelector += new PTControl.AfterSelectorEventHandler(this.dblkcbxHospType_AfterSelector);
             // 
             // label5
             // 
@@ -807,6 +808,7 @@ namespace PTMedicalInsurance.Forms
             this.dblkcbxSettelmentWay.sValueMember = "";
             this.dblkcbxSettelmentWay.TabIndex = 59;
             this.dblkcbxSettelmentWay.Value = "";
+            this.dblkcbxSettelmentWay.AfterSelector += new PTControl.AfterSelectorEventHandler(this.dblkcbxSettelmentWay_AfterSelector);
             // 
             // dblkcbxDisease
             // 
@@ -824,6 +826,7 @@ namespace PTMedicalInsurance.Forms
             this.dblkcbxDisease.sValueMember = "";
             this.dblkcbxDisease.TabIndex = 58;
             this.dblkcbxDisease.Value = "";
+            this.dblkcbxDisease.AfterSelector += new PTControl.AfterSelectorEventHandler(this.dblkcbxDisease_AfterSelector);
             // 
             // dblkcbxMedicalType
             // 
@@ -841,6 +844,7 @@ namespace PTMedicalInsurance.Forms
             this.dblkcbxMedicalType.sValueMember = "";
             this.dblkcbxMedicalType.TabIndex = 57;
             this.dblkcbxMedicalType.Value = "";
+            this.dblkcbxMedicalType.AfterSelector += new PTControl.AfterSelectorEventHandler(this.dblkcbxMedicalType_AfterSelector);
             // 
             // dblkcbxInsuranceType
             // 
@@ -858,6 +862,7 @@ namespace PTMedicalInsurance.Forms
             this.dblkcbxInsuranceType.sValueMember = "";
             this.dblkcbxInsuranceType.TabIndex = 56;
             this.dblkcbxInsuranceType.Value = "";
+            this.dblkcbxInsuranceType.AfterSelector += new PTControl.AfterSelectorEventHandler(this.dblkcbxInsuranceType_AfterSelector);
             // 
             // label4
             // 
@@ -916,10 +921,10 @@ namespace PTMedicalInsurance.Forms
             this.Text = "医保登记";
             this.Load += new System.EventHandler(this.InpatientRegistration_Load);
             this.pnlHeader.ResumeLayout(false);
+            this.grpHeader.ResumeLayout(false);
             this.pnlFooter.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)(this.dgvDiagnose)).EndInit();
             this.pnlBottom.ResumeLayout(false);
-            this.grpHeader.ResumeLayout(false);
             this.pnlCenter.ResumeLayout(false);
             this.pnlCenter.PerformLayout();
             this.ResumeLayout(false);