Commit 595d6703 夏萍

更改关键字添加按钮

1 个父辈 c2637e2c
...@@ -144,6 +144,7 @@ namespace BLL ...@@ -144,6 +144,7 @@ namespace BLL
mateName = ""; mateName = "";
keyword = null; keyword = null;
LogNet.log.Info($"code数量:{code.Count}");
code.ForEach((c) => code.ForEach((c) =>
{ {
LogNet.log.Info($"扫描到 {c.Angle}, {c.CodeType},{c.Text}"); LogNet.log.Info($"扫描到 {c.Angle}, {c.CodeType},{c.Text}");
......
...@@ -34,33 +34,39 @@ namespace SmartScan ...@@ -34,33 +34,39 @@ namespace SmartScan
this.PnlTemp = new Asa.FaceControl.FacePanel(); this.PnlTemp = new Asa.FaceControl.FacePanel();
this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel(); this.flowLayoutPanel1 = new System.Windows.Forms.FlowLayoutPanel();
this.pnlMatch = new Asa.FaceControl.FacePanel(); this.pnlMatch = new Asa.FaceControl.FacePanel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.NudMiddleTextCount = new Asa.FaceControl.FaceNumericUpDown();
this.ChkCheckCodeType = new Asa.FaceControl.FaceCheckBox();
this.LblCodeType = new Asa.FaceControl.FaceLabel();
this.ChkMatchingStart = new Asa.FaceControl.FaceCheckBox();
this.TxtMatchingStartText = new Asa.FaceControl.FaceTextBox();
this.ChkMatchingEnd = new Asa.FaceControl.FaceCheckBox();
this.TxtMatchingEndText = new Asa.FaceControl.FaceTextBox();
this.ChkMatchingMiddle = new Asa.FaceControl.FaceCheckBox();
this.TxtMatchingMiddleText = new Asa.FaceControl.FaceTextBox();
this.ChkCaseSensitivity = new Asa.FaceControl.FaceCheckBox();
this.ChoMatchMiddleType = new Asa.FaceControl.FaceComboBox();
this.lblMatchRes = new Asa.FaceControl.FaceLabel();
this.Characteristicbarcode = new Asa.FaceControl.FaceCheckBox();
this.pnlRawCode = new Asa.FaceControl.FacePanel(); this.pnlRawCode = new Asa.FaceControl.FacePanel();
this.richTextBox1 = new System.Windows.Forms.RichTextBox(); this.richTextBox1 = new System.Windows.Forms.RichTextBox();
this.pnlKeywords = new Asa.FaceControl.FacePanel(); this.pnlKeywords = new Asa.FaceControl.FacePanel();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel3 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel4 = new System.Windows.Forms.TableLayoutPanel();
this.BtnAdd = new Asa.FaceControl.FaceButton();
this.BtnDel = new Asa.FaceControl.FaceButton();
this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
this.Characteristicbarcode = new Asa.FaceControl.FaceCheckBox();
this.lblMatchRes = new Asa.FaceControl.FaceLabel();
this.ChoMatchMiddleType = new Asa.FaceControl.FaceComboBox();
this.ChkCaseSensitivity = new Asa.FaceControl.FaceCheckBox();
this.TxtMatchingMiddleText = new Asa.FaceControl.FaceTextBox();
this.ChkMatchingMiddle = new Asa.FaceControl.FaceCheckBox();
this.TxtMatchingEndText = new Asa.FaceControl.FaceTextBox();
this.ChkMatchingEnd = new Asa.FaceControl.FaceCheckBox();
this.TxtMatchingStartText = new Asa.FaceControl.FaceTextBox();
this.ChkMatchingStart = new Asa.FaceControl.FaceCheckBox();
this.LblCodeType = new Asa.FaceControl.FaceLabel();
this.ChkCheckCodeType = new Asa.FaceControl.FaceCheckBox();
this.NudMiddleTextCount = new Asa.FaceControl.FaceNumericUpDown();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.tableLayoutPanel6 = new System.Windows.Forms.TableLayoutPanel();
this.pnlMatch.SuspendLayout(); this.pnlMatch.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.pnlRawCode.SuspendLayout(); this.pnlRawCode.SuspendLayout();
this.pnlKeywords.SuspendLayout(); this.pnlKeywords.SuspendLayout();
this.tableLayoutPanel2.SuspendLayout(); this.tableLayoutPanel2.SuspendLayout();
this.tableLayoutPanel3.SuspendLayout(); this.tableLayoutPanel3.SuspendLayout();
this.tableLayoutPanel4.SuspendLayout(); this.tableLayoutPanel4.SuspendLayout();
this.tableLayoutPanel5.SuspendLayout();
this.tableLayoutPanel1.SuspendLayout();
this.tableLayoutPanel6.SuspendLayout();
this.SuspendLayout(); this.SuspendLayout();
// //
// BtnOK // BtnOK
...@@ -114,10 +120,10 @@ namespace SmartScan ...@@ -114,10 +120,10 @@ namespace SmartScan
// //
// flowLayoutPanel1 // flowLayoutPanel1
// //
this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Bottom; this.flowLayoutPanel1.Dock = System.Windows.Forms.DockStyle.Fill;
this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 29); this.flowLayoutPanel1.Location = new System.Drawing.Point(3, 3);
this.flowLayoutPanel1.Name = "flowLayoutPanel1"; this.flowLayoutPanel1.Name = "flowLayoutPanel1";
this.flowLayoutPanel1.Size = new System.Drawing.Size(483, 147); this.flowLayoutPanel1.Size = new System.Drawing.Size(401, 134);
this.flowLayoutPanel1.TabIndex = 29; this.flowLayoutPanel1.TabIndex = 29;
// //
// pnlMatch // pnlMatch
...@@ -137,187 +143,215 @@ namespace SmartScan ...@@ -137,187 +143,215 @@ namespace SmartScan
this.pnlMatch.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage; this.pnlMatch.TextImageRelation = System.Windows.Forms.TextImageRelation.TextAboveImage;
this.pnlMatch.TitleFont = new System.Drawing.Font("宋体", 12F); this.pnlMatch.TitleFont = new System.Drawing.Font("宋体", 12F);
// //
// tableLayoutPanel1 // pnlRawCode
//
this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel1.Controls.Add(this.NudMiddleTextCount, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.ChkCheckCodeType, 0, 0);
this.tableLayoutPanel1.Controls.Add(this.LblCodeType, 1, 0);
this.tableLayoutPanel1.Controls.Add(this.ChkMatchingStart, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.TxtMatchingStartText, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.ChkMatchingEnd, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.TxtMatchingEndText, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.ChkMatchingMiddle, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.TxtMatchingMiddleText, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.ChkCaseSensitivity, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.ChoMatchMiddleType, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.lblMatchRes, 3, 3);
this.tableLayoutPanel1.Controls.Add(this.Characteristicbarcode, 3, 2);
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 36);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(483, 232);
this.tableLayoutPanel1.TabIndex = 0;
// //
// NudMiddleTextCount this.pnlRawCode.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.pnlRawCode.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.pnlRawCode.BorderWidth = 2;
this.pnlRawCode.Controls.Add(this.richTextBox1);
this.pnlRawCode.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlRawCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pnlRawCode.Location = new System.Drawing.Point(3, 3);
this.pnlRawCode.Name = "pnlRawCode";
this.pnlRawCode.Padding = new System.Windows.Forms.Padding(3);
this.pnlRawCode.Size = new System.Drawing.Size(489, 335);
this.pnlRawCode.TabIndex = 31;
this.pnlRawCode.Text = "原始条码信息";
this.pnlRawCode.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.pnlRawCode.TitleFont = new System.Drawing.Font("宋体", 12F);
// //
this.NudMiddleTextCount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); // richTextBox1
this.NudMiddleTextCount.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.NudMiddleTextCount.BorderWidth = 2;
this.NudMiddleTextCount.DecimalPlaces = 0;
this.NudMiddleTextCount.Dock = System.Windows.Forms.DockStyle.Fill;
this.NudMiddleTextCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.NudMiddleTextCount.Increment = 1F;
this.NudMiddleTextCount.Location = new System.Drawing.Point(4, 172);
this.NudMiddleTextCount.Margin = new System.Windows.Forms.Padding(4);
this.NudMiddleTextCount.Maximum = 9999F;
this.NudMiddleTextCount.Minimum = 1F;
this.NudMiddleTextCount.Name = "NudMiddleTextCount";
this.NudMiddleTextCount.Padding = new System.Windows.Forms.Padding(4);
this.NudMiddleTextCount.Size = new System.Drawing.Size(112, 56);
this.NudMiddleTextCount.TabIndex = 62;
this.NudMiddleTextCount.Text = "1";
this.NudMiddleTextCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.NudMiddleTextCount.Value = 1F;
this.NudMiddleTextCount.ValueChanged += new System.EventHandler(this.matchChanged);
// //
// ChkCheckCodeType this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Font = new System.Drawing.Font("宋体", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.richTextBox1.ForeColor = System.Drawing.SystemColors.Menu;
this.richTextBox1.Location = new System.Drawing.Point(3, 3);
this.richTextBox1.Name = "richTextBox1";
this.richTextBox1.Size = new System.Drawing.Size(483, 329);
this.richTextBox1.TabIndex = 7;
this.richTextBox1.Text = "weqw";
// //
this.ChkCheckCodeType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); // pnlKeywords
this.ChkCheckCodeType.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChkCheckCodeType.BorderWidth = 0;
this.ChkCheckCodeType.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkCheckCodeType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkCheckCodeType.Location = new System.Drawing.Point(4, 4);
this.ChkCheckCodeType.Margin = new System.Windows.Forms.Padding(4);
this.ChkCheckCodeType.Name = "ChkCheckCodeType";
this.ChkCheckCodeType.Padding = new System.Windows.Forms.Padding(4);
this.ChkCheckCodeType.Size = new System.Drawing.Size(112, 48);
this.ChkCheckCodeType.TabIndex = 52;
this.ChkCheckCodeType.Text = "CheckCodeType";
this.ChkCheckCodeType.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ChkCheckCodeType.CheckedChanged += new System.EventHandler(this.matchChanged);
// //
// LblCodeType this.pnlKeywords.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.pnlKeywords.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.pnlKeywords.BorderWidth = 2;
this.pnlKeywords.Controls.Add(this.tableLayoutPanel5);
this.pnlKeywords.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlKeywords.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pnlKeywords.Location = new System.Drawing.Point(3, 3);
this.pnlKeywords.Name = "pnlKeywords";
this.pnlKeywords.Padding = new System.Windows.Forms.Padding(3);
this.pnlKeywords.Size = new System.Drawing.Size(489, 179);
this.pnlKeywords.TabIndex = 32;
this.pnlKeywords.Text = "关键字";
this.pnlKeywords.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.pnlKeywords.TitleFont = new System.Drawing.Font("宋体", 12F);
// //
this.LblCodeType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); // tableLayoutPanel2
this.LblCodeType.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.LblCodeType.BorderWidth = 0;
this.tableLayoutPanel1.SetColumnSpan(this.LblCodeType, 2);
this.LblCodeType.Dock = System.Windows.Forms.DockStyle.Fill;
this.LblCodeType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LblCodeType.Location = new System.Drawing.Point(124, 4);
this.LblCodeType.Margin = new System.Windows.Forms.Padding(4);
this.LblCodeType.Name = "LblCodeType";
this.LblCodeType.Padding = new System.Windows.Forms.Padding(4);
this.LblCodeType.Size = new System.Drawing.Size(232, 48);
this.LblCodeType.TabIndex = 53;
this.LblCodeType.Text = "-";
this.LblCodeType.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// ChkMatchingStart this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel2.ColumnCount = 2;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 1, 0);
this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel4, 0, 0);
this.tableLayoutPanel2.Location = new System.Drawing.Point(11, 59);
this.tableLayoutPanel2.Name = "tableLayoutPanel2";
this.tableLayoutPanel2.RowCount = 1;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel2.Size = new System.Drawing.Size(1002, 624);
this.tableLayoutPanel2.TabIndex = 33;
// //
this.ChkMatchingStart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); // tableLayoutPanel3
this.ChkMatchingStart.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChkMatchingStart.BorderWidth = 0;
this.ChkMatchingStart.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkMatchingStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkMatchingStart.Location = new System.Drawing.Point(4, 60);
this.ChkMatchingStart.Margin = new System.Windows.Forms.Padding(4);
this.ChkMatchingStart.Name = "ChkMatchingStart";
this.ChkMatchingStart.Padding = new System.Windows.Forms.Padding(4);
this.ChkMatchingStart.Size = new System.Drawing.Size(112, 48);
this.ChkMatchingStart.TabIndex = 54;
this.ChkMatchingStart.Text = "Start";
this.ChkMatchingStart.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ChkMatchingStart.CheckedChanged += new System.EventHandler(this.matchChanged);
// //
// TxtMatchingStartText this.tableLayoutPanel3.ColumnCount = 1;
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel3.Controls.Add(this.pnlKeywords, 0, 0);
this.tableLayoutPanel3.Controls.Add(this.PnlTemp, 0, 1);
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel3.Location = new System.Drawing.Point(504, 3);
this.tableLayoutPanel3.Name = "tableLayoutPanel3";
this.tableLayoutPanel3.RowCount = 2;
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F));
this.tableLayoutPanel3.Size = new System.Drawing.Size(495, 618);
this.tableLayoutPanel3.TabIndex = 32;
// //
this.TxtMatchingStartText.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); // tableLayoutPanel4
this.TxtMatchingStartText.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.TxtMatchingStartText.BorderWidth = 2;
this.TxtMatchingStartText.Dock = System.Windows.Forms.DockStyle.Fill;
this.TxtMatchingStartText.Location = new System.Drawing.Point(124, 60);
this.TxtMatchingStartText.Margin = new System.Windows.Forms.Padding(4);
this.TxtMatchingStartText.MaxLength = 32767;
this.TxtMatchingStartText.Name = "TxtMatchingStartText";
this.TxtMatchingStartText.Padding = new System.Windows.Forms.Padding(4);
this.TxtMatchingStartText.SelectedText = "";
this.TxtMatchingStartText.SelectionLength = 0;
this.TxtMatchingStartText.SelectionStart = 0;
this.TxtMatchingStartText.ShowDel = true;
this.TxtMatchingStartText.ShowQuery = false;
this.TxtMatchingStartText.Size = new System.Drawing.Size(112, 48);
this.TxtMatchingStartText.TabIndex = 55;
this.TxtMatchingStartText.Text = "faceTextBox1";
this.TxtMatchingStartText.TextChanged += new System.EventHandler(this.matchChanged);
// //
// ChkMatchingEnd this.tableLayoutPanel4.ColumnCount = 1;
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel4.Controls.Add(this.pnlRawCode, 0, 0);
this.tableLayoutPanel4.Controls.Add(this.pnlMatch, 0, 1);
this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 3);
this.tableLayoutPanel4.Name = "tableLayoutPanel4";
this.tableLayoutPanel4.RowCount = 2;
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 277F));
this.tableLayoutPanel4.Size = new System.Drawing.Size(495, 618);
this.tableLayoutPanel4.TabIndex = 33;
// //
this.ChkMatchingEnd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); // BtnAdd
this.ChkMatchingEnd.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; //
this.ChkMatchingEnd.BorderWidth = 0; this.BtnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ChkMatchingEnd.Dock = System.Windows.Forms.DockStyle.Fill; this.BtnAdd.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChkMatchingEnd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.BtnAdd.BorderWidth = 2;
this.ChkMatchingEnd.Location = new System.Drawing.Point(244, 60); this.BtnAdd.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkMatchingEnd.Margin = new System.Windows.Forms.Padding(4); this.BtnAdd.ForeColor = System.Drawing.Color.DeepSkyBlue;
this.ChkMatchingEnd.Name = "ChkMatchingEnd"; this.BtnAdd.HoldPress = false;
this.ChkMatchingEnd.Padding = new System.Windows.Forms.Padding(4); this.BtnAdd.Location = new System.Drawing.Point(3, 3);
this.ChkMatchingEnd.Size = new System.Drawing.Size(112, 48); this.BtnAdd.Name = "BtnAdd";
this.ChkMatchingEnd.TabIndex = 56; this.BtnAdd.Padding = new System.Windows.Forms.Padding(3);
this.ChkMatchingEnd.Text = "End"; this.BtnAdd.Size = new System.Drawing.Size(58, 61);
this.ChkMatchingEnd.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.BtnAdd.TabIndex = 0;
this.ChkMatchingEnd.CheckedChanged += new System.EventHandler(this.matchChanged); this.BtnAdd.Text = "Add";
this.BtnAdd.Click += new System.EventHandler(this.List_AddClick);
//
// BtnDel
//
this.BtnDel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnDel.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnDel.BorderWidth = 2;
this.BtnDel.Dock = System.Windows.Forms.DockStyle.Fill;
this.BtnDel.ForeColor = System.Drawing.Color.Red;
this.BtnDel.HoldPress = false;
this.BtnDel.Location = new System.Drawing.Point(3, 70);
this.BtnDel.Name = "BtnDel";
this.BtnDel.Padding = new System.Windows.Forms.Padding(3);
this.BtnDel.Size = new System.Drawing.Size(58, 61);
this.BtnDel.TabIndex = 1;
this.BtnDel.Text = "Del";
this.BtnDel.Click += new System.EventHandler(this.List_DelClick);
//
// tableLayoutPanel5
//
this.tableLayoutPanel5.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
| System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel5.ColumnCount = 2;
this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel5.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Absolute, 70F));
this.tableLayoutPanel5.Controls.Add(this.flowLayoutPanel1, 0, 0);
this.tableLayoutPanel5.Controls.Add(this.tableLayoutPanel6, 1, 0);
this.tableLayoutPanel5.Location = new System.Drawing.Point(6, 33);
this.tableLayoutPanel5.Name = "tableLayoutPanel5";
this.tableLayoutPanel5.RowCount = 1;
this.tableLayoutPanel5.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel5.Size = new System.Drawing.Size(477, 140);
this.tableLayoutPanel5.TabIndex = 0;
// //
// TxtMatchingEndText // Characteristicbarcode
// //
this.TxtMatchingEndText.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.Characteristicbarcode.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.TxtMatchingEndText.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; this.Characteristicbarcode.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.TxtMatchingEndText.BorderWidth = 2; this.Characteristicbarcode.BorderWidth = 0;
this.TxtMatchingEndText.Dock = System.Windows.Forms.DockStyle.Fill; this.Characteristicbarcode.Dock = System.Windows.Forms.DockStyle.Fill;
this.TxtMatchingEndText.Location = new System.Drawing.Point(364, 60); this.Characteristicbarcode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.TxtMatchingEndText.Margin = new System.Windows.Forms.Padding(4); this.Characteristicbarcode.Location = new System.Drawing.Point(364, 116);
this.TxtMatchingEndText.MaxLength = 32767; this.Characteristicbarcode.Margin = new System.Windows.Forms.Padding(4);
this.TxtMatchingEndText.Name = "TxtMatchingEndText"; this.Characteristicbarcode.Name = "Characteristicbarcode";
this.TxtMatchingEndText.Padding = new System.Windows.Forms.Padding(4); this.Characteristicbarcode.Padding = new System.Windows.Forms.Padding(4);
this.TxtMatchingEndText.SelectedText = ""; this.Characteristicbarcode.Size = new System.Drawing.Size(115, 48);
this.TxtMatchingEndText.SelectionLength = 0; this.Characteristicbarcode.TabIndex = 64;
this.TxtMatchingEndText.SelectionStart = 0; this.Characteristicbarcode.Text = "特征码";
this.TxtMatchingEndText.ShowDel = true; this.Characteristicbarcode.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.TxtMatchingEndText.ShowQuery = false; this.Characteristicbarcode.Visible = false;
this.TxtMatchingEndText.Size = new System.Drawing.Size(115, 48);
this.TxtMatchingEndText.TabIndex = 57;
this.TxtMatchingEndText.Text = "faceTextBox2";
this.TxtMatchingEndText.TextChanged += new System.EventHandler(this.matchChanged);
// //
// ChkMatchingMiddle // lblMatchRes
// //
this.ChkMatchingMiddle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.lblMatchRes.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ChkMatchingMiddle.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; this.lblMatchRes.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChkMatchingMiddle.BorderWidth = 0; this.lblMatchRes.BorderWidth = 0;
this.ChkMatchingMiddle.Dock = System.Windows.Forms.DockStyle.Fill; this.lblMatchRes.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkMatchingMiddle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.lblMatchRes.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134)));
this.ChkMatchingMiddle.Location = new System.Drawing.Point(4, 116); this.lblMatchRes.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkMatchingMiddle.Margin = new System.Windows.Forms.Padding(4); this.lblMatchRes.Location = new System.Drawing.Point(364, 172);
this.ChkMatchingMiddle.Name = "ChkMatchingMiddle"; this.lblMatchRes.Margin = new System.Windows.Forms.Padding(4);
this.ChkMatchingMiddle.Padding = new System.Windows.Forms.Padding(4); this.lblMatchRes.Name = "lblMatchRes";
this.ChkMatchingMiddle.Size = new System.Drawing.Size(112, 48); this.lblMatchRes.Padding = new System.Windows.Forms.Padding(4);
this.ChkMatchingMiddle.TabIndex = 58; this.lblMatchRes.Size = new System.Drawing.Size(115, 56);
this.ChkMatchingMiddle.Text = "Middle"; this.lblMatchRes.TabIndex = 63;
this.ChkMatchingMiddle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; //
this.ChkMatchingMiddle.CheckedChanged += new System.EventHandler(this.matchChanged); // ChoMatchMiddleType
//
this.ChoMatchMiddleType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ChoMatchMiddleType.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChoMatchMiddleType.BorderWidth = 2;
this.ChoMatchMiddleType.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChoMatchMiddleType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChoMatchMiddleType.Location = new System.Drawing.Point(124, 172);
this.ChoMatchMiddleType.Margin = new System.Windows.Forms.Padding(4);
this.ChoMatchMiddleType.Name = "ChoMatchMiddleType";
this.ChoMatchMiddleType.Padding = new System.Windows.Forms.Padding(4);
this.ChoMatchMiddleType.SelectedIndex = -1;
this.ChoMatchMiddleType.SelectedText = "";
this.ChoMatchMiddleType.Size = new System.Drawing.Size(112, 56);
this.ChoMatchMiddleType.TabIndex = 61;
this.ChoMatchMiddleType.Text = "faceComboBox1";
this.ChoMatchMiddleType.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.ChoMatchMiddleType.SelectedIndexChanged += new System.EventHandler(this.matchChanged);
//
// ChkCaseSensitivity
//
this.ChkCaseSensitivity.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ChkCaseSensitivity.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChkCaseSensitivity.BorderWidth = 0;
this.ChkCaseSensitivity.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkCaseSensitivity.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkCaseSensitivity.Location = new System.Drawing.Point(244, 116);
this.ChkCaseSensitivity.Margin = new System.Windows.Forms.Padding(4);
this.ChkCaseSensitivity.Name = "ChkCaseSensitivity";
this.ChkCaseSensitivity.Padding = new System.Windows.Forms.Padding(4);
this.ChkCaseSensitivity.Size = new System.Drawing.Size(112, 48);
this.ChkCaseSensitivity.TabIndex = 60;
this.ChkCaseSensitivity.Text = "Sensitivity";
this.ChkCaseSensitivity.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ChkCaseSensitivity.CheckedChanged += new System.EventHandler(this.matchChanged);
// //
// TxtMatchingMiddleText // TxtMatchingMiddleText
// //
...@@ -340,166 +374,201 @@ namespace SmartScan ...@@ -340,166 +374,201 @@ namespace SmartScan
this.TxtMatchingMiddleText.Text = "faceTextBox3"; this.TxtMatchingMiddleText.Text = "faceTextBox3";
this.TxtMatchingMiddleText.TextChanged += new System.EventHandler(this.matchChanged); this.TxtMatchingMiddleText.TextChanged += new System.EventHandler(this.matchChanged);
// //
// ChkCaseSensitivity // ChkMatchingMiddle
// //
this.ChkCaseSensitivity.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.ChkMatchingMiddle.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ChkCaseSensitivity.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; this.ChkMatchingMiddle.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChkCaseSensitivity.BorderWidth = 0; this.ChkMatchingMiddle.BorderWidth = 0;
this.ChkCaseSensitivity.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkMatchingMiddle.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkCaseSensitivity.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkMatchingMiddle.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkCaseSensitivity.Location = new System.Drawing.Point(244, 116); this.ChkMatchingMiddle.Location = new System.Drawing.Point(4, 116);
this.ChkCaseSensitivity.Margin = new System.Windows.Forms.Padding(4); this.ChkMatchingMiddle.Margin = new System.Windows.Forms.Padding(4);
this.ChkCaseSensitivity.Name = "ChkCaseSensitivity"; this.ChkMatchingMiddle.Name = "ChkMatchingMiddle";
this.ChkCaseSensitivity.Padding = new System.Windows.Forms.Padding(4); this.ChkMatchingMiddle.Padding = new System.Windows.Forms.Padding(4);
this.ChkCaseSensitivity.Size = new System.Drawing.Size(112, 48); this.ChkMatchingMiddle.Size = new System.Drawing.Size(112, 48);
this.ChkCaseSensitivity.TabIndex = 60; this.ChkMatchingMiddle.TabIndex = 58;
this.ChkCaseSensitivity.Text = "Sensitivity"; this.ChkMatchingMiddle.Text = "Middle";
this.ChkCaseSensitivity.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.ChkMatchingMiddle.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ChkCaseSensitivity.CheckedChanged += new System.EventHandler(this.matchChanged); this.ChkMatchingMiddle.CheckedChanged += new System.EventHandler(this.matchChanged);
// //
// ChoMatchMiddleType // TxtMatchingEndText
// //
this.ChoMatchMiddleType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.TxtMatchingEndText.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.ChoMatchMiddleType.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; this.TxtMatchingEndText.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.ChoMatchMiddleType.BorderWidth = 2; this.TxtMatchingEndText.BorderWidth = 2;
this.ChoMatchMiddleType.Dock = System.Windows.Forms.DockStyle.Fill; this.TxtMatchingEndText.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChoMatchMiddleType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.TxtMatchingEndText.Location = new System.Drawing.Point(364, 60);
this.ChoMatchMiddleType.Location = new System.Drawing.Point(124, 172); this.TxtMatchingEndText.Margin = new System.Windows.Forms.Padding(4);
this.ChoMatchMiddleType.Margin = new System.Windows.Forms.Padding(4); this.TxtMatchingEndText.MaxLength = 32767;
this.ChoMatchMiddleType.Name = "ChoMatchMiddleType"; this.TxtMatchingEndText.Name = "TxtMatchingEndText";
this.ChoMatchMiddleType.Padding = new System.Windows.Forms.Padding(4); this.TxtMatchingEndText.Padding = new System.Windows.Forms.Padding(4);
this.ChoMatchMiddleType.SelectedIndex = -1; this.TxtMatchingEndText.SelectedText = "";
this.ChoMatchMiddleType.SelectedText = ""; this.TxtMatchingEndText.SelectionLength = 0;
this.ChoMatchMiddleType.Size = new System.Drawing.Size(112, 56); this.TxtMatchingEndText.SelectionStart = 0;
this.ChoMatchMiddleType.TabIndex = 61; this.TxtMatchingEndText.ShowDel = true;
this.ChoMatchMiddleType.Text = "faceComboBox1"; this.TxtMatchingEndText.ShowQuery = false;
this.ChoMatchMiddleType.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.TxtMatchingEndText.Size = new System.Drawing.Size(115, 48);
this.ChoMatchMiddleType.SelectedIndexChanged += new System.EventHandler(this.matchChanged); this.TxtMatchingEndText.TabIndex = 57;
this.TxtMatchingEndText.Text = "faceTextBox2";
this.TxtMatchingEndText.TextChanged += new System.EventHandler(this.matchChanged);
// //
// lblMatchRes // ChkMatchingEnd
// //
this.lblMatchRes.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.ChkMatchingEnd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.lblMatchRes.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; this.ChkMatchingEnd.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.lblMatchRes.BorderWidth = 0; this.ChkMatchingEnd.BorderWidth = 0;
this.lblMatchRes.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkMatchingEnd.Dock = System.Windows.Forms.DockStyle.Fill;
this.lblMatchRes.Font = new System.Drawing.Font("宋体", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.ChkMatchingEnd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.lblMatchRes.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkMatchingEnd.Location = new System.Drawing.Point(244, 60);
this.lblMatchRes.Location = new System.Drawing.Point(364, 172); this.ChkMatchingEnd.Margin = new System.Windows.Forms.Padding(4);
this.lblMatchRes.Margin = new System.Windows.Forms.Padding(4); this.ChkMatchingEnd.Name = "ChkMatchingEnd";
this.lblMatchRes.Name = "lblMatchRes"; this.ChkMatchingEnd.Padding = new System.Windows.Forms.Padding(4);
this.lblMatchRes.Padding = new System.Windows.Forms.Padding(4); this.ChkMatchingEnd.Size = new System.Drawing.Size(112, 48);
this.lblMatchRes.Size = new System.Drawing.Size(115, 56); this.ChkMatchingEnd.TabIndex = 56;
this.lblMatchRes.TabIndex = 63; this.ChkMatchingEnd.Text = "End";
this.ChkMatchingEnd.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ChkMatchingEnd.CheckedChanged += new System.EventHandler(this.matchChanged);
// //
// Characteristicbarcode // TxtMatchingStartText
// //
this.Characteristicbarcode.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.TxtMatchingStartText.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.Characteristicbarcode.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; this.TxtMatchingStartText.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.Characteristicbarcode.BorderWidth = 0; this.TxtMatchingStartText.BorderWidth = 2;
this.Characteristicbarcode.Dock = System.Windows.Forms.DockStyle.Fill; this.TxtMatchingStartText.Dock = System.Windows.Forms.DockStyle.Fill;
this.Characteristicbarcode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.TxtMatchingStartText.Location = new System.Drawing.Point(124, 60);
this.Characteristicbarcode.Location = new System.Drawing.Point(364, 116); this.TxtMatchingStartText.Margin = new System.Windows.Forms.Padding(4);
this.Characteristicbarcode.Margin = new System.Windows.Forms.Padding(4); this.TxtMatchingStartText.MaxLength = 32767;
this.Characteristicbarcode.Name = "Characteristicbarcode"; this.TxtMatchingStartText.Name = "TxtMatchingStartText";
this.Characteristicbarcode.Padding = new System.Windows.Forms.Padding(4); this.TxtMatchingStartText.Padding = new System.Windows.Forms.Padding(4);
this.Characteristicbarcode.Size = new System.Drawing.Size(115, 48); this.TxtMatchingStartText.SelectedText = "";
this.Characteristicbarcode.TabIndex = 64; this.TxtMatchingStartText.SelectionLength = 0;
this.Characteristicbarcode.Text = "特征码"; this.TxtMatchingStartText.SelectionStart = 0;
this.Characteristicbarcode.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.TxtMatchingStartText.ShowDel = true;
this.Characteristicbarcode.Visible = false; this.TxtMatchingStartText.ShowQuery = false;
this.TxtMatchingStartText.Size = new System.Drawing.Size(112, 48);
this.TxtMatchingStartText.TabIndex = 55;
this.TxtMatchingStartText.Text = "faceTextBox1";
this.TxtMatchingStartText.TextChanged += new System.EventHandler(this.matchChanged);
// //
// pnlRawCode // ChkMatchingStart
// //
this.pnlRawCode.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.ChkMatchingStart.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.pnlRawCode.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; this.ChkMatchingStart.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.pnlRawCode.BorderWidth = 2; this.ChkMatchingStart.BorderWidth = 0;
this.pnlRawCode.Controls.Add(this.richTextBox1); this.ChkMatchingStart.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlRawCode.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkMatchingStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pnlRawCode.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkMatchingStart.Location = new System.Drawing.Point(4, 60);
this.pnlRawCode.Location = new System.Drawing.Point(3, 3); this.ChkMatchingStart.Margin = new System.Windows.Forms.Padding(4);
this.pnlRawCode.Name = "pnlRawCode"; this.ChkMatchingStart.Name = "ChkMatchingStart";
this.pnlRawCode.Padding = new System.Windows.Forms.Padding(3); this.ChkMatchingStart.Padding = new System.Windows.Forms.Padding(4);
this.pnlRawCode.Size = new System.Drawing.Size(489, 335); this.ChkMatchingStart.Size = new System.Drawing.Size(112, 48);
this.pnlRawCode.TabIndex = 31; this.ChkMatchingStart.TabIndex = 54;
this.pnlRawCode.Text = "原始条码信息"; this.ChkMatchingStart.Text = "Start";
this.pnlRawCode.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.ChkMatchingStart.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.pnlRawCode.TitleFont = new System.Drawing.Font("宋体", 12F); this.ChkMatchingStart.CheckedChanged += new System.EventHandler(this.matchChanged);
// //
// richTextBox1 // LblCodeType
// //
this.richTextBox1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.LblCodeType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.richTextBox1.Dock = System.Windows.Forms.DockStyle.Fill; this.LblCodeType.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.richTextBox1.Font = new System.Drawing.Font("宋体", 16F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(134))); this.LblCodeType.BorderWidth = 0;
this.richTextBox1.ForeColor = System.Drawing.SystemColors.Menu; this.tableLayoutPanel1.SetColumnSpan(this.LblCodeType, 2);
this.richTextBox1.Location = new System.Drawing.Point(3, 3); this.LblCodeType.Dock = System.Windows.Forms.DockStyle.Fill;
this.richTextBox1.Name = "richTextBox1"; this.LblCodeType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.richTextBox1.Size = new System.Drawing.Size(483, 329); this.LblCodeType.Location = new System.Drawing.Point(124, 4);
this.richTextBox1.TabIndex = 7; this.LblCodeType.Margin = new System.Windows.Forms.Padding(4);
this.richTextBox1.Text = "weqw"; this.LblCodeType.Name = "LblCodeType";
this.LblCodeType.Padding = new System.Windows.Forms.Padding(4);
this.LblCodeType.Size = new System.Drawing.Size(232, 48);
this.LblCodeType.TabIndex = 53;
this.LblCodeType.Text = "-";
this.LblCodeType.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
// //
// pnlKeywords // ChkCheckCodeType
// //
this.pnlKeywords.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.ChkCheckCodeType.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.pnlKeywords.BorderStyle = Asa.FaceControl.ControlShape.Rectangle; this.ChkCheckCodeType.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.pnlKeywords.BorderWidth = 2; this.ChkCheckCodeType.BorderWidth = 0;
this.pnlKeywords.Controls.Add(this.flowLayoutPanel1); this.ChkCheckCodeType.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlKeywords.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkCheckCodeType.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pnlKeywords.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkCheckCodeType.Location = new System.Drawing.Point(4, 4);
this.pnlKeywords.Location = new System.Drawing.Point(3, 3); this.ChkCheckCodeType.Margin = new System.Windows.Forms.Padding(4);
this.pnlKeywords.Name = "pnlKeywords"; this.ChkCheckCodeType.Name = "ChkCheckCodeType";
this.pnlKeywords.Padding = new System.Windows.Forms.Padding(3); this.ChkCheckCodeType.Padding = new System.Windows.Forms.Padding(4);
this.pnlKeywords.Size = new System.Drawing.Size(489, 179); this.ChkCheckCodeType.Size = new System.Drawing.Size(112, 48);
this.pnlKeywords.TabIndex = 32; this.ChkCheckCodeType.TabIndex = 52;
this.pnlKeywords.Text = "关键字"; this.ChkCheckCodeType.Text = "CheckCodeType";
this.pnlKeywords.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.ChkCheckCodeType.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.pnlKeywords.TitleFont = new System.Drawing.Font("宋体", 12F); this.ChkCheckCodeType.CheckedChanged += new System.EventHandler(this.matchChanged);
// //
// tableLayoutPanel2 // NudMiddleTextCount
// //
this.tableLayoutPanel2.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.NudMiddleTextCount.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
| System.Windows.Forms.AnchorStyles.Left) this.NudMiddleTextCount.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
| System.Windows.Forms.AnchorStyles.Right))); this.NudMiddleTextCount.BorderWidth = 2;
this.tableLayoutPanel2.ColumnCount = 2; this.NudMiddleTextCount.DecimalPlaces = 0;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.NudMiddleTextCount.Dock = System.Windows.Forms.DockStyle.Fill;
this.tableLayoutPanel2.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.NudMiddleTextCount.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel3, 1, 0); this.NudMiddleTextCount.Increment = 1F;
this.tableLayoutPanel2.Controls.Add(this.tableLayoutPanel4, 0, 0); this.NudMiddleTextCount.Location = new System.Drawing.Point(4, 172);
this.tableLayoutPanel2.Location = new System.Drawing.Point(11, 59); this.NudMiddleTextCount.Margin = new System.Windows.Forms.Padding(4);
this.tableLayoutPanel2.Name = "tableLayoutPanel2"; this.NudMiddleTextCount.Maximum = 9999F;
this.tableLayoutPanel2.RowCount = 1; this.NudMiddleTextCount.Minimum = 1F;
this.tableLayoutPanel2.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F)); this.NudMiddleTextCount.Name = "NudMiddleTextCount";
this.tableLayoutPanel2.Size = new System.Drawing.Size(1002, 624); this.NudMiddleTextCount.Padding = new System.Windows.Forms.Padding(4);
this.tableLayoutPanel2.TabIndex = 33; this.NudMiddleTextCount.Size = new System.Drawing.Size(112, 56);
this.NudMiddleTextCount.TabIndex = 62;
this.NudMiddleTextCount.Text = "1";
this.NudMiddleTextCount.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
this.NudMiddleTextCount.Value = 1F;
this.NudMiddleTextCount.ValueChanged += new System.EventHandler(this.matchChanged);
// //
// tableLayoutPanel3 // tableLayoutPanel1
// //
this.tableLayoutPanel3.ColumnCount = 1; this.tableLayoutPanel1.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
this.tableLayoutPanel3.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); | System.Windows.Forms.AnchorStyles.Left)
this.tableLayoutPanel3.Controls.Add(this.pnlKeywords, 0, 0); | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel3.Controls.Add(this.PnlTemp, 0, 1); this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel3.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel3.Location = new System.Drawing.Point(504, 3); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel3.Name = "tableLayoutPanel3"; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel3.RowCount = 2; this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F));
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 30F)); this.tableLayoutPanel1.Controls.Add(this.NudMiddleTextCount, 0, 3);
this.tableLayoutPanel3.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 70F)); this.tableLayoutPanel1.Controls.Add(this.ChkCheckCodeType, 0, 0);
this.tableLayoutPanel3.Size = new System.Drawing.Size(495, 618); this.tableLayoutPanel1.Controls.Add(this.LblCodeType, 1, 0);
this.tableLayoutPanel3.TabIndex = 32; this.tableLayoutPanel1.Controls.Add(this.ChkMatchingStart, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.TxtMatchingStartText, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.ChkMatchingEnd, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.TxtMatchingEndText, 3, 1);
this.tableLayoutPanel1.Controls.Add(this.ChkMatchingMiddle, 0, 2);
this.tableLayoutPanel1.Controls.Add(this.TxtMatchingMiddleText, 1, 2);
this.tableLayoutPanel1.Controls.Add(this.ChkCaseSensitivity, 2, 2);
this.tableLayoutPanel1.Controls.Add(this.ChoMatchMiddleType, 0, 3);
this.tableLayoutPanel1.Controls.Add(this.lblMatchRes, 3, 3);
this.tableLayoutPanel1.Controls.Add(this.Characteristicbarcode, 3, 2);
this.tableLayoutPanel1.Location = new System.Drawing.Point(3, 36);
this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 4;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 56F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(483, 232);
this.tableLayoutPanel1.TabIndex = 0;
// //
// tableLayoutPanel4 // tableLayoutPanel6
// //
this.tableLayoutPanel4.ColumnCount = 1; this.tableLayoutPanel6.ColumnCount = 1;
this.tableLayoutPanel4.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel6.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel4.Controls.Add(this.pnlRawCode, 0, 0); this.tableLayoutPanel6.Controls.Add(this.BtnDel, 0, 1);
this.tableLayoutPanel4.Controls.Add(this.pnlMatch, 0, 1); this.tableLayoutPanel6.Controls.Add(this.BtnAdd, 0, 0);
this.tableLayoutPanel4.Dock = System.Windows.Forms.DockStyle.Fill; this.tableLayoutPanel6.Location = new System.Drawing.Point(410, 3);
this.tableLayoutPanel4.Location = new System.Drawing.Point(3, 3); this.tableLayoutPanel6.Name = "tableLayoutPanel6";
this.tableLayoutPanel4.Name = "tableLayoutPanel4"; this.tableLayoutPanel6.RowCount = 2;
this.tableLayoutPanel4.RowCount = 2; this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 100F)); this.tableLayoutPanel6.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Percent, 50F));
this.tableLayoutPanel4.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 277F)); this.tableLayoutPanel6.Size = new System.Drawing.Size(64, 134);
this.tableLayoutPanel4.Size = new System.Drawing.Size(495, 618); this.tableLayoutPanel6.TabIndex = 30;
this.tableLayoutPanel4.TabIndex = 33;
// //
// FrmCodeExtract // FrmCodeExtract
// //
...@@ -516,12 +585,14 @@ namespace SmartScan ...@@ -516,12 +585,14 @@ namespace SmartScan
this.Controls.SetChildIndex(this.BtnCancel, 0); this.Controls.SetChildIndex(this.BtnCancel, 0);
this.Controls.SetChildIndex(this.tableLayoutPanel2, 0); this.Controls.SetChildIndex(this.tableLayoutPanel2, 0);
this.pnlMatch.ResumeLayout(false); this.pnlMatch.ResumeLayout(false);
this.tableLayoutPanel1.ResumeLayout(false);
this.pnlRawCode.ResumeLayout(false); this.pnlRawCode.ResumeLayout(false);
this.pnlKeywords.ResumeLayout(false); this.pnlKeywords.ResumeLayout(false);
this.tableLayoutPanel2.ResumeLayout(false); this.tableLayoutPanel2.ResumeLayout(false);
this.tableLayoutPanel3.ResumeLayout(false); this.tableLayoutPanel3.ResumeLayout(false);
this.tableLayoutPanel4.ResumeLayout(false); this.tableLayoutPanel4.ResumeLayout(false);
this.tableLayoutPanel5.ResumeLayout(false);
this.tableLayoutPanel1.ResumeLayout(false);
this.tableLayoutPanel6.ResumeLayout(false);
this.ResumeLayout(false); this.ResumeLayout(false);
} }
...@@ -532,7 +603,16 @@ namespace SmartScan ...@@ -532,7 +603,16 @@ namespace SmartScan
private Asa.FaceControl.FacePanel PnlTemp; private Asa.FaceControl.FacePanel PnlTemp;
private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1; private System.Windows.Forms.FlowLayoutPanel flowLayoutPanel1;
private Asa.FaceControl.FacePanel pnlMatch; private Asa.FaceControl.FacePanel pnlMatch;
private Asa.FaceControl.FacePanel pnlRawCode;
private Asa.FaceControl.FacePanel pnlKeywords;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;
private System.Windows.Forms.RichTextBox richTextBox1;
private Asa.FaceControl.FaceButton BtnAdd;
private Asa.FaceControl.FaceButton BtnDel;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private Asa.FaceControl.FaceNumericUpDown NudMiddleTextCount;
private Asa.FaceControl.FaceCheckBox ChkCheckCodeType; private Asa.FaceControl.FaceCheckBox ChkCheckCodeType;
private Asa.FaceControl.FaceLabel LblCodeType; private Asa.FaceControl.FaceLabel LblCodeType;
private Asa.FaceControl.FaceCheckBox ChkMatchingStart; private Asa.FaceControl.FaceCheckBox ChkMatchingStart;
...@@ -543,14 +623,9 @@ namespace SmartScan ...@@ -543,14 +623,9 @@ namespace SmartScan
private Asa.FaceControl.FaceTextBox TxtMatchingMiddleText; private Asa.FaceControl.FaceTextBox TxtMatchingMiddleText;
private Asa.FaceControl.FaceCheckBox ChkCaseSensitivity; private Asa.FaceControl.FaceCheckBox ChkCaseSensitivity;
private Asa.FaceControl.FaceComboBox ChoMatchMiddleType; private Asa.FaceControl.FaceComboBox ChoMatchMiddleType;
private Asa.FaceControl.FaceNumericUpDown NudMiddleTextCount;
private Asa.FaceControl.FaceLabel lblMatchRes; private Asa.FaceControl.FaceLabel lblMatchRes;
private Asa.FaceControl.FacePanel pnlRawCode;
private Asa.FaceControl.FacePanel pnlKeywords;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel2;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel3;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel4;
private System.Windows.Forms.RichTextBox richTextBox1;
private Asa.FaceControl.FaceCheckBox Characteristicbarcode; private Asa.FaceControl.FaceCheckBox Characteristicbarcode;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel5;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel6;
} }
} }
\ No newline at end of file \ No newline at end of file
...@@ -34,7 +34,6 @@ namespace SmartScan ...@@ -34,7 +34,6 @@ namespace SmartScan
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.CboKeyword = new Asa.FaceControl.FaceComboBox(); this.CboKeyword = new Asa.FaceControl.FaceComboBox();
this.ChkMatchingSplit = new Asa.FaceControl.FaceCheckBox(); this.ChkMatchingSplit = new Asa.FaceControl.FaceCheckBox();
this.BtnAdd = new Asa.FaceControl.FaceButton();
this.NudMaxLength = new Asa.FaceControl.FaceNumericUpDown(); this.NudMaxLength = new Asa.FaceControl.FaceNumericUpDown();
this.ChkMaxLength = new Asa.FaceControl.FaceCheckBox(); this.ChkMaxLength = new Asa.FaceControl.FaceCheckBox();
this.NudMinLength = new Asa.FaceControl.FaceNumericUpDown(); this.NudMinLength = new Asa.FaceControl.FaceNumericUpDown();
...@@ -48,7 +47,6 @@ namespace SmartScan ...@@ -48,7 +47,6 @@ namespace SmartScan
this.LblSplitPart = new Asa.FaceControl.FaceLabel(); this.LblSplitPart = new Asa.FaceControl.FaceLabel();
this.CboMatchingSplit = new Asa.FaceControl.FaceComboBox(); this.CboMatchingSplit = new Asa.FaceControl.FaceComboBox();
this.ChkLengthEnd = new Asa.FaceControl.FaceCheckBox(); this.ChkLengthEnd = new Asa.FaceControl.FaceCheckBox();
this.BtnDel = new Asa.FaceControl.FaceButton();
this.ChkMatchisnumber = new Asa.FaceControl.FaceCheckBox(); this.ChkMatchisnumber = new Asa.FaceControl.FaceCheckBox();
this.pnlParseResult = new Asa.FaceControl.FacePanel(); this.pnlParseResult = new Asa.FaceControl.FacePanel();
this.faceTextBox1 = new Asa.FaceControl.FaceTextBox(); this.faceTextBox1 = new Asa.FaceControl.FaceTextBox();
...@@ -69,7 +67,7 @@ namespace SmartScan ...@@ -69,7 +67,7 @@ namespace SmartScan
this.facePanel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.facePanel1.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.facePanel1.Location = new System.Drawing.Point(0, 0); this.facePanel1.Location = new System.Drawing.Point(0, 0);
this.facePanel1.Name = "facePanel1"; this.facePanel1.Name = "facePanel1";
this.facePanel1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.facePanel1.Padding = new System.Windows.Forms.Padding(3);
this.facePanel1.ShowText = false; this.facePanel1.ShowText = false;
this.facePanel1.Size = new System.Drawing.Size(523, 432); this.facePanel1.Size = new System.Drawing.Size(523, 432);
this.facePanel1.TabIndex = 0; this.facePanel1.TabIndex = 0;
...@@ -86,7 +84,7 @@ namespace SmartScan ...@@ -86,7 +84,7 @@ namespace SmartScan
this.pnlExtractRule.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.pnlExtractRule.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pnlExtractRule.Location = new System.Drawing.Point(3, 84); this.pnlExtractRule.Location = new System.Drawing.Point(3, 84);
this.pnlExtractRule.Name = "pnlExtractRule"; this.pnlExtractRule.Name = "pnlExtractRule";
this.pnlExtractRule.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.pnlExtractRule.Padding = new System.Windows.Forms.Padding(3);
this.pnlExtractRule.Size = new System.Drawing.Size(517, 345); this.pnlExtractRule.Size = new System.Drawing.Size(517, 345);
this.pnlExtractRule.TabIndex = 46; this.pnlExtractRule.TabIndex = 46;
this.pnlExtractRule.Text = "提取"; this.pnlExtractRule.Text = "提取";
...@@ -98,13 +96,12 @@ namespace SmartScan ...@@ -98,13 +96,12 @@ namespace SmartScan
| System.Windows.Forms.AnchorStyles.Left) | System.Windows.Forms.AnchorStyles.Left)
| System.Windows.Forms.AnchorStyles.Right))); | System.Windows.Forms.AnchorStyles.Right)));
this.tableLayoutPanel1.ColumnCount = 4; this.tableLayoutPanel1.ColumnCount = 4;
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 30F));
this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 25F)); this.tableLayoutPanel1.ColumnStyles.Add(new System.Windows.Forms.ColumnStyle(System.Windows.Forms.SizeType.Percent, 20F));
this.tableLayoutPanel1.Controls.Add(this.CboKeyword, 3, 0); this.tableLayoutPanel1.Controls.Add(this.CboKeyword, 3, 0);
this.tableLayoutPanel1.Controls.Add(this.ChkMatchingSplit, 0, 1); this.tableLayoutPanel1.Controls.Add(this.ChkMatchingSplit, 0, 1);
this.tableLayoutPanel1.Controls.Add(this.BtnAdd, 0, 5);
this.tableLayoutPanel1.Controls.Add(this.NudMaxLength, 3, 4); this.tableLayoutPanel1.Controls.Add(this.NudMaxLength, 3, 4);
this.tableLayoutPanel1.Controls.Add(this.ChkMaxLength, 2, 4); this.tableLayoutPanel1.Controls.Add(this.ChkMaxLength, 2, 4);
this.tableLayoutPanel1.Controls.Add(this.NudMinLength, 1, 4); this.tableLayoutPanel1.Controls.Add(this.NudMinLength, 1, 4);
...@@ -118,18 +115,16 @@ namespace SmartScan ...@@ -118,18 +115,16 @@ namespace SmartScan
this.tableLayoutPanel1.Controls.Add(this.LblSplitPart, 2, 1); this.tableLayoutPanel1.Controls.Add(this.LblSplitPart, 2, 1);
this.tableLayoutPanel1.Controls.Add(this.CboMatchingSplit, 1, 1); this.tableLayoutPanel1.Controls.Add(this.CboMatchingSplit, 1, 1);
this.tableLayoutPanel1.Controls.Add(this.ChkLengthEnd, 2, 3); this.tableLayoutPanel1.Controls.Add(this.ChkLengthEnd, 2, 3);
this.tableLayoutPanel1.Controls.Add(this.BtnDel, 3, 5);
this.tableLayoutPanel1.Controls.Add(this.ChkMatchisnumber, 0, 3); this.tableLayoutPanel1.Controls.Add(this.ChkMatchisnumber, 0, 3);
this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 33); this.tableLayoutPanel1.Location = new System.Drawing.Point(2, 33);
this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3); this.tableLayoutPanel1.Margin = new System.Windows.Forms.Padding(2, 3, 2, 3);
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 6; this.tableLayoutPanel1.RowCount = 5;
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 45F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 55F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 45F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 55F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 45F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 55F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 45F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 55F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 45F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 55F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 45F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(511, 300); this.tableLayoutPanel1.Size = new System.Drawing.Size(511, 300);
this.tableLayoutPanel1.TabIndex = 44; this.tableLayoutPanel1.TabIndex = 44;
// //
...@@ -140,12 +135,12 @@ namespace SmartScan ...@@ -140,12 +135,12 @@ namespace SmartScan
this.CboKeyword.BorderWidth = 2; this.CboKeyword.BorderWidth = 2;
this.CboKeyword.Dock = System.Windows.Forms.DockStyle.Fill; this.CboKeyword.Dock = System.Windows.Forms.DockStyle.Fill;
this.CboKeyword.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.CboKeyword.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.CboKeyword.Location = new System.Drawing.Point(384, 3); this.CboKeyword.Location = new System.Drawing.Point(411, 3);
this.CboKeyword.Name = "CboKeyword"; this.CboKeyword.Name = "CboKeyword";
this.CboKeyword.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.CboKeyword.Padding = new System.Windows.Forms.Padding(3);
this.CboKeyword.SelectedIndex = -1; this.CboKeyword.SelectedIndex = -1;
this.CboKeyword.SelectedText = ""; this.CboKeyword.SelectedText = "";
this.CboKeyword.Size = new System.Drawing.Size(124, 39); this.CboKeyword.Size = new System.Drawing.Size(97, 49);
this.CboKeyword.TabIndex = 39; this.CboKeyword.TabIndex = 39;
this.CboKeyword.Text = "faceComboBox1"; this.CboKeyword.Text = "faceComboBox1";
this.CboKeyword.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.CboKeyword.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
...@@ -158,31 +153,15 @@ namespace SmartScan ...@@ -158,31 +153,15 @@ namespace SmartScan
this.ChkMatchingSplit.BorderWidth = 0; this.ChkMatchingSplit.BorderWidth = 0;
this.ChkMatchingSplit.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkMatchingSplit.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkMatchingSplit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkMatchingSplit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkMatchingSplit.Location = new System.Drawing.Point(3, 48); this.ChkMatchingSplit.Location = new System.Drawing.Point(3, 58);
this.ChkMatchingSplit.Name = "ChkMatchingSplit"; this.ChkMatchingSplit.Name = "ChkMatchingSplit";
this.ChkMatchingSplit.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.ChkMatchingSplit.Padding = new System.Windows.Forms.Padding(3);
this.ChkMatchingSplit.Size = new System.Drawing.Size(121, 39); this.ChkMatchingSplit.Size = new System.Drawing.Size(147, 49);
this.ChkMatchingSplit.TabIndex = 44; this.ChkMatchingSplit.TabIndex = 44;
this.ChkMatchingSplit.Text = "Split"; this.ChkMatchingSplit.Text = "Split";
this.ChkMatchingSplit.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.ChkMatchingSplit.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
this.ChkMatchingSplit.CheckedChanged += new System.EventHandler(this.ChkMatchingSplit_CheckedChanged); this.ChkMatchingSplit.CheckedChanged += new System.EventHandler(this.ChkMatchingSplit_CheckedChanged);
// //
// BtnAdd
//
this.BtnAdd.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnAdd.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnAdd.BorderWidth = 2;
this.BtnAdd.Dock = System.Windows.Forms.DockStyle.Fill;
this.BtnAdd.ForeColor = System.Drawing.Color.DeepSkyBlue;
this.BtnAdd.HoldPress = false;
this.BtnAdd.Location = new System.Drawing.Point(3, 228);
this.BtnAdd.Name = "BtnAdd";
this.BtnAdd.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
this.BtnAdd.Size = new System.Drawing.Size(121, 69);
this.BtnAdd.TabIndex = 54;
this.BtnAdd.Text = "Add";
this.BtnAdd.Click += new System.EventHandler(this.BtnAdd_Click);
//
// NudMaxLength // NudMaxLength
// //
this.NudMaxLength.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.NudMaxLength.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
...@@ -192,12 +171,12 @@ namespace SmartScan ...@@ -192,12 +171,12 @@ namespace SmartScan
this.NudMaxLength.Dock = System.Windows.Forms.DockStyle.Fill; this.NudMaxLength.Dock = System.Windows.Forms.DockStyle.Fill;
this.NudMaxLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.NudMaxLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.NudMaxLength.Increment = 1F; this.NudMaxLength.Increment = 1F;
this.NudMaxLength.Location = new System.Drawing.Point(384, 183); this.NudMaxLength.Location = new System.Drawing.Point(411, 223);
this.NudMaxLength.Maximum = 9999F; this.NudMaxLength.Maximum = 9999F;
this.NudMaxLength.Minimum = 0F; this.NudMaxLength.Minimum = 0F;
this.NudMaxLength.Name = "NudMaxLength"; this.NudMaxLength.Name = "NudMaxLength";
this.NudMaxLength.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.NudMaxLength.Padding = new System.Windows.Forms.Padding(3);
this.NudMaxLength.Size = new System.Drawing.Size(124, 39); this.NudMaxLength.Size = new System.Drawing.Size(97, 74);
this.NudMaxLength.TabIndex = 35; this.NudMaxLength.TabIndex = 35;
this.NudMaxLength.Text = "0"; this.NudMaxLength.Text = "0";
this.NudMaxLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NudMaxLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
...@@ -211,10 +190,10 @@ namespace SmartScan ...@@ -211,10 +190,10 @@ namespace SmartScan
this.ChkMaxLength.BorderWidth = 0; this.ChkMaxLength.BorderWidth = 0;
this.ChkMaxLength.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkMaxLength.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkMaxLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkMaxLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkMaxLength.Location = new System.Drawing.Point(257, 183); this.ChkMaxLength.Location = new System.Drawing.Point(258, 223);
this.ChkMaxLength.Name = "ChkMaxLength"; this.ChkMaxLength.Name = "ChkMaxLength";
this.ChkMaxLength.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.ChkMaxLength.Padding = new System.Windows.Forms.Padding(3);
this.ChkMaxLength.Size = new System.Drawing.Size(121, 39); this.ChkMaxLength.Size = new System.Drawing.Size(147, 74);
this.ChkMaxLength.TabIndex = 30; this.ChkMaxLength.TabIndex = 30;
this.ChkMaxLength.Text = "Max"; this.ChkMaxLength.Text = "Max";
this.ChkMaxLength.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkMaxLength.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
...@@ -229,12 +208,12 @@ namespace SmartScan ...@@ -229,12 +208,12 @@ namespace SmartScan
this.NudMinLength.Dock = System.Windows.Forms.DockStyle.Fill; this.NudMinLength.Dock = System.Windows.Forms.DockStyle.Fill;
this.NudMinLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.NudMinLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.NudMinLength.Increment = 1F; this.NudMinLength.Increment = 1F;
this.NudMinLength.Location = new System.Drawing.Point(130, 183); this.NudMinLength.Location = new System.Drawing.Point(156, 223);
this.NudMinLength.Maximum = 9999F; this.NudMinLength.Maximum = 9999F;
this.NudMinLength.Minimum = 0F; this.NudMinLength.Minimum = 0F;
this.NudMinLength.Name = "NudMinLength"; this.NudMinLength.Name = "NudMinLength";
this.NudMinLength.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.NudMinLength.Padding = new System.Windows.Forms.Padding(3);
this.NudMinLength.Size = new System.Drawing.Size(121, 39); this.NudMinLength.Size = new System.Drawing.Size(96, 74);
this.NudMinLength.TabIndex = 34; this.NudMinLength.TabIndex = 34;
this.NudMinLength.Text = "0"; this.NudMinLength.Text = "0";
this.NudMinLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NudMinLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
...@@ -248,10 +227,10 @@ namespace SmartScan ...@@ -248,10 +227,10 @@ namespace SmartScan
this.ChkMinLength.BorderWidth = 0; this.ChkMinLength.BorderWidth = 0;
this.ChkMinLength.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkMinLength.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkMinLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkMinLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkMinLength.Location = new System.Drawing.Point(3, 183); this.ChkMinLength.Location = new System.Drawing.Point(3, 223);
this.ChkMinLength.Name = "ChkMinLength"; this.ChkMinLength.Name = "ChkMinLength";
this.ChkMinLength.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.ChkMinLength.Padding = new System.Windows.Forms.Padding(3);
this.ChkMinLength.Size = new System.Drawing.Size(121, 39); this.ChkMinLength.Size = new System.Drawing.Size(147, 74);
this.ChkMinLength.TabIndex = 29; this.ChkMinLength.TabIndex = 29;
this.ChkMinLength.Text = "Min"; this.ChkMinLength.Text = "Min";
this.ChkMinLength.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkMinLength.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
...@@ -266,12 +245,12 @@ namespace SmartScan ...@@ -266,12 +245,12 @@ namespace SmartScan
this.NudSplitPart.Dock = System.Windows.Forms.DockStyle.Fill; this.NudSplitPart.Dock = System.Windows.Forms.DockStyle.Fill;
this.NudSplitPart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.NudSplitPart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.NudSplitPart.Increment = 1F; this.NudSplitPart.Increment = 1F;
this.NudSplitPart.Location = new System.Drawing.Point(384, 48); this.NudSplitPart.Location = new System.Drawing.Point(411, 58);
this.NudSplitPart.Maximum = 9999F; this.NudSplitPart.Maximum = 9999F;
this.NudSplitPart.Minimum = 1F; this.NudSplitPart.Minimum = 1F;
this.NudSplitPart.Name = "NudSplitPart"; this.NudSplitPart.Name = "NudSplitPart";
this.NudSplitPart.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.NudSplitPart.Padding = new System.Windows.Forms.Padding(3);
this.NudSplitPart.Size = new System.Drawing.Size(124, 39); this.NudSplitPart.Size = new System.Drawing.Size(97, 49);
this.NudSplitPart.TabIndex = 47; this.NudSplitPart.TabIndex = 47;
this.NudSplitPart.Text = "1"; this.NudSplitPart.Text = "1";
this.NudSplitPart.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NudSplitPart.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
...@@ -287,12 +266,12 @@ namespace SmartScan ...@@ -287,12 +266,12 @@ namespace SmartScan
this.NudLength.Dock = System.Windows.Forms.DockStyle.Fill; this.NudLength.Dock = System.Windows.Forms.DockStyle.Fill;
this.NudLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.NudLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.NudLength.Increment = 1F; this.NudLength.Increment = 1F;
this.NudLength.Location = new System.Drawing.Point(384, 93); this.NudLength.Location = new System.Drawing.Point(411, 113);
this.NudLength.Maximum = 9999F; this.NudLength.Maximum = 9999F;
this.NudLength.Minimum = 1F; this.NudLength.Minimum = 1F;
this.NudLength.Name = "NudLength"; this.NudLength.Name = "NudLength";
this.NudLength.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.NudLength.Padding = new System.Windows.Forms.Padding(3);
this.NudLength.Size = new System.Drawing.Size(124, 39); this.NudLength.Size = new System.Drawing.Size(97, 49);
this.NudLength.TabIndex = 41; this.NudLength.TabIndex = 41;
this.NudLength.Text = "1"; this.NudLength.Text = "1";
this.NudLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NudLength.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
...@@ -306,10 +285,10 @@ namespace SmartScan ...@@ -306,10 +285,10 @@ namespace SmartScan
this.LblStart.BorderWidth = 0; this.LblStart.BorderWidth = 0;
this.LblStart.Dock = System.Windows.Forms.DockStyle.Fill; this.LblStart.Dock = System.Windows.Forms.DockStyle.Fill;
this.LblStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.LblStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LblStart.Location = new System.Drawing.Point(3, 93); this.LblStart.Location = new System.Drawing.Point(3, 113);
this.LblStart.Name = "LblStart"; this.LblStart.Name = "LblStart";
this.LblStart.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.LblStart.Padding = new System.Windows.Forms.Padding(3);
this.LblStart.Size = new System.Drawing.Size(121, 39); this.LblStart.Size = new System.Drawing.Size(147, 49);
this.LblStart.TabIndex = 37; this.LblStart.TabIndex = 37;
this.LblStart.Text = "起始"; this.LblStart.Text = "起始";
this.LblStart.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.LblStart.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
...@@ -321,10 +300,10 @@ namespace SmartScan ...@@ -321,10 +300,10 @@ namespace SmartScan
this.LblLength.BorderWidth = 0; this.LblLength.BorderWidth = 0;
this.LblLength.Dock = System.Windows.Forms.DockStyle.Fill; this.LblLength.Dock = System.Windows.Forms.DockStyle.Fill;
this.LblLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.LblLength.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LblLength.Location = new System.Drawing.Point(257, 93); this.LblLength.Location = new System.Drawing.Point(258, 113);
this.LblLength.Name = "LblLength"; this.LblLength.Name = "LblLength";
this.LblLength.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.LblLength.Padding = new System.Windows.Forms.Padding(3);
this.LblLength.Size = new System.Drawing.Size(121, 39); this.LblLength.Size = new System.Drawing.Size(147, 49);
this.LblLength.TabIndex = 38; this.LblLength.TabIndex = 38;
this.LblLength.Text = "长度"; this.LblLength.Text = "长度";
this.LblLength.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.LblLength.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
...@@ -338,12 +317,12 @@ namespace SmartScan ...@@ -338,12 +317,12 @@ namespace SmartScan
this.NudStart.Dock = System.Windows.Forms.DockStyle.Fill; this.NudStart.Dock = System.Windows.Forms.DockStyle.Fill;
this.NudStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.NudStart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.NudStart.Increment = 1F; this.NudStart.Increment = 1F;
this.NudStart.Location = new System.Drawing.Point(130, 93); this.NudStart.Location = new System.Drawing.Point(156, 113);
this.NudStart.Maximum = 9999F; this.NudStart.Maximum = 9999F;
this.NudStart.Minimum = 0F; this.NudStart.Minimum = 0F;
this.NudStart.Name = "NudStart"; this.NudStart.Name = "NudStart";
this.NudStart.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.NudStart.Padding = new System.Windows.Forms.Padding(3);
this.NudStart.Size = new System.Drawing.Size(121, 39); this.NudStart.Size = new System.Drawing.Size(96, 49);
this.NudStart.TabIndex = 40; this.NudStart.TabIndex = 40;
this.NudStart.Text = "0"; this.NudStart.Text = "0";
this.NudStart.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.NudStart.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
...@@ -357,10 +336,10 @@ namespace SmartScan ...@@ -357,10 +336,10 @@ namespace SmartScan
this.LblKeyword.BorderWidth = 0; this.LblKeyword.BorderWidth = 0;
this.LblKeyword.Dock = System.Windows.Forms.DockStyle.Fill; this.LblKeyword.Dock = System.Windows.Forms.DockStyle.Fill;
this.LblKeyword.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.LblKeyword.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LblKeyword.Location = new System.Drawing.Point(257, 3); this.LblKeyword.Location = new System.Drawing.Point(258, 3);
this.LblKeyword.Name = "LblKeyword"; this.LblKeyword.Name = "LblKeyword";
this.LblKeyword.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.LblKeyword.Padding = new System.Windows.Forms.Padding(3);
this.LblKeyword.Size = new System.Drawing.Size(121, 39); this.LblKeyword.Size = new System.Drawing.Size(147, 49);
this.LblKeyword.TabIndex = 36; this.LblKeyword.TabIndex = 36;
this.LblKeyword.Text = "key"; this.LblKeyword.Text = "key";
this.LblKeyword.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.LblKeyword.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
...@@ -372,10 +351,10 @@ namespace SmartScan ...@@ -372,10 +351,10 @@ namespace SmartScan
this.LblSplitPart.BorderWidth = 0; this.LblSplitPart.BorderWidth = 0;
this.LblSplitPart.Dock = System.Windows.Forms.DockStyle.Fill; this.LblSplitPart.Dock = System.Windows.Forms.DockStyle.Fill;
this.LblSplitPart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.LblSplitPart.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LblSplitPart.Location = new System.Drawing.Point(257, 48); this.LblSplitPart.Location = new System.Drawing.Point(258, 58);
this.LblSplitPart.Name = "LblSplitPart"; this.LblSplitPart.Name = "LblSplitPart";
this.LblSplitPart.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.LblSplitPart.Padding = new System.Windows.Forms.Padding(3);
this.LblSplitPart.Size = new System.Drawing.Size(121, 39); this.LblSplitPart.Size = new System.Drawing.Size(147, 49);
this.LblSplitPart.TabIndex = 46; this.LblSplitPart.TabIndex = 46;
this.LblSplitPart.Text = "Field"; this.LblSplitPart.Text = "Field";
this.LblSplitPart.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.LblSplitPart.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
...@@ -387,12 +366,12 @@ namespace SmartScan ...@@ -387,12 +366,12 @@ namespace SmartScan
this.CboMatchingSplit.BorderWidth = 2; this.CboMatchingSplit.BorderWidth = 2;
this.CboMatchingSplit.Dock = System.Windows.Forms.DockStyle.Fill; this.CboMatchingSplit.Dock = System.Windows.Forms.DockStyle.Fill;
this.CboMatchingSplit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.CboMatchingSplit.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.CboMatchingSplit.Location = new System.Drawing.Point(130, 48); this.CboMatchingSplit.Location = new System.Drawing.Point(156, 58);
this.CboMatchingSplit.Name = "CboMatchingSplit"; this.CboMatchingSplit.Name = "CboMatchingSplit";
this.CboMatchingSplit.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.CboMatchingSplit.Padding = new System.Windows.Forms.Padding(3);
this.CboMatchingSplit.SelectedIndex = -1; this.CboMatchingSplit.SelectedIndex = -1;
this.CboMatchingSplit.SelectedText = ""; this.CboMatchingSplit.SelectedText = "";
this.CboMatchingSplit.Size = new System.Drawing.Size(121, 39); this.CboMatchingSplit.Size = new System.Drawing.Size(96, 49);
this.CboMatchingSplit.TabIndex = 45; this.CboMatchingSplit.TabIndex = 45;
this.CboMatchingSplit.Text = "faceComboBox1"; this.CboMatchingSplit.Text = "faceComboBox1";
this.CboMatchingSplit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center; this.CboMatchingSplit.TextAlign = System.Windows.Forms.HorizontalAlignment.Center;
...@@ -407,31 +386,15 @@ namespace SmartScan ...@@ -407,31 +386,15 @@ namespace SmartScan
this.ChkLengthEnd.BorderWidth = 0; this.ChkLengthEnd.BorderWidth = 0;
this.ChkLengthEnd.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkLengthEnd.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkLengthEnd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkLengthEnd.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkLengthEnd.Location = new System.Drawing.Point(257, 138); this.ChkLengthEnd.Location = new System.Drawing.Point(258, 168);
this.ChkLengthEnd.Name = "ChkLengthEnd"; this.ChkLengthEnd.Name = "ChkLengthEnd";
this.ChkLengthEnd.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.ChkLengthEnd.Padding = new System.Windows.Forms.Padding(3);
this.ChkLengthEnd.Size = new System.Drawing.Size(121, 39); this.ChkLengthEnd.Size = new System.Drawing.Size(147, 49);
this.ChkLengthEnd.TabIndex = 42; this.ChkLengthEnd.TabIndex = 42;
this.ChkLengthEnd.Text = "faceCheckBox7"; this.ChkLengthEnd.Text = "faceCheckBox7";
this.ChkLengthEnd.TextAlign = System.Drawing.ContentAlignment.MiddleRight; this.ChkLengthEnd.TextAlign = System.Drawing.ContentAlignment.MiddleRight;
this.ChkLengthEnd.CheckedChanged += new System.EventHandler(this.ChkLengthEnd_CheckedChanged); this.ChkLengthEnd.CheckedChanged += new System.EventHandler(this.ChkLengthEnd_CheckedChanged);
// //
// BtnDel
//
this.BtnDel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.BtnDel.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.BtnDel.BorderWidth = 2;
this.BtnDel.Dock = System.Windows.Forms.DockStyle.Fill;
this.BtnDel.ForeColor = System.Drawing.Color.Red;
this.BtnDel.HoldPress = false;
this.BtnDel.Location = new System.Drawing.Point(384, 228);
this.BtnDel.Name = "BtnDel";
this.BtnDel.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3);
this.BtnDel.Size = new System.Drawing.Size(124, 69);
this.BtnDel.TabIndex = 43;
this.BtnDel.Text = "Del";
this.BtnDel.Click += new System.EventHandler(this.BtnDel_Click);
//
// ChkMatchisnumber // ChkMatchisnumber
// //
this.ChkMatchisnumber.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.ChkMatchisnumber.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
...@@ -439,10 +402,10 @@ namespace SmartScan ...@@ -439,10 +402,10 @@ namespace SmartScan
this.ChkMatchisnumber.BorderWidth = 0; this.ChkMatchisnumber.BorderWidth = 0;
this.ChkMatchisnumber.Dock = System.Windows.Forms.DockStyle.Fill; this.ChkMatchisnumber.Dock = System.Windows.Forms.DockStyle.Fill;
this.ChkMatchisnumber.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.ChkMatchisnumber.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.ChkMatchisnumber.Location = new System.Drawing.Point(3, 138); this.ChkMatchisnumber.Location = new System.Drawing.Point(3, 168);
this.ChkMatchisnumber.Name = "ChkMatchisnumber"; this.ChkMatchisnumber.Name = "ChkMatchisnumber";
this.ChkMatchisnumber.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.ChkMatchisnumber.Padding = new System.Windows.Forms.Padding(3);
this.ChkMatchisnumber.Size = new System.Drawing.Size(121, 39); this.ChkMatchisnumber.Size = new System.Drawing.Size(147, 49);
this.ChkMatchisnumber.TabIndex = 53; this.ChkMatchisnumber.TabIndex = 53;
this.ChkMatchisnumber.Text = "AsNumber"; this.ChkMatchisnumber.Text = "AsNumber";
this.ChkMatchisnumber.TextAlign = System.Drawing.ContentAlignment.MiddleLeft; this.ChkMatchisnumber.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
...@@ -457,7 +420,7 @@ namespace SmartScan ...@@ -457,7 +420,7 @@ namespace SmartScan
this.pnlParseResult.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.pnlParseResult.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pnlParseResult.Location = new System.Drawing.Point(3, 3); this.pnlParseResult.Location = new System.Drawing.Point(3, 3);
this.pnlParseResult.Name = "pnlParseResult"; this.pnlParseResult.Name = "pnlParseResult";
this.pnlParseResult.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.pnlParseResult.Padding = new System.Windows.Forms.Padding(3);
this.pnlParseResult.Size = new System.Drawing.Size(517, 81); this.pnlParseResult.Size = new System.Drawing.Size(517, 81);
this.pnlParseResult.TabIndex = 44; this.pnlParseResult.TabIndex = 44;
this.pnlParseResult.Text = "解析结果"; this.pnlParseResult.Text = "解析结果";
...@@ -476,7 +439,7 @@ namespace SmartScan ...@@ -476,7 +439,7 @@ namespace SmartScan
this.faceTextBox1.MaxLength = 32767; this.faceTextBox1.MaxLength = 32767;
this.faceTextBox1.Multiline = true; this.faceTextBox1.Multiline = true;
this.faceTextBox1.Name = "faceTextBox1"; this.faceTextBox1.Name = "faceTextBox1";
this.faceTextBox1.Padding = new System.Windows.Forms.Padding(3, 3, 3, 3); this.faceTextBox1.Padding = new System.Windows.Forms.Padding(3);
this.faceTextBox1.ReadOnly = true; this.faceTextBox1.ReadOnly = true;
this.faceTextBox1.SelectedText = ""; this.faceTextBox1.SelectedText = "";
this.faceTextBox1.SelectionLength = 0; this.faceTextBox1.SelectionLength = 0;
...@@ -516,7 +479,6 @@ namespace SmartScan ...@@ -516,7 +479,6 @@ namespace SmartScan
private Asa.FaceControl.FaceNumericUpDown NudMaxLength; private Asa.FaceControl.FaceNumericUpDown NudMaxLength;
private Asa.FaceControl.FaceCheckBox ChkMaxLength; private Asa.FaceControl.FaceCheckBox ChkMaxLength;
private Asa.FaceControl.FaceNumericUpDown NudMinLength; private Asa.FaceControl.FaceNumericUpDown NudMinLength;
private Asa.FaceControl.FaceButton BtnDel;
private Asa.FaceControl.FaceNumericUpDown NudSplitPart; private Asa.FaceControl.FaceNumericUpDown NudSplitPart;
private Asa.FaceControl.FaceLabel LblSplitPart; private Asa.FaceControl.FaceLabel LblSplitPart;
private Asa.FaceControl.FaceComboBox CboMatchingSplit; private Asa.FaceControl.FaceComboBox CboMatchingSplit;
...@@ -526,6 +488,5 @@ namespace SmartScan ...@@ -526,6 +488,5 @@ namespace SmartScan
private Asa.FaceControl.FacePanel pnlExtractRule; private Asa.FaceControl.FacePanel pnlExtractRule;
private Asa.FaceControl.FacePanel pnlParseResult; private Asa.FaceControl.FacePanel pnlParseResult;
private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1; private System.Windows.Forms.TableLayoutPanel tableLayoutPanel1;
private Asa.FaceControl.FaceButton BtnAdd;
} }
} }
...@@ -26,7 +26,9 @@ namespace SmartScan ...@@ -26,7 +26,9 @@ namespace SmartScan
changed = true; changed = true;
Language.SetLanguage(this); Language.SetLanguage(this);
//var name = LblSplitPart.Text.Trim();
//LblSplitPart.Text= "Field";
//LblSplitPart.Text = "获取分割部分";
this.codeText = codeText; this.codeText = codeText;
this.codeType = codeType; this.codeType = codeType;
CboKeyword.Items.AddRange(BLLCommon.macroKey.ToArray()); CboKeyword.Items.AddRange(BLLCommon.macroKey.ToArray());
......
...@@ -33,12 +33,12 @@ namespace SmartScan ...@@ -33,12 +33,12 @@ namespace SmartScan
this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel5 = new System.Windows.Forms.TableLayoutPanel();
this.pnlPrintTmpLst = new Asa.FaceControl.FacePanel(); this.pnlPrintTmpLst = new Asa.FaceControl.FacePanel();
this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel1 = new System.Windows.Forms.TableLayoutPanel();
this.LstLabel = new Asa.FaceControl.FaceListBox();
this.pnlPrintTmpLstOp = new Asa.FaceControl.FacePanel(); this.pnlPrintTmpLstOp = new Asa.FaceControl.FacePanel();
this.BtnAddLabel = new Asa.FaceControl.FaceButton(); this.BtnAddLabel = new Asa.FaceControl.FaceButton();
this.BtnDelLabel = new Asa.FaceControl.FaceButton(); this.BtnDelLabel = new Asa.FaceControl.FaceButton();
this.BtnCopyLabel = new Asa.FaceControl.FaceButton(); this.BtnCopyLabel = new Asa.FaceControl.FaceButton();
this.BtnRenameLabel = new Asa.FaceControl.FaceButton(); this.BtnRenameLabel = new Asa.FaceControl.FaceButton();
this.LstLabel = new Asa.FaceControl.FaceListBox();
this.pnLabelStyle = new Asa.FaceControl.FacePanel(); this.pnLabelStyle = new Asa.FaceControl.FacePanel();
this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel(); this.tableLayoutPanel2 = new System.Windows.Forms.TableLayoutPanel();
this.pnAllFieldsOfLabel = new Asa.FaceControl.FacePanel(); this.pnAllFieldsOfLabel = new Asa.FaceControl.FacePanel();
...@@ -142,10 +142,25 @@ namespace SmartScan ...@@ -142,10 +142,25 @@ namespace SmartScan
this.tableLayoutPanel1.Name = "tableLayoutPanel1"; this.tableLayoutPanel1.Name = "tableLayoutPanel1";
this.tableLayoutPanel1.RowCount = 2; 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(System.Windows.Forms.SizeType.Percent, 100F));
this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 130F)); this.tableLayoutPanel1.RowStyles.Add(new System.Windows.Forms.RowStyle(System.Windows.Forms.SizeType.Absolute, 145F));
this.tableLayoutPanel1.Size = new System.Drawing.Size(460, 635); this.tableLayoutPanel1.Size = new System.Drawing.Size(460, 635);
this.tableLayoutPanel1.TabIndex = 0; this.tableLayoutPanel1.TabIndex = 0;
// //
// LstLabel
//
this.LstLabel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.LstLabel.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.LstLabel.BorderWidth = 2;
this.LstLabel.Dock = System.Windows.Forms.DockStyle.Fill;
this.LstLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LstLabel.Location = new System.Drawing.Point(3, 3);
this.LstLabel.Name = "LstLabel";
this.LstLabel.Padding = new System.Windows.Forms.Padding(3);
this.LstLabel.SelectedIndex = -1;
this.LstLabel.Size = new System.Drawing.Size(454, 484);
this.LstLabel.TabIndex = 0;
this.LstLabel.SelectedIndexChanged += new System.EventHandler(this.LstLabel_SelectedIndexChanged);
//
// pnlPrintTmpLstOp // pnlPrintTmpLstOp
// //
this.pnlPrintTmpLstOp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20))))); this.pnlPrintTmpLstOp.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
...@@ -157,11 +172,11 @@ namespace SmartScan ...@@ -157,11 +172,11 @@ namespace SmartScan
this.pnlPrintTmpLstOp.Controls.Add(this.BtnRenameLabel); this.pnlPrintTmpLstOp.Controls.Add(this.BtnRenameLabel);
this.pnlPrintTmpLstOp.Dock = System.Windows.Forms.DockStyle.Fill; this.pnlPrintTmpLstOp.Dock = System.Windows.Forms.DockStyle.Fill;
this.pnlPrintTmpLstOp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230))))); this.pnlPrintTmpLstOp.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.pnlPrintTmpLstOp.Location = new System.Drawing.Point(2, 507); this.pnlPrintTmpLstOp.Location = new System.Drawing.Point(2, 492);
this.pnlPrintTmpLstOp.Margin = new System.Windows.Forms.Padding(2); this.pnlPrintTmpLstOp.Margin = new System.Windows.Forms.Padding(2);
this.pnlPrintTmpLstOp.Name = "pnlPrintTmpLstOp"; this.pnlPrintTmpLstOp.Name = "pnlPrintTmpLstOp";
this.pnlPrintTmpLstOp.Padding = new System.Windows.Forms.Padding(2); this.pnlPrintTmpLstOp.Padding = new System.Windows.Forms.Padding(2);
this.pnlPrintTmpLstOp.Size = new System.Drawing.Size(456, 126); this.pnlPrintTmpLstOp.Size = new System.Drawing.Size(456, 141);
this.pnlPrintTmpLstOp.TabIndex = 31; this.pnlPrintTmpLstOp.TabIndex = 31;
this.pnlPrintTmpLstOp.Text = "标签模板操作"; this.pnlPrintTmpLstOp.Text = "标签模板操作";
this.pnlPrintTmpLstOp.TitleFont = new System.Drawing.Font("宋体", 12F); this.pnlPrintTmpLstOp.TitleFont = new System.Drawing.Font("宋体", 12F);
...@@ -177,7 +192,7 @@ namespace SmartScan ...@@ -177,7 +192,7 @@ namespace SmartScan
this.BtnAddLabel.Location = new System.Drawing.Point(6, 34); this.BtnAddLabel.Location = new System.Drawing.Point(6, 34);
this.BtnAddLabel.Name = "BtnAddLabel"; this.BtnAddLabel.Name = "BtnAddLabel";
this.BtnAddLabel.Padding = new System.Windows.Forms.Padding(3); this.BtnAddLabel.Padding = new System.Windows.Forms.Padding(3);
this.BtnAddLabel.Size = new System.Drawing.Size(106, 85); this.BtnAddLabel.Size = new System.Drawing.Size(106, 98);
this.BtnAddLabel.TabIndex = 1; this.BtnAddLabel.TabIndex = 1;
this.BtnAddLabel.Text = "新建标签"; this.BtnAddLabel.Text = "新建标签";
this.BtnAddLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.BtnAddLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
...@@ -194,7 +209,7 @@ namespace SmartScan ...@@ -194,7 +209,7 @@ namespace SmartScan
this.BtnDelLabel.Location = new System.Drawing.Point(118, 34); this.BtnDelLabel.Location = new System.Drawing.Point(118, 34);
this.BtnDelLabel.Name = "BtnDelLabel"; this.BtnDelLabel.Name = "BtnDelLabel";
this.BtnDelLabel.Padding = new System.Windows.Forms.Padding(3); this.BtnDelLabel.Padding = new System.Windows.Forms.Padding(3);
this.BtnDelLabel.Size = new System.Drawing.Size(106, 85); this.BtnDelLabel.Size = new System.Drawing.Size(106, 98);
this.BtnDelLabel.TabIndex = 2; this.BtnDelLabel.TabIndex = 2;
this.BtnDelLabel.Text = "删除标签"; this.BtnDelLabel.Text = "删除标签";
this.BtnDelLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.BtnDelLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
...@@ -211,7 +226,7 @@ namespace SmartScan ...@@ -211,7 +226,7 @@ namespace SmartScan
this.BtnCopyLabel.Location = new System.Drawing.Point(231, 34); this.BtnCopyLabel.Location = new System.Drawing.Point(231, 34);
this.BtnCopyLabel.Name = "BtnCopyLabel"; this.BtnCopyLabel.Name = "BtnCopyLabel";
this.BtnCopyLabel.Padding = new System.Windows.Forms.Padding(3); this.BtnCopyLabel.Padding = new System.Windows.Forms.Padding(3);
this.BtnCopyLabel.Size = new System.Drawing.Size(106, 85); this.BtnCopyLabel.Size = new System.Drawing.Size(106, 98);
this.BtnCopyLabel.TabIndex = 23; this.BtnCopyLabel.TabIndex = 23;
this.BtnCopyLabel.Text = "复制标签"; this.BtnCopyLabel.Text = "复制标签";
this.BtnCopyLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.BtnCopyLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
...@@ -228,27 +243,12 @@ namespace SmartScan ...@@ -228,27 +243,12 @@ namespace SmartScan
this.BtnRenameLabel.Location = new System.Drawing.Point(344, 34); this.BtnRenameLabel.Location = new System.Drawing.Point(344, 34);
this.BtnRenameLabel.Name = "BtnRenameLabel"; this.BtnRenameLabel.Name = "BtnRenameLabel";
this.BtnRenameLabel.Padding = new System.Windows.Forms.Padding(3); this.BtnRenameLabel.Padding = new System.Windows.Forms.Padding(3);
this.BtnRenameLabel.Size = new System.Drawing.Size(106, 85); this.BtnRenameLabel.Size = new System.Drawing.Size(106, 98);
this.BtnRenameLabel.TabIndex = 3; this.BtnRenameLabel.TabIndex = 3;
this.BtnRenameLabel.Text = "重命名"; this.BtnRenameLabel.Text = "重命名";
this.BtnRenameLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText; this.BtnRenameLabel.TextImageRelation = System.Windows.Forms.TextImageRelation.ImageAboveText;
this.BtnRenameLabel.Click += new System.EventHandler(this.BtnRenameLabel_Click); this.BtnRenameLabel.Click += new System.EventHandler(this.BtnRenameLabel_Click);
// //
// LstLabel
//
this.LstLabel.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(20)))), ((int)(((byte)(20)))), ((int)(((byte)(20)))));
this.LstLabel.BorderStyle = Asa.FaceControl.ControlShape.Rectangle;
this.LstLabel.BorderWidth = 2;
this.LstLabel.Dock = System.Windows.Forms.DockStyle.Fill;
this.LstLabel.ForeColor = System.Drawing.Color.FromArgb(((int)(((byte)(230)))), ((int)(((byte)(230)))), ((int)(((byte)(230)))));
this.LstLabel.Location = new System.Drawing.Point(3, 3);
this.LstLabel.Name = "LstLabel";
this.LstLabel.Padding = new System.Windows.Forms.Padding(3);
this.LstLabel.SelectedIndex = -1;
this.LstLabel.Size = new System.Drawing.Size(454, 499);
this.LstLabel.TabIndex = 0;
this.LstLabel.SelectedIndexChanged += new System.EventHandler(this.LstLabel_SelectedIndexChanged);
//
// pnLabelStyle // pnLabelStyle
// //
this.pnLabelStyle.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) this.pnLabelStyle.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!