From 9ff4fd341f28664f8a5a67137a7be4b8e21f11ec Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期三, 24 十二月 2025 14:51:23 +0800
Subject: [PATCH] 修复主界面显示不全问题。

---
 LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs |   42 ++++++++++++++++++++++++++++++------------
 1 files changed, 30 insertions(+), 12 deletions(-)

diff --git a/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs b/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs
index b43b520..10f35aa 100644
--- a/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs
+++ b/LB_SmartVision/Forms/Pages/ProcessPage/ProcessControl.Designer.cs
@@ -28,6 +28,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,14 +37,15 @@
             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.Items.AddRange(new ToolStripItem[] { lblTitle, btnRun, btnCircleRun });
             toolStrip1.Location = new Point(0, 0);
             toolStrip1.Name = "toolStrip1";
@@ -53,32 +55,35 @@
             // 
             // lblTitle
             // 
-            lblTitle.BackColor = SystemColors.ActiveCaptionText;
+            lblTitle.ForeColor = SystemColors.ControlText;
             lblTitle.Name = "lblTitle";
             lblTitle.Size = new Size(56, 22);
             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(76, 22);
             btnRun.Text = "鍗曟杩愯";
             btnRun.ToolTipText = "鍗曟杩愯";
             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(76, 22);
             btnCircleRun.Text = "杩炵画杩愯";
             btnCircleRun.ToolTipText = "杩炵画";
             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";
@@ -87,13 +92,12 @@
             // 
             // 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));
@@ -103,7 +107,6 @@
             // 
             // 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));
@@ -120,8 +123,8 @@
             // 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);
@@ -130,14 +133,27 @@
             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, 25);
+            uiPanel1.Margin = new Padding(4, 5, 4, 5);
+            uiPanel1.MinimumSize = new Size(1, 1);
+            uiPanel1.Name = "uiPanel1";
+            uiPanel1.Size = new Size(360, 215);
+            uiPanel1.TabIndex = 3;
+            uiPanel1.Text = "uiPanel1";
+            uiPanel1.TextAlignment = ContentAlignment.MiddleCenter;
+            // 
             // ProcessControl
             // 
             AutoScaleDimensions = new SizeF(96F, 96F);
             AutoScaleMode = AutoScaleMode.Dpi;
-            BackColor = SystemColors.Control;
-            Controls.Add(tableLayoutPanel1);
+            BackColor = Color.FromArgb(32, 41, 50);
+            Controls.Add(uiPanel1);
             Controls.Add(toolStrip1);
-            ForeColor = SystemColors.Control;
             Name = "ProcessControl";
             Size = new Size(360, 240);
             Load += ProcessControl_Load;
@@ -146,6 +162,7 @@
             tableLayoutPanel1.ResumeLayout(false);
             tableLayoutPanel2.ResumeLayout(false);
             tableLayoutPanel2.PerformLayout();
+            uiPanel1.ResumeLayout(false);
             ResumeLayout(false);
             PerformLayout();
         }
@@ -160,5 +177,6 @@
         private TableLayoutPanel tableLayoutPanel2;
         private Label label1;
         private ToolStripButton btnCircleRun;
+        private Sunny.UI.UIPanel uiPanel1;
     }
 }

--
Gitblit v1.9.3