|
|
|
@ -29,17 +29,17 @@
|
|
|
|
|
private void InitializeComponent()
|
|
|
|
|
{
|
|
|
|
|
this.components = new System.ComponentModel.Container();
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle6 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle10 = 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 dataGridViewCellStyle1 = new System.Windows.Forms.DataGridViewCellStyle();
|
|
|
|
|
System.Windows.Forms.DataGridViewCellStyle dataGridViewCellStyle5 = 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.panelEx1 = new Rs.Controls.PanelEx();
|
|
|
|
|
this.panel4 = new System.Windows.Forms.Panel();
|
|
|
|
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
|
|
|
this.btnCheck = new System.Windows.Forms.Button();
|
|
|
|
|
this.txtStockTrayHaveOrNotGrayMax = new System.Windows.Forms.TextBox();
|
|
|
|
|
this.button1 = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnGrab = new System.Windows.Forms.Button();
|
|
|
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
|
|
|
this.btnDrawRegion = new System.Windows.Forms.Button();
|
|
|
|
|
this.btnSaveRegion = new System.Windows.Forms.Button();
|
|
|
|
@ -101,6 +101,7 @@
|
|
|
|
|
this.takeProductToolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.dumpProductToolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.moveToolStripMenuItem8 = new System.Windows.Forms.ToolStripMenuItem();
|
|
|
|
|
this.lblProductCheckResult = new System.Windows.Forms.Label();
|
|
|
|
|
this.panelEx1.SuspendLayout();
|
|
|
|
|
this.panel4.SuspendLayout();
|
|
|
|
|
this.groupBox4.SuspendLayout();
|
|
|
|
@ -135,9 +136,10 @@
|
|
|
|
|
//
|
|
|
|
|
// groupBox4
|
|
|
|
|
//
|
|
|
|
|
this.groupBox4.Controls.Add(this.lblProductCheckResult);
|
|
|
|
|
this.groupBox4.Controls.Add(this.btnCheck);
|
|
|
|
|
this.groupBox4.Controls.Add(this.txtStockTrayHaveOrNotGrayMax);
|
|
|
|
|
this.groupBox4.Controls.Add(this.button1);
|
|
|
|
|
this.groupBox4.Controls.Add(this.btnGrab);
|
|
|
|
|
this.groupBox4.Controls.Add(this.label1);
|
|
|
|
|
this.groupBox4.Controls.Add(this.btnDrawRegion);
|
|
|
|
|
this.groupBox4.Controls.Add(this.btnSaveRegion);
|
|
|
|
@ -185,19 +187,19 @@
|
|
|
|
|
this.txtStockTrayHaveOrNotGrayMax.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
|
|
|
|
|
this.txtStockTrayHaveOrNotGrayMax.KeyUp += new System.Windows.Forms.KeyEventHandler(this.txtSysParam_KeyUp);
|
|
|
|
|
//
|
|
|
|
|
// button1
|
|
|
|
|
// btnGrab
|
|
|
|
|
//
|
|
|
|
|
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56)))));
|
|
|
|
|
this.button1.FlatAppearance.BorderColor = System.Drawing.Color.White;
|
|
|
|
|
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.button1.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
this.button1.Location = new System.Drawing.Point(22, 53);
|
|
|
|
|
this.button1.Name = "button1";
|
|
|
|
|
this.button1.Size = new System.Drawing.Size(103, 36);
|
|
|
|
|
this.button1.TabIndex = 8;
|
|
|
|
|
this.button1.Text = "相机取图";
|
|
|
|
|
this.button1.UseVisualStyleBackColor = false;
|
|
|
|
|
this.button1.Click += new System.EventHandler(this.btnCheck_Click);
|
|
|
|
|
this.btnGrab.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56)))));
|
|
|
|
|
this.btnGrab.FlatAppearance.BorderColor = System.Drawing.Color.White;
|
|
|
|
|
this.btnGrab.FlatStyle = System.Windows.Forms.FlatStyle.Flat;
|
|
|
|
|
this.btnGrab.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
this.btnGrab.Location = new System.Drawing.Point(22, 53);
|
|
|
|
|
this.btnGrab.Name = "btnGrab";
|
|
|
|
|
this.btnGrab.Size = new System.Drawing.Size(103, 36);
|
|
|
|
|
this.btnGrab.TabIndex = 8;
|
|
|
|
|
this.btnGrab.Text = "相机取图";
|
|
|
|
|
this.btnGrab.UseVisualStyleBackColor = false;
|
|
|
|
|
this.btnGrab.Click += new System.EventHandler(this.btnGrab_Click);
|
|
|
|
|
//
|
|
|
|
|
// label1
|
|
|
|
|
//
|
|
|
|
@ -381,9 +383,9 @@
|
|
|
|
|
this.dgvBasePoints.AllowUserToDeleteRows = false;
|
|
|
|
|
this.dgvBasePoints.AllowUserToResizeColumns = false;
|
|
|
|
|
this.dgvBasePoints.AllowUserToResizeRows = false;
|
|
|
|
|
dataGridViewCellStyle6.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56)))));
|
|
|
|
|
dataGridViewCellStyle6.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
this.dgvBasePoints.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle6;
|
|
|
|
|
dataGridViewCellStyle1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(56)))), ((int)(((byte)(56)))), ((int)(((byte)(56)))));
|
|
|
|
|
dataGridViewCellStyle1.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
this.dgvBasePoints.AlternatingRowsDefaultCellStyle = dataGridViewCellStyle1;
|
|
|
|
|
this.dgvBasePoints.AutoSizeColumnsMode = System.Windows.Forms.DataGridViewAutoSizeColumnsMode.Fill;
|
|
|
|
|
this.dgvBasePoints.BackgroundColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(16)))), ((int)(((byte)(36)))));
|
|
|
|
|
this.dgvBasePoints.ColumnHeadersHeight = 30;
|
|
|
|
@ -399,14 +401,14 @@
|
|
|
|
|
this.dgvBasePoints.MultiSelect = false;
|
|
|
|
|
this.dgvBasePoints.Name = "dgvBasePoints";
|
|
|
|
|
this.dgvBasePoints.ReadOnly = true;
|
|
|
|
|
dataGridViewCellStyle10.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
|
|
dataGridViewCellStyle10.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(16)))), ((int)(((byte)(36)))));
|
|
|
|
|
dataGridViewCellStyle10.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
dataGridViewCellStyle10.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle10.SelectionBackColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle10.SelectionForeColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle10.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.dgvBasePoints.RowHeadersDefaultCellStyle = dataGridViewCellStyle10;
|
|
|
|
|
dataGridViewCellStyle5.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
|
|
dataGridViewCellStyle5.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(11)))), ((int)(((byte)(16)))), ((int)(((byte)(36)))));
|
|
|
|
|
dataGridViewCellStyle5.Font = new System.Drawing.Font("宋体", 9F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
|
|
|
|
|
dataGridViewCellStyle5.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle5.SelectionBackColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle5.SelectionForeColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle5.WrapMode = System.Windows.Forms.DataGridViewTriState.True;
|
|
|
|
|
this.dgvBasePoints.RowHeadersDefaultCellStyle = dataGridViewCellStyle5;
|
|
|
|
|
this.dgvBasePoints.RowHeadersVisible = false;
|
|
|
|
|
this.dgvBasePoints.RowHeadersWidth = 30;
|
|
|
|
|
this.dgvBasePoints.RowHeadersWidthSizeMode = System.Windows.Forms.DataGridViewRowHeadersWidthSizeMode.DisableResizing;
|
|
|
|
@ -428,8 +430,8 @@
|
|
|
|
|
// X
|
|
|
|
|
//
|
|
|
|
|
this.X.DataPropertyName = "X";
|
|
|
|
|
dataGridViewCellStyle7.Format = "0.000";
|
|
|
|
|
this.X.DefaultCellStyle = dataGridViewCellStyle7;
|
|
|
|
|
dataGridViewCellStyle2.Format = "0.000";
|
|
|
|
|
this.X.DefaultCellStyle = dataGridViewCellStyle2;
|
|
|
|
|
this.X.FillWeight = 35F;
|
|
|
|
|
this.X.HeaderText = "X";
|
|
|
|
|
this.X.Name = "X";
|
|
|
|
@ -438,8 +440,8 @@
|
|
|
|
|
// Y
|
|
|
|
|
//
|
|
|
|
|
this.Y.DataPropertyName = "Y";
|
|
|
|
|
dataGridViewCellStyle8.Format = "0.000";
|
|
|
|
|
this.Y.DefaultCellStyle = dataGridViewCellStyle8;
|
|
|
|
|
dataGridViewCellStyle3.Format = "0.000";
|
|
|
|
|
this.Y.DefaultCellStyle = dataGridViewCellStyle3;
|
|
|
|
|
this.Y.FillWeight = 35F;
|
|
|
|
|
this.Y.HeaderText = "Y";
|
|
|
|
|
this.Y.Name = "Y";
|
|
|
|
@ -448,10 +450,10 @@
|
|
|
|
|
// Move
|
|
|
|
|
//
|
|
|
|
|
this.Move.ActiveLinkColor = System.Drawing.Color.White;
|
|
|
|
|
dataGridViewCellStyle9.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
|
|
dataGridViewCellStyle9.BackColor = System.Drawing.Color.Silver;
|
|
|
|
|
dataGridViewCellStyle9.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
this.Move.DefaultCellStyle = dataGridViewCellStyle9;
|
|
|
|
|
dataGridViewCellStyle4.Alignment = System.Windows.Forms.DataGridViewContentAlignment.MiddleCenter;
|
|
|
|
|
dataGridViewCellStyle4.BackColor = System.Drawing.Color.Silver;
|
|
|
|
|
dataGridViewCellStyle4.ForeColor = System.Drawing.Color.White;
|
|
|
|
|
this.Move.DefaultCellStyle = dataGridViewCellStyle4;
|
|
|
|
|
this.Move.FillWeight = 20F;
|
|
|
|
|
this.Move.HeaderText = "Move";
|
|
|
|
|
this.Move.LinkBehavior = System.Windows.Forms.LinkBehavior.NeverUnderline;
|
|
|
|
@ -787,6 +789,16 @@
|
|
|
|
|
this.moveToolStripMenuItem8.Size = new System.Drawing.Size(156, 22);
|
|
|
|
|
this.moveToolStripMenuItem8.Text = "Move";
|
|
|
|
|
//
|
|
|
|
|
// lblProductCheckResult
|
|
|
|
|
//
|
|
|
|
|
this.lblProductCheckResult.BackColor = System.Drawing.Color.Red;
|
|
|
|
|
this.lblProductCheckResult.Location = new System.Drawing.Point(134, 366);
|
|
|
|
|
this.lblProductCheckResult.Name = "lblProductCheckResult";
|
|
|
|
|
this.lblProductCheckResult.Size = new System.Drawing.Size(129, 44);
|
|
|
|
|
this.lblProductCheckResult.TabIndex = 52;
|
|
|
|
|
this.lblProductCheckResult.Text = "无";
|
|
|
|
|
this.lblProductCheckResult.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
|
|
|
|
//
|
|
|
|
|
// StockTrayHaveOrNot
|
|
|
|
|
//
|
|
|
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 12F);
|
|
|
|
@ -863,7 +875,7 @@
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem dumpProductToolStripMenuItem8;
|
|
|
|
|
private System.Windows.Forms.ToolStripMenuItem moveToolStripMenuItem8;
|
|
|
|
|
private System.Windows.Forms.Panel panel4;
|
|
|
|
|
private System.Windows.Forms.Button button1;
|
|
|
|
|
private System.Windows.Forms.Button btnGrab;
|
|
|
|
|
private System.Windows.Forms.Panel panel3;
|
|
|
|
|
private System.Windows.Forms.TextBox txtStockTrayHaveOrNotGrayMax;
|
|
|
|
|
private System.Windows.Forms.Label label1;
|
|
|
|
@ -882,5 +894,6 @@
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn X;
|
|
|
|
|
private System.Windows.Forms.DataGridViewTextBoxColumn Y;
|
|
|
|
|
private System.Windows.Forms.DataGridViewLinkColumn Move;
|
|
|
|
|
private System.Windows.Forms.Label lblProductCheckResult;
|
|
|
|
|
}
|
|
|
|
|
}
|