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/VisionForm.Designer.cs |  126 ++++++++++++------------------------------
 1 files changed, 36 insertions(+), 90 deletions(-)

diff --git a/LB_SmartVision/VisionForm.Designer.cs b/LB_SmartVision/VisionForm.Designer.cs
index ce85549..124fe01 100644
--- a/LB_SmartVision/VisionForm.Designer.cs
+++ b/LB_SmartVision/VisionForm.Designer.cs
@@ -31,17 +31,14 @@
             System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(VisionForm));
             theme_VisionForm = new ReaLTaiizor.Forms.ThemeForm();
             sc_VisionForm = new SplitContainer();
-            sc_VisionMainViewer = new SplitContainer();
-            tlp_VisionMainForm = new Sunny.UI.UITableLayoutPanel();
+            tlp_MainView = new Sunny.UI.UITableLayoutPanel();
+            materialTabControl = new MaterialSkin.Controls.MaterialTabControl();
             tlp_VisionMainOperator = new Sunny.UI.UITableLayoutPanel();
             ckb_AllowRun = new Sunny.UI.UICheckBox();
             btn_Login = new ReaLTaiizor.Controls.Button();
             btn_GlobalVar = new ReaLTaiizor.Controls.Button();
             com_ProductName = new ReaLTaiizor.Controls.AloneComboBox();
             materialTabSelector = new MaterialSkin.Controls.MaterialTabSelector();
-            materialTabControl = new MaterialSkin.Controls.MaterialTabControl();
-            tabPage1 = new TabPage();
-            tabPage2 = new TabPage();
             grb_Info = new Sunny.UI.UIGroupBox();
             rich_Info = new Sunny.UI.UIRichTextBox();
             cb_VisionForm = new ReaLTaiizor.Controls.ControlBox();
@@ -50,13 +47,8 @@
             sc_VisionForm.Panel1.SuspendLayout();
             sc_VisionForm.Panel2.SuspendLayout();
             sc_VisionForm.SuspendLayout();
-            ((System.ComponentModel.ISupportInitialize)sc_VisionMainViewer).BeginInit();
-            sc_VisionMainViewer.Panel1.SuspendLayout();
-            sc_VisionMainViewer.Panel2.SuspendLayout();
-            sc_VisionMainViewer.SuspendLayout();
-            tlp_VisionMainForm.SuspendLayout();
+            tlp_MainView.SuspendLayout();
             tlp_VisionMainOperator.SuspendLayout();
-            materialTabControl.SuspendLayout();
             grb_Info.SuspendLayout();
             SuspendLayout();
             // 
@@ -82,13 +74,14 @@
             // sc_VisionForm
             // 
             sc_VisionForm.Dock = DockStyle.Fill;
+            sc_VisionForm.FixedPanel = FixedPanel.Panel2;
             sc_VisionForm.Location = new Point(10, 70);
             sc_VisionForm.Name = "sc_VisionForm";
             sc_VisionForm.Orientation = Orientation.Horizontal;
             // 
             // sc_VisionForm.Panel1
             // 
-            sc_VisionForm.Panel1.Controls.Add(sc_VisionMainViewer);
+            sc_VisionForm.Panel1.Controls.Add(tlp_MainView);
             // 
             // sc_VisionForm.Panel2
             // 
@@ -97,40 +90,35 @@
             sc_VisionForm.SplitterDistance = 699;
             sc_VisionForm.TabIndex = 1;
             // 
-            // sc_VisionMainViewer
+            // tlp_MainView
             // 
