领胜LDS 键盘AOI检测项目
src/Bro.M071.Process/UI/M071_MainForm.Designer.cs
@@ -33,6 +33,9 @@
            this.tsmiShowToolBar = new System.Windows.Forms.ToolStripMenuItem();
            this.tsmiShowStatusBar = new System.Windows.Forms.ToolStripMenuItem();
            this.tsmiShowEditor = new System.Windows.Forms.ToolStripMenuItem();
            this.tsmiRefreshLabels = new System.Windows.Forms.ToolStripMenuItem();
            this.btnReset = new System.Windows.Forms.Button();
            this.btnStartMeasure = new System.Windows.Forms.Button();
            this.lblCT = new System.Windows.Forms.Label();
            this.txtBarcode = new System.Windows.Forms.TextBox();
            this.lblProductionState = new System.Windows.Forms.Label();
@@ -46,8 +49,10 @@
            this.lvMeasures = new System.Windows.Forms.ListView();
            this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
            this.propGridKeyIndicator = new System.Windows.Forms.PropertyGrid();
            this.btnStartMeasure = new System.Windows.Forms.Button();
            this.btnReset = new System.Windows.Forms.Button();
            this.timer1 = new System.Windows.Forms.Timer(this.components);
            this.lblOperator = new System.Windows.Forms.Label();
            this.stStripHint = new System.Windows.Forms.StatusStrip();
            this.tsslError = new System.Windows.Forms.ToolStripStatusLabel();
            this.contextMenuStrip1.SuspendLayout();
            this.plImage.SuspendLayout();
            this.tscEditLocation.ContentPanel.SuspendLayout();
@@ -57,6 +62,7 @@
            this.splitContainer1.Panel1.SuspendLayout();
            this.splitContainer1.Panel2.SuspendLayout();
            this.splitContainer1.SuspendLayout();
            this.stStripHint.SuspendLayout();
            this.SuspendLayout();
            // 
            // contextMenuStrip1
@@ -64,9 +70,10 @@
            this.contextMenuStrip1.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsmiShowToolBar,
            this.tsmiShowStatusBar,
            this.tsmiShowEditor});
            this.tsmiShowEditor,
            this.tsmiRefreshLabels});
            this.contextMenuStrip1.Name = "contextMenuStrip1";
            this.contextMenuStrip1.Size = new System.Drawing.Size(149, 70);
            this.contextMenuStrip1.Size = new System.Drawing.Size(149, 92);
            // 
            // tsmiShowToolBar
            // 
