From 30458c0bca8066d98ca901b5065832a44a7e970e Mon Sep 17 00:00:00 2001
From: wells.liu <wells.liu@broconcentric.com>
Date: 星期四, 16 七月 2020 15:47:22 +0800
Subject: [PATCH] 测量结果 查询+导出功能

---
 src/Bro.M071.Process/UI/M071_DataForm.Designer.cs |  175 +++++++++++++++++++++++++++++++---------------------------
 1 files changed, 93 insertions(+), 82 deletions(-)

diff --git a/src/Bro.M071.Process/UI/M071_DataForm.Designer.cs b/src/Bro.M071.Process/UI/M071_DataForm.Designer.cs
index 97d12a0..b637a0b 100644
--- a/src/Bro.M071.Process/UI/M071_DataForm.Designer.cs
+++ b/src/Bro.M071.Process/UI/M071_DataForm.Designer.cs
@@ -28,10 +28,10 @@
         /// </summary>
         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();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle45 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle46 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle47 = new System.Windows.Forms.DataGridViewCellStyle();
+            System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle48 = new System.Windows.Forms.DataGridViewCellStyle();
             this.tabControl1 = new System.Windows.Forms.TabControl();
             this.tabPage1 = new System.Windows.Forms.TabPage();
             this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
@@ -72,6 +72,14 @@
             this.buttonToBeforePage_MR = new System.Windows.Forms.Button();
             this.buttonToFirstPage_MR = new System.Windows.Forms.Button();
             this.dataGridView2 = new System.Windows.Forms.DataGridView();
+            this.ProductionCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.ProductionBarcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.MeasurementName = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.MeasurementType = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.MeasurementValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.MeasurementResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.OperationStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
+            this.OperationEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
             this.comboBoxMeasurementType_MR = new System.Windows.Forms.ComboBox();
             this.label10 = new System.Windows.Forms.Label();
@@ -90,14 +98,6 @@
             this.panel3 = new System.Windows.Forms.Panel();
             this.buttonExport_MR = new System.Windows.Forms.Button();
             this.buttonQuery_MR = new System.Windows.Forms.Button();
-            this.ProductionCode = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.ProductionBarcode = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.MeasurementName = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.MeasurementType = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.MeasurementValue = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.MeasurementResult = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.OperationStartTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
-            this.OperationEndTime = new System.Windows.Forms.DataGridViewTextBoxColumn();
             this.tabControl1.SuspendLayout();
             this.tabPage1.SuspendLayout();
             this.tableLayoutPanel1.SuspendLayout();
@@ -186,6 +186,7 @@
             this.textBoxPageNum.Name = "textBoxPageNum";
             this.textBoxPageNum.Size = new System.Drawing.Size(80, 21);
             this.textBoxPageNum.TabIndex = 2;
+            this.textBoxPageNum.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ToPage);
             // 
             // buttonToLastPage
             // 
@@ -197,6 +198,7 @@
             this.buttonToLastPage.TabIndex = 1;
             this.buttonToLastPage.Text = "鏈�鍚庨〉";
             this.buttonToLastPage.UseVisualStyleBackColor = true;
+            this.buttonToLastPage.Click += new System.EventHandler(this.buttonToLastPage_Click);
             // 
             // buttonToNextPage
             // 
@@ -208,6 +210,7 @@
             this.buttonToNextPage.TabIndex = 1;
             this.buttonToNextPage.Text = "鍚庝竴椤�";
             this.buttonToNextPage.UseVisualStyleBackColor = true;
+            this.buttonToNextPage.Click += new System.EventHandler(this.buttonToNextPage_Click);
             // 
             // buttonToBeforePage
             // 
@@ -219,6 +222,7 @@
             this.buttonToBeforePage.TabIndex = 1;
             this.buttonToBeforePage.Text = "鍓嶄竴椤�";
             this.buttonToBeforePage.UseVisualStyleBackColor = true;
+            this.buttonToBeforePage.Click += new System.EventHandler(this.buttonToBeforePage_Click);
             // 
             // buttonToFirstPage
             // 
@@ -230,6 +234,7 @@
             this.buttonToFirstPage.TabIndex = 1;
             this.buttonToFirstPage.Text = "绗竴椤�";
             this.buttonToFirstPage.UseVisualStyleBackColor = true;
+            this.buttonToFirstPage.Click += new System.EventHandler(this.buttonToFirstPage_Click);
             // 
             // labelTotal
             // 
@@ -287,9 +292,9 @@
             // Column4
             // 
             this.Column4.DataPropertyName = "OperationStartTime";
-            dataGridViewCellStyle1.Format = "G";
-            dataGridViewCellStyle1.NullValue = null;
-            this.Column4.DefaultCellStyle = dataGridViewCellStyle1;
+            dataGridViewCellStyle45.Format = "G";
+            dataGridViewCellStyle45.NullValue = null;
+            this.Column4.DefaultCellStyle = dataGridViewCellStyle45;
             this.Column4.HeaderText = "鐢熶骇鏃堕棿(寮�濮�)";
             this.Column4.Name = "Column4";
             this.Column4.ReadOnly = true;