-            sc_VisionMainViewer.Dock = DockStyle.Fill;
-            sc_VisionMainViewer.Location = new Point(0, 0);
-            sc_VisionMainViewer.Name = "sc_VisionMainViewer";
-            sc_VisionMainViewer.Orientation = Orientation.Horizontal;
+            tlp_MainView.ColumnCount = 1;
+            tlp_MainView.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
+            tlp_MainView.Controls.Add(materialTabControl, 0, 2);
+            tlp_MainView.Controls.Add(tlp_VisionMainOperator, 0, 1);
+            tlp_MainView.Controls.Add(materialTabSelector, 0, 0);
+            tlp_MainView.Dock = DockStyle.Fill;
+            tlp_MainView.Location = new Point(0, 0);
+            tlp_MainView.Name = "tlp_MainView";
+            tlp_MainView.RowCount = 3;
+            tlp_MainView.RowStyles.Add(new RowStyle(SizeType.Absolute, 60F));
+            tlp_MainView.RowStyles.Add(new RowStyle(SizeType.Absolute, 39F));
+            tlp_MainView.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
+            tlp_MainView.Size = new Size(1420, 699);
+            tlp_MainView.TabIndex = 1;
+            tlp_MainView.TagString = null;
             // 
-            // sc_VisionMainViewer.Panel1
+            // materialTabControl
             // 
-            sc_VisionMainViewer.Panel1.Controls.Add(tlp_VisionMainForm);
-            // 
-            // sc_VisionMainViewer.Panel2
-            // 
-            sc_VisionMainViewer.Panel2.Controls.Add(materialTabControl);
-            sc_VisionMainViewer.Size = new Size(1420, 699);
-            sc_VisionMainViewer.SplitterDistance = 100;
-            sc_VisionMainViewer.TabIndex = 0;
-            // 
-            // tlp_VisionMainForm
-            // 
-            tlp_VisionMainForm.BackColor = Color.FromArgb(39, 51, 63);
-            tlp_VisionMainForm.ColumnCount = 1;
-            tlp_VisionMainForm.ColumnStyles.Add(new ColumnStyle(SizeType.Percent, 100F));
-            tlp_VisionMainForm.Controls.Add(tlp_VisionMainOperator, 0, 1);
-            tlp_VisionMainForm.Controls.Add(materialTabSelector, 0, 0);
-            tlp_VisionMainForm.Dock = DockStyle.Fill;
-            tlp_VisionMainForm.Location = new Point(0, 0);
-            tlp_VisionMainForm.Name = "tlp_VisionMainForm";
-            tlp_VisionMainForm.RowCount = 2;
-            tlp_VisionMainForm.RowStyles.Add(new RowStyle(SizeType.Absolute, 61F));
-            tlp_VisionMainForm.RowStyles.Add(new RowStyle(SizeType.Absolute, 39F));
-            tlp_VisionMainForm.Size = new Size(1420, 100);
-            tlp_VisionMainForm.TabIndex = 0;
-            tlp_VisionMainForm.TagString = null;
+            materialTabControl.AccessibleRole = AccessibleRole.Sound;
+            materialTabControl.Depth = 0;
+            materialTabControl.Dock = DockStyle.Fill;
+            materialTabControl.Location = new Point(3, 102);
+            materialTabControl.MouseState = MaterialSkin.MouseState.HOVER;
+            materialTabControl.Name = "materialTabControl";
+            materialTabControl.SelectedIndex = 0;
+            materialTabControl.Size = new Size(1414, 594);
+            materialTabControl.TabIndex = 0;
             // 
             // tlp_VisionMainOperator
             // 
@@ -150,7 +138,7 @@
             tlp_VisionMainOperator.Controls.Add(btn_GlobalVar, 7, 0);
             tlp_VisionMainOperator.Controls.Add(com_ProductName, 8, 0);
             tlp_VisionMainOperator.Dock = DockStyle.Fill;
-            tlp_VisionMainOperator.Location = new Point(3, 64);
+            tlp_VisionMainOperator.Location = new Point(3, 63);
             tlp_VisionMainOperator.Name = "tlp_VisionMainOperator";
             tlp_VisionMainOperator.RowCount = 1;
             tlp_VisionMainOperator.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
@@ -228,48 +216,14 @@
             // 
             // materialTabSelector
             // 
-            materialTabSelector.BaseTabControl = materialTabControl;
+            materialTabSelector.BaseTabControl = null;
             materialTabSelector.Depth = 0;
             materialTabSelector.Dock = DockStyle.Fill;
             materialTabSelector.Location = new Point(3, 3);
             materialTabSelector.MouseState = MaterialSkin.MouseState.HOVER;
             materialTabSelector.Name = "materialTabSelector";
