From 19bf97fd8ec4f435e9111d72969c4ebf00d97991 Mon Sep 17 00:00:00 2001
From: C3032 <1057644574@qq.com>
Date: 星期五, 20 三月 2026 11:10:02 +0800
Subject: [PATCH] 读码器功能集成完成
---
LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs | 67 ++++++++++++++++++++++-----------
1 files changed, 45 insertions(+), 22 deletions(-)
diff --git a/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs b/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs
index b43b520..1fa35ca 100644
--- a/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs
+++ b/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs
@@ -13,6 +13,7 @@
/// <param name="disposing">濡傛灉搴旈噴鏀炬墭绠¤祫婧愶紝涓� true锛涘惁鍒欎负 false銆�</param>
protected override void Dispose(bool disposing)
{
+ this.isClosed = true;
if (disposing && (components != null))
{
components.Dispose();
@@ -28,6 +29,7 @@
/// </summary>
private void InitializeComponent()
{
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(ProcessControl));
toolStrip1 = new ToolStrip();
lblTitle = new ToolStripLabel();
btnRun = new ToolStripButton();
@@ -36,116 +38,136 @@
tableLayoutPanel1 = new TableLayoutPanel();
tableLayoutPanel2 = new TableLayoutPanel();
label1 = new Label();
+ uiPanel1 = new Sunny.UI.UIPanel();
toolStrip1.SuspendLayout();
tableLayoutPanel1.SuspendLayout();
tableLayoutPanel2.SuspendLayout();
+ uiPanel1.SuspendLayout();
SuspendLayout();
//
// toolStrip1
//
- toolStrip1.BackColor = Color.FromArgb(32, 41, 50);
+ toolStrip1.ImageScalingSize = new Size(20, 20);
toolStrip1.Items.AddRange(new ToolStripItem[] { lblTitle, btnRun, btnCircleRun });
toolStrip1.Location = new Point(0, 0);
toolStrip1.Name = "toolStrip1";
- toolStrip1.Size = new Size(360, 25);
+ toolStrip1.Size = new Size(450, 27);
toolStrip1.TabIndex = 0;
toolStrip1.Text = "toolStrip1";
//
// lblTitle
//
- lblTitle.BackColor = SystemColors.ActiveCaptionText;
+ lblTitle.ForeColor = SystemColors.ControlText;
lblTitle.Name = "lblTitle";
- lblTitle.Size = new Size(56, 22);
+ lblTitle.Size = new Size(69, 24);
lblTitle.Text = "娴佺▼鍚嶇О";
//
// btnRun
//
+ btnRun.ForeColor = SystemColors.ControlText;
+ btnRun.Image = (Image)resources.GetObject("btnRun.Image");
btnRun.ImageTransparentColor = Color.Magenta;
btnRun.Name = "btnRun";
- btnRun.Size = new Size(60, 22);
+ btnRun.Size = new Size(93, 24);
btnRun.Text = "鍗曟杩愯";
btnRun.ToolTipText = "鍗曟杩愯";
+ btnRun.Visible = false;
btnRun.Click += btnRun_Click;
//
// btnCircleRun
//
+ btnCircleRun.ForeColor = SystemColors.ControlText;
+ btnCircleRun.Image = (Image)resources.GetObject("btnCircleRun.Image");
btnCircleRun.ImageTransparentColor = Color.Magenta;
btnCircleRun.Name = "btnCircleRun";
- btnCircleRun.Size = new Size(60, 22);
+ btnCircleRun.Size = new Size(93, 24);
btnCircleRun.Text = "杩炵画杩愯";
btnCircleRun.ToolTipText = "杩炵画";
+ btnCircleRun.Visible = false;
btnCircleRun.Click += btnCircleRun_Click;
//
// panel1
//
- panel1.BackColor = Color.FromArgb(32, 41, 50);
panel1.Dock = DockStyle.Fill;
panel1.Location = new Point(3, 3);
panel1.Name = "panel1";
- panel1.Size = new Size(354, 187);
+ panel1.Size = new Size(444, 224);
panel1.TabIndex = 1;
//
// tableLayoutPanel1
//
- tableLayoutPanel1.BackColor = Color.FromArgb(32, 41, 50);
tableLayoutPanel1.ColumnCount = 1;
tableLayoutPanel1.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
tableLayoutPanel1.Controls.Add(panel1, 0, 0);
tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 1);
tableLayoutPanel1.Dock = DockStyle.Fill;
- tableLayoutPanel1.Location = new Point(0, 25);
+ tableLayoutPanel1.Location = new Point(0, 0);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 2;
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
- tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 22F));
- tableLayoutPanel1.Size = new Size(360, 215);
+ tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 30F));
+ tableLayoutPanel1.Size = new Size(450, 260);
tableLayoutPanel1.TabIndex = 2;
//
// tableLayoutPanel2
//
- tableLayoutPanel2.BackColor = Color.FromArgb(32, 41, 50);
tableLayoutPanel2.ColumnCount = 3;
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.3333321F));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.3333321F));
tableLayoutPanel2.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 33.3333321F));
tableLayoutPanel2.Controls.Add(label1, 0, 0);
tableLayoutPanel2.Dock = DockStyle.Fill;
- tableLayoutPanel2.Location = new Point(3, 196);
+ tableLayoutPanel2.Location = new Point(3, 233);
tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
- tableLayoutPanel2.Size = new Size(354, 16);
+ tableLayoutPanel2.Size = new Size(444, 24);
tableLayoutPanel2.TabIndex = 2;
//
// label1
//
label1.AutoSize = true;
- label1.BackColor = Color.FromArgb(32, 41, 50);
label1.Dock = DockStyle.Fill;
+ label1.ForeColor = SystemColors.Control;
label1.Location = new Point(3, 0);
label1.Name = "label1";
- label1.Size = new Size(112, 16);
+ label1.Size = new Size(141, 24);
label1.TabIndex = 0;
label1.Text = "鎬绘暟锛�0";
label1.DoubleClick += lblCount_DoubleClick;
label1.MouseHover += lblCount_MouseHover;
//
+ // uiPanel1
+ //
+ uiPanel1.Controls.Add(tableLayoutPanel1);
+ uiPanel1.Dock = DockStyle.Fill;
+ uiPanel1.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
+ uiPanel1.Location = new Point(0, 27);
+ uiPanel1.Margin = new Padding(5, 6, 5, 6);
+ uiPanel1.MinimumSize = new Size(1, 1);
+ uiPanel1.Name = "uiPanel1";
+ uiPanel1.Size = new Size(450, 260);
+ uiPanel1.TabIndex = 3;
+ uiPanel1.Text = "uiPanel1";
+ uiPanel1.TextAlignment = ContentAlignment.MiddleCenter;
+ //
// ProcessControl
//
- AutoScaleDimensions = new SizeF(96F, 96F);
+ AutoScaleDimensions = new SizeF(120F, 120F);
AutoScaleMode = AutoScaleMode.Dpi;
- BackColor = SystemColors.Control;
- Controls.Add(tableLayoutPanel1);
+ BackColor = Color.FromArgb(32, 41, 50);
+ Controls.Add(uiPanel1);
Controls.Add(toolStrip1);
- ForeColor = SystemColors.Control;
+ Margin = new Padding(4);
Name = "ProcessControl";
- Size = new Size(360, 240);
+ Size = new Size(450, 287);
Load += ProcessControl_Load;
toolStrip1.ResumeLayout(false);
toolStrip1.PerformLayout();
tableLayoutPanel1.ResumeLayout(false);
tableLayoutPanel2.ResumeLayout(false);
tableLayoutPanel2.PerformLayout();
+ uiPanel1.ResumeLayout(false);
ResumeLayout(false);
PerformLayout();
}
@@ -160,5 +182,6 @@
private TableLayoutPanel tableLayoutPanel2;
private Label label1;
private ToolStripButton btnCircleRun;
+ private Sunny.UI.UIPanel uiPanel1;
}
}
--
Gitblit v1.9.3