@@ -92,11 +99,49 @@
            this.tsmiShowEditor.Text = "编辑显示点位";
            this.tsmiShowEditor.CheckedChanged += new System.EventHandler(this.tsmiShowEditor_CheckedChanged);
            // 
            // tsmiRefreshLabels
            //
            this.tsmiRefreshLabels.Name = "tsmiRefreshLabels";
            this.tsmiRefreshLabels.Size = new System.Drawing.Size(148, 22);
            this.tsmiRefreshLabels.Text = "刷新显示点位";
            this.tsmiRefreshLabels.Click += new System.EventHandler(this.tsmiRefreshLabels_Click);
            //
            // btnReset
            //
            this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnReset.BackColor = System.Drawing.Color.Orange;
            this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btnReset.Font = new System.Drawing.Font("宋体", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.btnReset.ForeColor = System.Drawing.Color.DarkGreen;
            this.btnReset.Location = new System.Drawing.Point(800, 8);
            this.btnReset.Name = "btnReset";
            this.btnReset.Size = new System.Drawing.Size(141, 35);
            this.btnReset.TabIndex = 5;
            this.btnReset.Text = "复位(长按5s大复位)";
            this.btnReset.UseVisualStyleBackColor = false;
            this.btnReset.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnReset_MouseDown);
            this.btnReset.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnReset_MouseUp);
            //
            // btnStartMeasure
            //
            this.btnStartMeasure.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnStartMeasure.BackColor = System.Drawing.Color.Lime;
            this.btnStartMeasure.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btnStartMeasure.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.btnStartMeasure.ForeColor = System.Drawing.Color.DarkGreen;
            this.btnStartMeasure.Location = new System.Drawing.Point(947, 8);
            this.btnStartMeasure.Name = "btnStartMeasure";
            this.btnStartMeasure.Size = new System.Drawing.Size(110, 35);
            this.btnStartMeasure.TabIndex = 5;
            this.btnStartMeasure.Text = "开始测量";
            this.btnStartMeasure.UseVisualStyleBackColor = false;
            this.btnStartMeasure.Click += new System.EventHandler(this.btnStartMeasure_Click);
            //
            // lblCT
            // 
            this.lblCT.AutoSize = true;
            this.lblCT.Font = new System.Drawing.Font("Tahoma", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.lblCT.Location = new System.Drawing.Point(464, 19);
            this.lblCT.Location = new System.Drawing.Point(550, 21);
            this.lblCT.Name = "lblCT";
            this.lblCT.Size = new System.Drawing.Size(35, 14);
            this.lblCT.TabIndex = 4;
@@ -105,7 +150,7 @@
            // txtBarcode
            // 
            this.txtBarcode.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.txtBarcode.Location = new System.Drawing.Point(138, 13);
            this.txtBarcode.Location = new System.Drawing.Point(222, 13);
            this.txtBarcode.Name = "txtBarcode";
            this.txtBarcode.Size = new System.Drawing.Size(261, 24);
            this.txtBarcode.TabIndex = 3;
@@ -118,7 +163,7 @@
            this.lblProductionState.BackColor = System.Drawing.Color.Lime;
            this.lblProductionState.Font = new System.Drawing.Font("Tahoma", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.lblProductionState.ForeColor = System.Drawing.Color.DarkGreen;
            this.lblProductionState.Location = new System.Drawing.Point(405, 13);
            this.lblProductionState.Location = new System.Drawing.Point(489, 13);
            this.lblProductionState.Name = "lblProductionState";
            this.lblProductionState.Size = new System.Drawing.Size(39, 24);
            this.lblProductionState.TabIndex = 2;
@@ -130,7 +175,7 @@
            this.lblMachineState.BackColor = System.Drawing.Color.Lime;
            this.lblMachineState.Font = new System.Drawing.Font("Tahoma", 20F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.lblMachineState.ForeColor = System.Drawing.Color.DarkGreen;
            this.lblMachineState.Location = new System.Drawing.Point(22, 12);
            this.lblMachineState.Location = new System.Drawing.Point(137, 13);
            this.lblMachineState.Name = "lblMachineState";
            this.lblMachineState.Size = new System.Drawing.Size(79, 24);
            this.lblMachineState.TabIndex = 2;
@@ -145,7 +190,7 @@
            this.plImage.Controls.Add(this.tscEditLocation);
            this.plImage.Location = new System.Drawing.Point(1, 47);
            this.plImage.Name = "plImage";
            this.plImage.Size = new System.Drawing.Size(796, 304);
            this.plImage.Size = new System.Drawing.Size(1065, 279);
            this.plImage.TabIndex = 1;
            // 
            // tscEditLocation
@@ -154,11 +199,11 @@
            // tscEditLocation.ContentPanel
            // 
            this.tscEditLocation.ContentPanel.Controls.Add(this.tableLayoutPanel1);
            this.tscEditLocation.ContentPanel.Size = new System.Drawing.Size(209, 279);
            this.tscEditLocation.ContentPanel.Size = new System.Drawing.Size(209, 254);
            this.tscEditLocation.Dock = System.Windows.Forms.DockStyle.Right;
            this.tscEditLocation.Location = new System.Drawing.Point(587, 0);
            this.tscEditLocation.Location = new System.Drawing.Point(856, 0);
            this.tscEditLocation.Name = "tscEditLocation";
            this.tscEditLocation.Size = new System.Drawing.Size(209, 304);
            this.tscEditLocation.Size = new System.Drawing.Size(209, 279);
            this.tscEditLocation.TabIndex = 0;
            this.tscEditLocation.Text = "toolStripContainer1";
            this.tscEditLocation.Visible = false;
@@ -177,7 +222,7 @@
            this.tableLayoutPanel1.RowCount = 2;
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
            this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle());
            this.tableLayoutPanel1.Size = new System.Drawing.Size(209, 279);
            this.tableLayoutPanel1.Size = new System.Drawing.Size(209, 254);
            this.tableLayoutPanel1.TabIndex = 0;
            // 
            // btnConfirmEdit
@@ -186,7 +231,7 @@
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.btnConfirmEdit.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btnConfirmEdit.Location = new System.Drawing.Point(3, 246);
            this.btnConfirmEdit.Location = new System.Drawing.Point(3, 221);
            this.btnConfirmEdit.Name = "btnConfirmEdit";
            this.btnConfirmEdit.Size = new System.Drawing.Size(98, 30);
            this.btnConfirmEdit.TabIndex = 0;
@@ -200,7 +245,7 @@
            | System.Windows.Forms.AnchorStyles.Left) 
            | System.Windows.Forms.AnchorStyles.Right)));
            this.btnCancelEdit.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
            this.btnCancelEdit.Location = new System.Drawing.Point(107, 246);
            this.btnCancelEdit.Location = new System.Drawing.Point(107, 221);
            this.btnCancelEdit.Name = "btnCancelEdit";
            this.btnCancelEdit.Size = new System.Drawing.Size(99, 30);
            this.btnCancelEdit.TabIndex = 0;
