1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
using LB_VisionControl;
using System.Drawing;
using System.Windows.Forms;
 
namespace LB_SmartVision.Forms.Pages.BarcodeReaderPage
{
    partial class BarcodeReaderForm
    {
        /// <summary>
        /// Required designer variable.
        /// </summary>
        private System.ComponentModel.IContainer components = null;
 
        /// <summary>
        /// Clean up any resources being used.
        /// </summary>
        /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
        protected override void Dispose(bool disposing)
        {
            if (disposing && (components != null))
            {
                components.Dispose();
            }
            base.Dispose(disposing);
        }
 
        #region Windows Form Designer generated code
 
        /// <summary>
        /// Required method for Designer support - do not modify
        /// the contents of this method with the code editor.
        /// </summary>
        private void InitializeComponent()
        {
            uiGroupBoxImage = new GroupBox();
            uiGroupBoxControl = new GroupBox();
            uiGroupBoxResult = new GroupBox();
            uiComboBoxBrand = new ComboBox();
            uiLabel1 = new Label();
            uiRadioButtonSoftTrigger = new RadioButton();
            uiRadioButtonHardTrigger = new RadioButton();
            uiButtonStartGrabbing = new Button();
            uiButtonStopGrabbing = new Button();
            uiButtonSoftTrigger = new Button();
            uiListBoxBarcodes = new ListBox();
            uiTextBoxResult = new TextBox();
            uiLabel2 = new Label();
            uiButtonClear = new Button();
            uiGroupBoxImage.SuspendLayout();
            uiGroupBoxControl.SuspendLayout();
            uiGroupBoxResult.SuspendLayout();
            SuspendLayout();
            //
            // uiGroupBoxImage
            //
            uiGroupBoxImage.BackColor = Color.FromArgb(32, 41, 50);
            uiGroupBoxImage.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiGroupBoxImage.ForeColor = Color.White;
            uiGroupBoxImage.Location = new Point(12, 12);
            uiGroupBoxImage.Margin = new Padding(4, 5, 4, 5);
            uiGroupBoxImage.Name = "uiGroupBoxImage";
            uiGroupBoxImage.Padding = new Padding(4, 5, 4, 5);
            uiGroupBoxImage.Size = new Size(400, 400);
            uiGroupBoxImage.TabIndex = 0;
            uiGroupBoxImage.TabStop = false;
            uiGroupBoxImage.Text = "图像预览";
            //
            // uiGroupBoxControl
            //
            uiGroupBoxControl.BackColor = Color.FromArgb(32, 41, 50);
            uiGroupBoxControl.Controls.Add(uiButtonSoftTrigger);
            uiGroupBoxControl.Controls.Add(uiButtonStopGrabbing);
            uiGroupBoxControl.Controls.Add(uiButtonStartGrabbing);
            uiGroupBoxControl.Controls.Add(uiRadioButtonHardTrigger);
            uiGroupBoxControl.Controls.Add(uiRadioButtonSoftTrigger);
            uiGroupBoxControl.Controls.Add(uiComboBoxBrand);
            uiGroupBoxControl.Controls.Add(uiLabel1);
            uiGroupBoxControl.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiGroupBoxControl.ForeColor = Color.White;
            uiGroupBoxControl.Location = new Point(430, 12);
            uiGroupBoxControl.Margin = new Padding(4, 5, 4, 5);
            uiGroupBoxControl.Name = "uiGroupBoxControl";
            uiGroupBoxControl.Padding = new Padding(4, 5, 4, 5);
            uiGroupBoxControl.Size = new Size(350, 200);
            uiGroupBoxControl.TabIndex = 1;
            uiGroupBoxControl.TabStop = false;
            uiGroupBoxControl.Text = "控制面板";
            //
            // uiGroupBoxResult
            //
            uiGroupBoxResult.BackColor = Color.FromArgb(32, 41, 50);
            uiGroupBoxResult.Controls.Add(uiButtonClear);
            uiGroupBoxResult.Controls.Add(uiLabel2);
            uiGroupBoxResult.Controls.Add(uiTextBoxResult);
            uiGroupBoxResult.Controls.Add(uiListBoxBarcodes);
            uiGroupBoxResult.Font = new Font("宋体", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
            uiGroupBoxResult.ForeColor = Color.White;
            uiGroupBoxResult.Location = new Point(430, 230);
            uiGroupBoxResult.Margin = new Padding(4, 5, 4, 5);
            uiGroupBoxResult.Name = "uiGroupBoxResult";
            uiGroupBoxResult.Padding = new Padding(4, 5, 4, 5);
            uiGroupBoxResult.Size = new Size(350, 280);
            uiGroupBoxResult.TabIndex = 2;
            uiGroupBoxResult.TabStop = false;
            uiGroupBoxResult.Text = "读码结果";
            //
            // uiComboBoxBrand
            //
            uiComboBoxBrand.DropDownStyle = ComboBoxStyle.DropDownList;
            uiComboBoxBrand.FormattingEnabled = true;
            uiComboBoxBrand.Location = new Point(90, 50);
            uiComboBoxBrand.Name = "uiComboBoxBrand";
            uiComboBoxBrand.Size = new Size(150, 28);
            uiComboBoxBrand.TabIndex = 0;
            //
            // uiLabel1
            //
            uiLabel1.Location = new Point(15, 50);
            uiLabel1.Name = "uiLabel1";
            uiLabel1.Size = new Size(70, 29);
            uiLabel1.TabIndex = 1;
            uiLabel1.Text = "品牌:";
            uiLabel1.TextAlign = ContentAlignment.MiddleRight;
            //
            // uiRadioButtonSoftTrigger
            //
            uiRadioButtonSoftTrigger.Checked = true;
            uiRadioButtonSoftTrigger.Location = new Point(20, 90);
            uiRadioButtonSoftTrigger.Name = "uiRadioButtonSoftTrigger";
            uiRadioButtonSoftTrigger.Size = new Size(100, 29);
            uiRadioButtonSoftTrigger.TabIndex = 2;
            uiRadioButtonSoftTrigger.TabStop = true;
            uiRadioButtonSoftTrigger.Text = "软触发";
            uiRadioButtonSoftTrigger.UseVisualStyleBackColor = true;
            uiRadioButtonSoftTrigger.CheckedChanged += uiRadioButtonSoftTrigger_CheckedChanged;
            //
            // uiRadioButtonHardTrigger
            //
            uiRadioButtonHardTrigger.Location = new Point(140, 90);
            uiRadioButtonHardTrigger.Name = "uiRadioButtonHardTrigger";
            uiRadioButtonHardTrigger.Size = new Size(100, 29);
            uiRadioButtonHardTrigger.TabIndex = 3;
            uiRadioButtonHardTrigger.Text = "硬触发";
            uiRadioButtonHardTrigger.UseVisualStyleBackColor = true;
            //
            // uiButtonStartGrabbing
            //
            uiButtonStartGrabbing.BackColor = Color.FromArgb(0, 150, 136);
            uiButtonStartGrabbing.ForeColor = Color.White;
            uiButtonStartGrabbing.Location = new Point(20, 140);
            uiButtonStartGrabbing.Name = "uiButtonStartGrabbing";
            uiButtonStartGrabbing.Size = new Size(100, 35);
            uiButtonStartGrabbing.TabIndex = 4;
            uiButtonStartGrabbing.Text = "开始采集";
            uiButtonStartGrabbing.UseVisualStyleBackColor = false;
            uiButtonStartGrabbing.Click += uiButtonStartGrabbing_Click;
            //
            // uiButtonStopGrabbing
            //
            uiButtonStopGrabbing.BackColor = Color.FromArgb(255, 87, 34);
            uiButtonStopGrabbing.Enabled = false;
            uiButtonStopGrabbing.ForeColor = Color.White;
            uiButtonStopGrabbing.Location = new Point(140, 140);
            uiButtonStopGrabbing.Name = "uiButtonStopGrabbing";
            uiButtonStopGrabbing.Size = new Size(100, 35);
            uiButtonStopGrabbing.TabIndex = 5;
            uiButtonStopGrabbing.Text = "停止采集";
            uiButtonStopGrabbing.UseVisualStyleBackColor = false;
            uiButtonStopGrabbing.Click += uiButtonStopGrabbing_Click;
            //
            // uiButtonSoftTrigger
            //
            uiButtonSoftTrigger.BackColor = Color.FromArgb(64, 158, 255);
            uiButtonSoftTrigger.ForeColor = Color.White;
            uiButtonSoftTrigger.Location = new Point(260, 140);
            uiButtonSoftTrigger.Name = "uiButtonSoftTrigger";
            uiButtonSoftTrigger.Size = new Size(75, 35);
            uiButtonSoftTrigger.TabIndex = 6;
            uiButtonSoftTrigger.Text = "触发";
            uiButtonSoftTrigger.UseVisualStyleBackColor = false;
            uiButtonSoftTrigger.Click += uiButtonSoftTrigger_Click;
            //
            // uiListBoxBarcodes
            //
            uiListBoxBarcodes.FormattingEnabled = true;
            uiListBoxBarcodes.ItemHeight = 20;
            uiListBoxBarcodes.Location = new Point(15, 35);
            uiListBoxBarcodes.Name = "uiListBoxBarcodes";
            uiListBoxBarcodes.Size = new Size(320, 164);
            uiListBoxBarcodes.TabIndex = 0;
            //
            // uiTextBoxResult
            //
            uiTextBoxResult.Location = new Point(90, 210);
            uiTextBoxResult.Name = "uiTextBoxResult";
            uiTextBoxResult.ReadOnly = true;
            uiTextBoxResult.Size = new Size(160, 26);
            uiTextBoxResult.TabIndex = 1;
            //
            // uiLabel2
            //
            uiLabel2.Location = new Point(15, 210);
            uiLabel2.Name = "uiLabel2";
            uiLabel2.Size = new Size(70, 29);
            uiLabel2.TabIndex = 2;
            uiLabel2.Text = "状态:";
            uiLabel2.TextAlign = ContentAlignment.MiddleRight;
            //
            // uiButtonClear
            //
            uiButtonClear.BackColor = Color.FromArgb(64, 158, 255);
            uiButtonClear.ForeColor = Color.White;
            uiButtonClear.Location = new Point(260, 208);
            uiButtonClear.Name = "uiButtonClear";
            uiButtonClear.Size = new Size(75, 30);
            uiButtonClear.TabIndex = 3;
            uiButtonClear.Text = "清空";
            uiButtonClear.UseVisualStyleBackColor = false;
            uiButtonClear.Click += uiButtonClear_Click;
            //
            // BarcodeReaderForm
            //
            AutoScaleDimensions = new SizeF(7F, 17F);
            AutoScaleMode = AutoScaleMode.Font;
            BackColor = Color.FromArgb(32, 41, 50);
            ClientSize = new Size(800, 530);
            Controls.Add(uiGroupBoxResult);
            Controls.Add(uiGroupBoxControl);
            Controls.Add(uiGroupBoxImage);
            Name = "BarcodeReaderForm";
            StartPosition = FormStartPosition.CenterScreen;
            Text = "读码器测试";
            FormClosing += BarcodeReaderForm_FormClosing;
            uiGroupBoxImage.ResumeLayout(false);
            uiGroupBoxControl.ResumeLayout(false);
            uiGroupBoxResult.ResumeLayout(false);
            uiGroupBoxResult.PerformLayout();
            ResumeLayout(false);
        }
 
        #endregion
 
        private GroupBox uiGroupBoxImage;
        private GroupBox uiGroupBoxControl;
        private GroupBox uiGroupBoxResult;
        private ComboBox uiComboBoxBrand;
        private Label uiLabel1;
        private RadioButton uiRadioButtonSoftTrigger;
        private RadioButton uiRadioButtonHardTrigger;
        private Button uiButtonStartGrabbing;
        private Button uiButtonStopGrabbing;
        private Button uiButtonSoftTrigger;
        private ListBox uiListBoxBarcodes;
        private TextBox uiTextBoxResult;
        private Label uiLabel2;
        private Button uiButtonClear;
    }
}