@@ -298,9 +303,9 @@
             // Column5
             // 
             this.Column5.DataPropertyName = "OperationEndTime";
-            dataGridViewCellStyle2.Format = "G";
-            dataGridViewCellStyle2.NullValue = null;
-            this.Column5.DefaultCellStyle = dataGridViewCellStyle2;
+            dataGridViewCellStyle46.Format = "G";
+            dataGridViewCellStyle46.NullValue = null;
+            this.Column5.DefaultCellStyle = dataGridViewCellStyle46;
             this.Column5.HeaderText = "鐢熶骇鏃堕棿(缁撴潫)";
             this.Column5.Name = "Column5";
             this.Column5.ReadOnly = true;
@@ -532,6 +537,7 @@
             this.textBoxPageNum_MR.Name = "textBoxPageNum_MR";
             this.textBoxPageNum_MR.Size = new System.Drawing.Size(80, 21);
             this.textBoxPageNum_MR.TabIndex = 2;
+            this.textBoxPageNum_MR.KeyDown += new System.Windows.Forms.KeyEventHandler(this.ToPageMR);
             // 
             // buttonToLastPage_MR
             // 
@@ -543,6 +549,7 @@
             this.buttonToLastPage_MR.TabIndex = 1;
             this.buttonToLastPage_MR.Text = "鏈�鍚庨〉";
             this.buttonToLastPage_MR.UseVisualStyleBackColor = true;
+            this.buttonToLastPage_MR.Click += new System.EventHandler(this.buttonToLastPage_MR_Click);
             // 
             // buttonToNextPage_MR
             // 
@@ -554,6 +561,7 @@
             this.buttonToNextPage_MR.TabIndex = 1;
             this.buttonToNextPage_MR.Text = "鍚庝竴椤�";
             this.buttonToNextPage_MR.UseVisualStyleBackColor = true;
+            this.buttonToNextPage_MR.Click += new System.EventHandler(this.buttonToNextPage_MR_Click);
             // 
             // buttonToBeforePage_MR
             // 
@@ -565,6 +573,7 @@
             this.buttonToBeforePage_MR.TabIndex = 1;
             this.buttonToBeforePage_MR.Text = "鍓嶄竴椤�";
             this.buttonToBeforePage_MR.UseVisualStyleBackColor = true;
+            this.buttonToBeforePage_MR.Click += new System.EventHandler(this.buttonToBeforePage_MR_Click);
             // 
             // buttonToFirstPage_MR
             // 
@@ -576,6 +585,7 @@
             this.buttonToFirstPage_MR.TabIndex = 1;
             this.buttonToFirstPage_MR.Text = "绗竴椤�";
             this.buttonToFirstPage_MR.UseVisualStyleBackColor = true;
+            this.buttonToFirstPage_MR.Click += new System.EventHandler(this.buttonToFirstPage_MR_Click);
             // 
             // dataGridView2
             // 
@@ -599,6 +609,70 @@
             this.dataGridView2.RowTemplate.Height = 23;
             this.dataGridView2.Size = new System.Drawing.Size(751, 579);
             this.dataGridView2.TabIndex = 2;
+            // 
+            // ProductionCode
+            // 
+            this.ProductionCode.DataPropertyName = "ProductionCode";
+            this.ProductionCode.HeaderText = "浜у搧缂栫爜";
+            this.ProductionCode.Name = "ProductionCode";
+            this.ProductionCode.ReadOnly = true;
+            // 
+            // ProductionBarcode
+            // 
+            this.ProductionBarcode.DataPropertyName = "ProductionBarcode";
+            this.ProductionBarcode.HeaderText = "浜у搧鏉$爜";
+            this.ProductionBarcode.Name = "ProductionBarcode";
+            this.ProductionBarcode.ReadOnly = true;
+            // 
+            // MeasurementName
+            // 
+            this.MeasurementName.DataPropertyName = "MeasurementName";
+            this.MeasurementName.HeaderText = "妫�娴嬪悕绉�";
+            this.MeasurementName.Name = "MeasurementName";
+            this.MeasurementName.ReadOnly = true;
+            // 
+            // MeasurementType
+            // 
+            this.MeasurementType.DataPropertyName = "MeasurementType";
+            this.MeasurementType.HeaderText = "妫�娴嬬被鍨�";
+            this.MeasurementType.Name = "MeasurementType";
+            this.MeasurementType.ReadOnly = true;
+            // 
+            // MeasurementValue
+            // 
+            this.MeasurementValue.DataPropertyName = "MeasurementValue";
+            this.MeasurementValue.HeaderText = "妫�娴嬪��";
+            this.MeasurementValue.Name = "MeasurementValue";
+            this.MeasurementValue.ReadOnly = true;
+            // 
+            // MeasurementResult
+            // 
+            this.MeasurementResult.DataPropertyName = "MeasurementResult";
+            this.MeasurementResult.HeaderText = "妫�娴嬬粨鏋�";
+            this.MeasurementResult.Name = "MeasurementResult";
+            this.MeasurementResult.ReadOnly = true;
+            // 
+            // OperationStartTime
+            // 
+            this.OperationStartTime.DataPropertyName = "OperationStartTime";
+            dataGridViewCellStyle47.Format = "G";
+            dataGridViewCellStyle47.NullValue = null;
+            this.OperationStartTime.DefaultCellStyle = dataGridViewCellStyle47;
+            this.OperationStartTime.HeaderText = "鐢熶骇鏃堕棿(寮�濮�)";
+            this.OperationStartTime.Name = "OperationStartTime";
+            this.OperationStartTime.ReadOnly = true;
+            this.OperationStartTime.Width = 120;
+            // 
+            // OperationEndTime
+            // 
+            this.OperationEndTime.DataPropertyName = "OperationEndTime";
+            dataGridViewCellStyle48.Format = "G";
+            dataGridViewCellStyle48.NullValue = null;
+            this.OperationEndTime.DefaultCellStyle = dataGridViewCellStyle48;
+            this.OperationEndTime.HeaderText = "鐢熶骇鏃堕棿(缁撴潫)";
+            this.OperationEndTime.Name = "OperationEndTime";
+            this.OperationEndTime.ReadOnly = true;
+            this.OperationEndTime.Width = 120;
             // 
             // tableLayoutPanel4
             // 
