namespace LB_VisionProcesses.BarcodeReaders
|
{
|
partial class BarcodeReaderForm
|
{
|
private System.ComponentModel.IContainer components = null;
|
|
protected override void Dispose(bool disposing)
|
{
|
if (disposing && (components != null))
|
{
|
components.Dispose();
|
}
|
base.Dispose(disposing);
|
}
|
|
private void InitializeComponent()
|
{
|
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(BarcodeReaderForm));
|
themeForm = new ReaLTaiizor.Forms.ThemeForm();
|
controlBox1 = new ReaLTaiizor.Controls.ControlBox();
|
pnlMain = new ReaLTaiizor.Controls.Panel();
|
pnlImage = new Panel();
|
picPreview = new PictureBox();
|
grpResult = new GroupBox();
|
lstBarcodes = new ListBox();
|
grpParams = new GroupBox();
|
txtTimeout = new TextBox();
|
lblTimeout = new Label();
|
radHardTrigger = new RadioButton();
|
radSoftTrigger = new RadioButton();
|
grpControl = new GroupBox();
|
btnRefresh = new Button();
|
btnSoftTrigger = new Button();
|
btnStop = new Button();
|
btnStart = new Button();
|
btnClose = new Button();
|
btnOpen = new Button();
|
cmbSN = new ComboBox();
|
lblSN = new Label();
|
cmbBrand = new ComboBox();
|
lblBrand = new Label();
|
statusStrip = new StatusStrip();
|
lblStatus = new ToolStripStatusLabel();
|
themeForm.SuspendLayout();
|
pnlMain.SuspendLayout();
|
pnlImage.SuspendLayout();
|
((System.ComponentModel.ISupportInitialize)picPreview).BeginInit();
|
grpResult.SuspendLayout();
|
grpParams.SuspendLayout();
|
grpControl.SuspendLayout();
|
statusStrip.SuspendLayout();
|
SuspendLayout();
|
//
|
// themeForm
|
//
|
themeForm.BackColor = Color.FromArgb(32, 41, 50);
|
themeForm.Controls.Add(controlBox1);
|
themeForm.Controls.Add(pnlMain);
|
themeForm.Dock = DockStyle.Fill;
|
themeForm.Font = new Font("Segoe UI", 9F);
|
themeForm.ForeColor = Color.FromArgb(142, 142, 142);
|
themeForm.Image = (Image)resources.GetObject("themeForm.Image");
|
themeForm.Location = new Point(0, 0);
|
themeForm.Name = "themeForm";
|
themeForm.Padding = new Padding(10, 70, 10, 9);
|
themeForm.RoundCorners = true;
|
themeForm.Sizable = true;
|
themeForm.Size = new Size(820, 600);
|
themeForm.SmartBounds = true;
|
themeForm.StartPosition = FormStartPosition.CenterScreen;
|
themeForm.TabIndex = 0;
|
themeForm.Text = "读码器配置";
|
//
|
// controlBox1
|
//
|
controlBox1.Anchor = AnchorStyles.Top | AnchorStyles.Right;
|
controlBox1.BackColor = Color.FromArgb(32, 41, 50);
|
controlBox1.CloseHoverColor = Color.FromArgb(230, 17, 35);
|
controlBox1.DefaultLocation = true;
|
controlBox1.EnableHoverHighlight = true;
|
controlBox1.EnableMaximizeButton = true;
|
controlBox1.EnableMinimizeButton = true;
|
controlBox1.ForeColor = Color.FromArgb(155, 155, 155);
|
controlBox1.Location = new Point(720, 18);
|
controlBox1.MaximizeHoverColor = Color.FromArgb(74, 74, 74);
|
controlBox1.MinimizeHoverColor = Color.FromArgb(63, 63, 65);
|
controlBox1.Name = "controlBox1";
|
controlBox1.Size = new Size(90, 25);
|
controlBox1.TabIndex = 0;
|
//
|
// pnlMain
|
//
|
pnlMain.BackColor = Color.FromArgb(32, 41, 50);
|
pnlMain.Controls.Add(pnlImage);
|
pnlMain.Controls.Add(grpResult);
|
pnlMain.Controls.Add(grpParams);
|
pnlMain.Controls.Add(grpControl);
|
pnlMain.Controls.Add(statusStrip);
|
pnlMain.Dock = DockStyle.Fill;
|
pnlMain.EdgeColor = Color.FromArgb(32, 41, 50);
|
pnlMain.Location = new Point(10, 70);
|
pnlMain.Name = "pnlMain";
|
pnlMain.Padding = new Padding(5);
|
pnlMain.Size = new Size(800, 521);
|
pnlMain.SmoothingType = System.Drawing.Drawing2D.SmoothingMode.HighQuality;
|
pnlMain.TabIndex = 1;
|
//
|
// pnlImage
|
//
|
pnlImage.BorderStyle = BorderStyle.FixedSingle;
|
pnlImage.Controls.Add(picPreview);
|
pnlImage.Location = new Point(285, 23);
|
pnlImage.Name = "pnlImage";
|
pnlImage.Size = new Size(500, 472);
|
pnlImage.TabIndex = 0;
|
//
|
// picPreview
|
//
|
picPreview.Dock = DockStyle.Fill;
|
picPreview.Location = new Point(0, 0);
|
picPreview.Name = "picPreview";
|
picPreview.Size = new Size(498, 470);
|
picPreview.SizeMode = PictureBoxSizeMode.Zoom;
|
picPreview.TabIndex = 0;
|
picPreview.TabStop = false;
|
//
|
// grpResult
|
//
|
grpResult.Controls.Add(lstBarcodes);
|
grpResult.ForeColor = Color.White;
|
grpResult.Location = new Point(15, 380);
|
grpResult.Name = "grpResult";
|
grpResult.Size = new Size(260, 115);
|
grpResult.TabIndex = 1;
|
grpResult.TabStop = false;
|
grpResult.Text = "读取结果";
|
//
|
// lstBarcodes
|
//
|
lstBarcodes.BackColor = Color.FromArgb(42, 51, 60);
|
lstBarcodes.Dock = DockStyle.Fill;
|
lstBarcodes.ForeColor = Color.White;
|
lstBarcodes.ItemHeight = 15;
|
lstBarcodes.Location = new Point(3, 19);
|
lstBarcodes.Name = "lstBarcodes";
|
lstBarcodes.Size = new Size(254, 93);
|
lstBarcodes.TabIndex = 0;
|
//
|
// grpParams
|
//
|
grpParams.Controls.Add(txtTimeout);
|
grpParams.Controls.Add(lblTimeout);
|
grpParams.Controls.Add(radHardTrigger);
|
grpParams.Controls.Add(radSoftTrigger);
|
grpParams.ForeColor = Color.White;
|
grpParams.Location = new Point(15, 260);
|
grpParams.Name = "grpParams";
|
grpParams.Size = new Size(260, 110);
|
grpParams.TabIndex = 2;
|
grpParams.TabStop = false;
|
grpParams.Text = "参数设置";
|
//
|
// txtTimeout
|
//
|
txtTimeout.Location = new Point(100, 62);
|
txtTimeout.Name = "txtTimeout";
|
txtTimeout.Size = new Size(140, 23);
|
txtTimeout.TabIndex = 0;
|
txtTimeout.Text = "2000";
|
//
|
// lblTimeout
|
//
|
lblTimeout.Location = new Point(15, 65);
|
lblTimeout.Name = "lblTimeout";
|
lblTimeout.Size = new Size(100, 23);
|
lblTimeout.TabIndex = 1;
|
lblTimeout.Text = "超时(ms):";
|
//
|
// radHardTrigger
|
//
|
radHardTrigger.Location = new Point(130, 25);
|
radHardTrigger.Name = "radHardTrigger";
|
radHardTrigger.Size = new Size(104, 24);
|
radHardTrigger.TabIndex = 2;
|
radHardTrigger.Text = "自动/硬触发";
|
//
|
// radSoftTrigger
|
//
|
radSoftTrigger.Checked = true;
|
radSoftTrigger.Location = new Point(15, 25);
|
radSoftTrigger.Name = "radSoftTrigger";
|
radSoftTrigger.Size = new Size(104, 24);
|
radSoftTrigger.TabIndex = 3;
|
radSoftTrigger.TabStop = true;
|
radSoftTrigger.Text = "软触发";
|
radSoftTrigger.CheckedChanged += radTrigger_CheckedChanged;
|
//
|
// grpControl
|
//
|
grpControl.Controls.Add(btnRefresh);
|
grpControl.Controls.Add(btnSoftTrigger);
|
grpControl.Controls.Add(btnStop);
|
grpControl.Controls.Add(btnStart);
|
grpControl.Controls.Add(btnClose);
|
grpControl.Controls.Add(btnOpen);
|
grpControl.Controls.Add(cmbSN);
|
grpControl.Controls.Add(lblSN);
|
grpControl.Controls.Add(cmbBrand);
|
grpControl.Controls.Add(lblBrand);
|
grpControl.ForeColor = Color.White;
|
grpControl.Location = new Point(15, 15);
|
grpControl.Name = "grpControl";
|
grpControl.Size = new Size(260, 240);
|
grpControl.TabIndex = 3;
|
grpControl.TabStop = false;
|
grpControl.Text = "设备控制";
|
//
|
// btnRefresh
|
//
|
btnRefresh.Location = new Point(205, 56);
|
btnRefresh.Name = "btnRefresh";
|
btnRefresh.Size = new Size(35, 25);
|
btnRefresh.TabIndex = 0;
|
btnRefresh.Text = "R";
|
btnRefresh.Click += btnRefresh_Click;
|
//
|
// btnSoftTrigger
|
//
|
btnSoftTrigger.Location = new Point(13, 190);
|
btnSoftTrigger.Name = "btnSoftTrigger";
|
btnSoftTrigger.Size = new Size(227, 35);
|
btnSoftTrigger.TabIndex = 1;
|
btnSoftTrigger.Text = "软触发一次";
|
btnSoftTrigger.Click += btnSoftTrigger_Click;
|
//
|
// btnStop
|
//
|
btnStop.Location = new Point(130, 145);
|
btnStop.Name = "btnStop";
|
btnStop.Size = new Size(110, 35);
|
btnStop.TabIndex = 2;
|
btnStop.Text = "停止采集";
|
btnStop.Click += btnStop_Click;
|
//
|
// btnStart
|
//
|
btnStart.Location = new Point(13, 145);
|
btnStart.Name = "btnStart";
|
btnStart.Size = new Size(110, 35);
|
btnStart.TabIndex = 3;
|
btnStart.Text = "开始采集";
|
btnStart.Click += btnStart_Click;
|
//
|
// btnClose
|
//
|
btnClose.Location = new Point(130, 100);
|
btnClose.Name = "btnClose";
|
btnClose.Size = new Size(110, 35);
|
btnClose.TabIndex = 4;
|
btnClose.Text = "关闭设备";
|
btnClose.Click += btnClose_Click;
|
//
|
// btnOpen
|
//
|
btnOpen.Location = new Point(13, 100);
|
btnOpen.Name = "btnOpen";
|
btnOpen.Size = new Size(110, 35);
|
btnOpen.TabIndex = 5;
|
btnOpen.Text = "打开设备";
|
btnOpen.Click += btnOpen_Click;
|
//
|
// cmbSN
|
//
|
cmbSN.Location = new Point(70, 57);
|
cmbSN.Name = "cmbSN";
|
cmbSN.Size = new Size(130, 23);
|
cmbSN.TabIndex = 6;
|
//
|
// lblSN
|
//
|
lblSN.Location = new Point(10, 60);
|
lblSN.Name = "lblSN";
|
lblSN.Size = new Size(100, 23);
|
lblSN.TabIndex = 7;
|
lblSN.Text = "序列号:";
|
//
|
// cmbBrand
|
//
|
cmbBrand.DropDownStyle = ComboBoxStyle.DropDownList;
|
cmbBrand.Location = new Point(70, 22);
|
cmbBrand.Name = "cmbBrand";
|
cmbBrand.Size = new Size(170, 23);
|
cmbBrand.TabIndex = 8;
|
//
|
// lblBrand
|
//
|
lblBrand.Location = new Point(10, 25);
|
lblBrand.Name = "lblBrand";
|
lblBrand.Size = new Size(100, 23);
|
lblBrand.TabIndex = 9;
|
lblBrand.Text = "品牌:";
|
//
|
// statusStrip
|
//
|
statusStrip.BackColor = Color.FromArgb(32, 41, 50);
|
statusStrip.Items.AddRange(new ToolStripItem[] { lblStatus });
|
statusStrip.Location = new Point(5, 494);
|
statusStrip.Name = "statusStrip";
|
statusStrip.Size = new Size(790, 22);
|
statusStrip.TabIndex = 4;
|
//
|
// lblStatus
|
//
|
lblStatus.ForeColor = Color.White;
|
lblStatus.Name = "lblStatus";
|
lblStatus.Size = new Size(56, 17);
|
lblStatus.Text = "准备就绪";
|
//
|
// BarcodeReaderForm
|
//
|
AutoScaleDimensions = new SizeF(7F, 17F);
|
AutoScaleMode = AutoScaleMode.Font;
|
ClientSize = new Size(820, 600);
|
Controls.Add(themeForm);
|
FormBorderStyle = FormBorderStyle.None;
|
MinimumSize = new Size(261, 61);
|
Name = "BarcodeReaderForm";
|
StartPosition = FormStartPosition.CenterScreen;
|
Text = "读码器配置";
|
TransparencyKey = Color.Fuchsia;
|
FormClosing += BarcodeReaderForm_FormClosing;
|
Load += BarcodeReaderForm_Load;
|
themeForm.ResumeLayout(false);
|
pnlMain.ResumeLayout(false);
|
pnlMain.PerformLayout();
|
pnlImage.ResumeLayout(false);
|
((System.ComponentModel.ISupportInitialize)picPreview).EndInit();
|
grpResult.ResumeLayout(false);
|
grpParams.ResumeLayout(false);
|
grpParams.PerformLayout();
|
grpControl.ResumeLayout(false);
|
statusStrip.ResumeLayout(false);
|
statusStrip.PerformLayout();
|
ResumeLayout(false);
|
}
|
|
private ReaLTaiizor.Forms.ThemeForm themeForm;
|
private ReaLTaiizor.Controls.Panel pnlMain;
|
private ReaLTaiizor.Controls.ControlBox controlBox1;
|
private System.Windows.Forms.GroupBox grpControl;
|
private System.Windows.Forms.Label lblBrand;
|
private System.Windows.Forms.ComboBox cmbBrand;
|
private System.Windows.Forms.Label lblSN;
|
private System.Windows.Forms.ComboBox cmbSN;
|
private System.Windows.Forms.Button btnRefresh;
|
private System.Windows.Forms.Button btnOpen;
|
private System.Windows.Forms.Button btnClose;
|
private System.Windows.Forms.Button btnStart;
|
private System.Windows.Forms.Button btnStop;
|
private System.Windows.Forms.Button btnSoftTrigger;
|
private System.Windows.Forms.GroupBox grpParams;
|
private System.Windows.Forms.RadioButton radHardTrigger;
|
private System.Windows.Forms.RadioButton radSoftTrigger;
|
private System.Windows.Forms.Label lblTimeout;
|
private System.Windows.Forms.TextBox txtTimeout;
|
private System.Windows.Forms.GroupBox grpResult;
|
private System.Windows.Forms.ListBox lstBarcodes;
|
private System.Windows.Forms.StatusStrip statusStrip;
|
private System.Windows.Forms.ToolStripStatusLabel lblStatus;
|
private System.Windows.Forms.Panel pnlImage;
|
private System.Windows.Forms.PictureBox picPreview;
|
}
|
}
|