@@ -223,8 +268,8 @@
            // splitContainer1.Panel2
            // 
            this.splitContainer1.Panel2.Controls.Add(this.propGridKeyIndicator);
            this.splitContainer1.Size = new System.Drawing.Size(203, 237);
            this.splitContainer1.SplitterDistance = 136;
            this.splitContainer1.Size = new System.Drawing.Size(203, 212);
            this.splitContainer1.SplitterDistance = 121;
            this.splitContainer1.TabIndex = 1;
            // 
            // lvMeasures
@@ -239,7 +284,7 @@
            this.lvMeasures.Location = new System.Drawing.Point(0, 0);
            this.lvMeasures.MultiSelect = false;
            this.lvMeasures.Name = "lvMeasures";
            this.lvMeasures.Size = new System.Drawing.Size(203, 136);
            this.lvMeasures.Size = new System.Drawing.Size(203, 121);
            this.lvMeasures.TabIndex = 0;
            this.lvMeasures.UseCompatibleStateImageBehavior = false;
            this.lvMeasures.View = System.Windows.Forms.View.List;
@@ -256,46 +301,54 @@
            this.propGridKeyIndicator.Dock = System.Windows.Forms.DockStyle.Fill;
            this.propGridKeyIndicator.Location = new System.Drawing.Point(0, 0);
            this.propGridKeyIndicator.Name = "propGridKeyIndicator";
            this.propGridKeyIndicator.Size = new System.Drawing.Size(203, 97);
            this.propGridKeyIndicator.Size = new System.Drawing.Size(203, 87);
            this.propGridKeyIndicator.TabIndex = 0;
            this.propGridKeyIndicator.ToolbarVisible = false;
            // 
            // btnStartMeasure
            // timer1
            // 
            this.btnStartMeasure.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnStartMeasure.BackColor = System.Drawing.Color.Lime;
            this.btnStartMeasure.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btnStartMeasure.Font = new System.Drawing.Font("宋体", 14F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.btnStartMeasure.ForeColor = System.Drawing.Color.DarkGreen;
            this.btnStartMeasure.Location = new System.Drawing.Point(678, 8);
            this.btnStartMeasure.Name = "btnStartMeasure";
            this.btnStartMeasure.Size = new System.Drawing.Size(110, 35);
            this.btnStartMeasure.TabIndex = 5;
            this.btnStartMeasure.Text = "开始测量";
            this.btnStartMeasure.UseVisualStyleBackColor = false;
            this.btnStartMeasure.Click += new System.EventHandler(this.btnStartMeasure_Click);
            this.timer1.Interval = 3000;
            this.timer1.Tick += new System.EventHandler(this.timer1_Tick);
            // 
            // btnReset
            // lblOperator
            // 
            this.btnReset.Anchor = ((System.Windows.Forms.AnchorStyles)((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Right)));
            this.btnReset.BackColor = System.Drawing.Color.Orange;
            this.btnReset.Cursor = System.Windows.Forms.Cursors.Hand;
            this.btnReset.Font = new System.Drawing.Font("宋体", 11F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.btnReset.ForeColor = System.Drawing.Color.DarkGreen;
            this.btnReset.Location = new System.Drawing.Point(531, 8);
            this.btnReset.Name = "btnReset";
            this.btnReset.Size = new System.Drawing.Size(141, 35);
            this.btnReset.TabIndex = 5;
            this.btnReset.Text = "复位(长按5s大复位)";
            this.btnReset.UseVisualStyleBackColor = false;
            this.btnReset.MouseDown += new System.Windows.Forms.MouseEventHandler(this.btnReset_MouseDown);
            this.btnReset.MouseUp += new System.Windows.Forms.MouseEventHandler(this.btnReset_MouseUp);
            this.lblOperator.AutoSize = true;
            this.lblOperator.Cursor = System.Windows.Forms.Cursors.Hand;
            this.lblOperator.Font = new System.Drawing.Font("Tahoma", 14F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.World, ((byte)(134)));
            this.lblOperator.Location = new System.Drawing.Point(22, 17);
            this.lblOperator.Name = "lblOperator";
            this.lblOperator.Size = new System.Drawing.Size(78, 17);
            this.lblOperator.TabIndex = 6;
            this.lblOperator.Text = "OPERATOR";
            this.lblOperator.DoubleClick += new System.EventHandler(this.lblOperator_DoubleClick);
            //
            // stStripHint
            //
            this.stStripHint.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
            this.tsslError});
            this.stStripHint.Location = new System.Drawing.Point(0, 329);
            this.stStripHint.Name = "stStripHint";
            this.stStripHint.Size = new System.Drawing.Size(1069, 22);
            this.stStripHint.TabIndex = 7;
            this.stStripHint.Text = "statusStrip1";
            this.stStripHint.Visible = false;
            //
            // tsslError
            //
            this.tsslError.BackColor = System.Drawing.Color.Red;
            this.tsslError.ForeColor = System.Drawing.SystemColors.Control;
            this.tsslError.Margin = new System.Windows.Forms.Padding(10, 3, 0, 2);
            this.tsslError.Name = "tsslError";
            this.tsslError.Size = new System.Drawing.Size(131, 17);
            this.tsslError.Text = "toolStripStatusLabel1";
            // 
            // M071_MainForm
            // 
            this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
            this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
            this.ClientSize = new System.Drawing.Size(800, 351);
            this.ClientSize = new System.Drawing.Size(1069, 351);
            this.Controls.Add(this.stStripHint);
            this.Controls.Add(this.lblOperator);
            this.Controls.Add(this.btnReset);
            this.Controls.Add(this.btnStartMeasure);
            this.Controls.Add(this.lblCT);
@@ -317,6 +370,8 @@
            this.splitContainer1.Panel2.ResumeLayout(false);
            ((System.ComponentModel.ISupportInitialize)(this.splitContainer1)).EndInit();
            this.splitContainer1.ResumeLayout(false);
            this.stStripHint.ResumeLayout(false);
            this.stStripHint.PerformLayout();
            this.ResumeLayout(false);
            this.PerformLayout();
@@ -343,5 +398,10 @@
        private System.Windows.Forms.Button btnStartMeasure;
        private System.Windows.Forms.Button btnReset;
        private System.Windows.Forms.ColumnHeader columnHeader1;
        private System.Windows.Forms.ToolStripMenuItem tsmiRefreshLabels;
        private System.Windows.Forms.Timer timer1;
        private System.Windows.Forms.Label lblOperator;
        private System.Windows.Forms.StatusStrip stStripHint;
        private System.Windows.Forms.ToolStripStatusLabel tsslError;
    }
}