@@ -808,6 +882,7 @@
             this.buttonExport_MR.TabIndex = 18;
             this.buttonExport_MR.Text = "瀵煎嚭";
             this.buttonExport_MR.UseVisualStyleBackColor = true;
+            this.buttonExport_MR.Click += new System.EventHandler(this.buttonExport_MR_Click);
             // 
             // buttonQuery_MR
             // 
@@ -820,70 +895,6 @@
             this.buttonQuery_MR.Text = "鏌ヨ";
             this.buttonQuery_MR.UseVisualStyleBackColor = true;
             this.buttonQuery_MR.Click += new System.EventHandler(this.buttonQuery_MR_Click);
-            // 
-            // ProductionCode
-            // 
-            this.ProductionCode.DataPropertyName = "ProductionCode";
-            this.ProductionCode.HeaderText = "浜у搧缂栫爜";
-            this.ProductionCode.Name = "ProductionCode";
-            this.ProductionCode.ReadOnly = true;
-            // 
-            // ProductionBarcode
-            // 
-            this.ProductionBarcode.DataPropertyName = "ProductionBarcode";
-            this.ProductionBarcode.HeaderText = "浜у搧鏉$爜";
-            this.ProductionBarcode.Name = "ProductionBarcode";
-            this.ProductionBarcode.ReadOnly = true;
-            // 
-            // MeasurementName
-            // 
-            this.MeasurementName.DataPropertyName = "MeasurementName";
-            this.MeasurementName.HeaderText = "妫�娴嬪悕绉�";
-            this.MeasurementName.Name = "MeasurementName";
-            this.MeasurementName.ReadOnly = true;
-            // 
-            // MeasurementType
-            // 
-            this.MeasurementType.DataPropertyName = "MeasurementType";
-            this.MeasurementType.HeaderText = "妫�娴嬬被鍨�";
-            this.MeasurementType.Name = "MeasurementType";
-            this.MeasurementType.ReadOnly = true;
-            // 
-            // MeasurementValue
-            // 
-            this.MeasurementValue.DataPropertyName = "MeasurementValue";
-            this.MeasurementValue.HeaderText = "妫�娴嬪��";
-            this.MeasurementValue.Name = "MeasurementValue";
-            this.MeasurementValue.ReadOnly = true;
-            // 
-            // MeasurementResult
-            // 
-            this.MeasurementResult.DataPropertyName = "MeasurementResult";
-            this.MeasurementResult.HeaderText = "妫�娴嬬粨鏋�";
-            this.MeasurementResult.Name = "MeasurementResult";
-            this.MeasurementResult.ReadOnly = true;
-            // 
-            // OperationStartTime
-            // 
-            this.OperationStartTime.DataPropertyName = "OperationStartTime";
-            dataGridViewCellStyle3.Format = "G";
-            dataGridViewCellStyle3.NullValue = null;
-            this.OperationStartTime.DefaultCellStyle = dataGridViewCellStyle3;
-            this.OperationStartTime.HeaderText = "鐢熶骇鏃堕棿(寮�濮�)";
-            this.OperationStartTime.Name = "OperationStartTime";
-            this.OperationStartTime.ReadOnly = true;
-            this.OperationStartTime.Width = 120;
-            // 
-            // OperationEndTime
-            // 
-            this.OperationEndTime.DataPropertyName = "OperationEndTime";
-            dataGridViewCellStyle4.Format = "G";
-            dataGridViewCellStyle4.NullValue = null;
-            this.OperationEndTime.DefaultCellStyle = dataGridViewCellStyle4;
-            this.OperationEndTime.HeaderText = "鐢熶骇鏃堕棿(缁撴潫)";
-            this.OperationEndTime.Name = "OperationEndTime";
-            this.OperationEndTime.ReadOnly = true;
-            this.OperationEndTime.Width = 120;
             // 
             // M071_DataForm
             // 

--
Gitblit v1.8.0