-            materialTabSelector.Size = new Size(1414, 55);
+            materialTabSelector.Size = new Size(1414, 54);
             materialTabSelector.TabIndex = 1;
-            // 
-            // materialTabControl
-            // 
-            materialTabControl.AccessibleRole = AccessibleRole.Sound;
-            materialTabControl.Controls.Add(tabPage1);
-            materialTabControl.Controls.Add(tabPage2);
-            materialTabControl.Depth = 0;
-            materialTabControl.Dock = DockStyle.Fill;
-            materialTabControl.Location = new Point(0, 0);
-            materialTabControl.MouseState = MaterialSkin.MouseState.HOVER;
-            materialTabControl.Name = "materialTabControl";
-            materialTabControl.SelectedIndex = 0;
-            materialTabControl.Size = new Size(1420, 595);
-            materialTabControl.TabIndex = 0;
-            // 
-            // tabPage1
-            // 
-            tabPage1.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
-            tabPage1.Location = new Point(4, 30);
-            tabPage1.Name = "tabPage1";
-            tabPage1.Size = new Size(1412, 561);
-            tabPage1.TabIndex = 0;
-            tabPage1.Text = "tabPage1";
-            tabPage1.UseVisualStyleBackColor = true;
-            // 
-            // tabPage2
-            // 
-            tabPage2.Font = new Font("Microsoft YaHei UI", 9F, FontStyle.Regular, GraphicsUnit.Point, 134);
-            tabPage2.Location = new Point(4, 26);
-            tabPage2.Name = "tabPage2";
-            tabPage2.Size = new Size(1412, 565);
-            tabPage2.TabIndex = 1;
-            tabPage2.Text = "tabPage2";
-            tabPage2.UseVisualStyleBackColor = true;
             // 
             // grb_Info
             // 
@@ -340,13 +294,8 @@
             sc_VisionForm.Panel2.ResumeLayout(false);
             ((System.ComponentModel.ISupportInitialize)sc_VisionForm).EndInit();
             sc_VisionForm.ResumeLayout(false);
-            sc_VisionMainViewer.Panel1.ResumeLayout(false);
-            sc_VisionMainViewer.Panel2.ResumeLayout(false);
-            ((System.ComponentModel.ISupportInitialize)sc_VisionMainViewer).EndInit();
-            sc_VisionMainViewer.ResumeLayout(false);
-            tlp_VisionMainForm.ResumeLayout(false);
+            tlp_MainView.ResumeLayout(false);
             tlp_VisionMainOperator.ResumeLayout(false);
-            materialTabControl.ResumeLayout(false);
             grb_Info.ResumeLayout(false);
             ResumeLayout(false);
         }
@@ -356,18 +305,15 @@
         private ReaLTaiizor.Forms.ThemeForm theme_VisionForm;
         private ReaLTaiizor.Controls.ControlBox cb_VisionForm;
         private SplitContainer sc_VisionForm;
-        private SplitContainer sc_VisionMainViewer;
         private Sunny.UI.UITableLayoutPanel tlp_VisionMainOperator;
         private Sunny.UI.UICheckBox ckb_AllowRun;
         private ReaLTaiizor.Controls.Button btn_Login;
         private ReaLTaiizor.Controls.Button btn_GlobalVar;
-        private Sunny.UI.UITableLayoutPanel tlp_VisionMainForm;
         private Sunny.UI.UIGroupBox grb_Info;
         private Sunny.UI.UIRichTextBox rich_Info;
         private MaterialSkin.Controls.MaterialTabControl materialTabControl;
         private ReaLTaiizor.Controls.AloneComboBox com_ProductName;
         private MaterialSkin.Controls.MaterialTabSelector materialTabSelector;
-        private TabPage tabPage1;
-        private TabPage tabPage2;
+        private Sunny.UI.UITableLayoutPanel tlp_MainView;
     }
 }
\ No newline at end of file

--
Gitblit v1.9.3