From fb4b8642cfbd157ae0635b182b4f578bf337dbef Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期一, 19 一月 2026 08:41:11 +0800
Subject: [PATCH] user
---
LB_SmartVision/VisionForm.Designer.cs | 193 +++++++++++++++++++-----------------------------
1 files changed, 77 insertions(+), 116 deletions(-)
diff --git a/LB_SmartVision/VisionForm.Designer.cs b/LB_SmartVision/VisionForm.Designer.cs
index ef9e25a..bbb7b57 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();
//
@@ -69,11 +61,12 @@
theme_VisionForm.Font = new Font("Microsoft YaHei UI", 12F, FontStyle.Regular, GraphicsUnit.Point, 0);
theme_VisionForm.Image = (Image)resources.GetObject("theme_VisionForm.Image");
theme_VisionForm.Location = new Point(0, 0);
+ theme_VisionForm.Margin = new Padding(4);
theme_VisionForm.Name = "theme_VisionForm";
- theme_VisionForm.Padding = new Padding(10, 70, 10, 9);
+ theme_VisionForm.Padding = new Padding(12, 88, 12, 11);
theme_VisionForm.RoundCorners = true;
theme_VisionForm.Sizable = true;
- theme_VisionForm.Size = new Size(1440, 960);
+ theme_VisionForm.Size = new Size(1440, 880);
theme_VisionForm.SmartBounds = true;
theme_VisionForm.StartPosition = FormStartPosition.WindowsDefaultLocation;
theme_VisionForm.TabIndex = 0;
@@ -82,55 +75,55 @@
// sc_VisionForm
//
sc_VisionForm.Dock = DockStyle.Fill;
- sc_VisionForm.Location = new Point(10, 70);
+ sc_VisionForm.FixedPanel = FixedPanel.Panel2;
+ sc_VisionForm.Location = new Point(12, 88);
+ sc_VisionForm.Margin = new Padding(4);
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
//
sc_VisionForm.Panel2.Controls.Add(grb_Info);
- sc_VisionForm.Size = new Size(1420, 881);
- sc_VisionForm.SplitterDistance = 699;
+ sc_VisionForm.Size = new Size(1416, 781);
+ sc_VisionForm.SplitterDistance = 593;
+ sc_VisionForm.SplitterWidth = 5;
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.Margin = new Padding(2);
+ 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(1416, 593);
+ 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(2, 101);
+ materialTabControl.Margin = new Padding(2);
+ materialTabControl.MouseState = MaterialSkin.MouseState.HOVER;
+ materialTabControl.Name = "materialTabControl";
+ materialTabControl.SelectedIndex = 0;
+ materialTabControl.Size = new Size(1412, 490);
+ materialTabControl.TabIndex = 0;
//
// tlp_VisionMainOperator
//
@@ -150,23 +143,25 @@
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(4, 64);
+ tlp_VisionMainOperator.Margin = new Padding(4);
tlp_VisionMainOperator.Name = "tlp_VisionMainOperator";
tlp_VisionMainOperator.RowCount = 1;
tlp_VisionMainOperator.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
- tlp_VisionMainOperator.Size = new Size(1414, 33);
+ tlp_VisionMainOperator.Size = new Size(1408, 31);
tlp_VisionMainOperator.TabIndex = 0;
tlp_VisionMainOperator.TagString = null;
//
// ckb_AllowRun
//
ckb_AllowRun.Dock = DockStyle.Fill;
- ckb_AllowRun.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
+ ckb_AllowRun.Font = new Font("瀹嬩綋", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134);
ckb_AllowRun.ForeColor = SystemColors.Control;
- ckb_AllowRun.Location = new Point(3, 3);
+ ckb_AllowRun.Location = new Point(4, 4);
+ ckb_AllowRun.Margin = new Padding(4);
ckb_AllowRun.MinimumSize = new Size(1, 1);
ckb_AllowRun.Name = "ckb_AllowRun";
- ckb_AllowRun.Size = new Size(151, 27);
+ ckb_AllowRun.Size = new Size(148, 23);
ckb_AllowRun.TabIndex = 2;
ckb_AllowRun.Text = "杩愯妯″紡";
//
@@ -177,15 +172,16 @@
btn_Login.Dock = DockStyle.Fill;
btn_Login.EnteredBorderColor = Color.FromArgb(165, 37, 37);
btn_Login.EnteredColor = Color.FromArgb(32, 34, 37);
- btn_Login.Font = new Font("Microsoft Sans Serif", 12F);
+ btn_Login.Font = new Font("瀹嬩綋", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134);
btn_Login.Image = null;
btn_Login.ImageAlign = ContentAlignment.MiddleLeft;
btn_Login.InactiveColor = Color.FromArgb(32, 34, 37);
- btn_Login.Location = new Point(160, 3);
+ btn_Login.Location = new Point(160, 4);
+ btn_Login.Margin = new Padding(4);
btn_Login.Name = "btn_Login";
btn_Login.PressedBorderColor = Color.FromArgb(165, 37, 37);
btn_Login.PressedColor = Color.FromArgb(165, 37, 37);
- btn_Login.Size = new Size(151, 27);
+ btn_Login.Size = new Size(148, 23);
btn_Login.TabIndex = 3;
btn_Login.Text = "鐢ㄦ埛鐧诲綍";
btn_Login.TextAlignment = StringAlignment.Center;
@@ -198,15 +194,16 @@
btn_GlobalVar.Dock = DockStyle.Fill;
btn_GlobalVar.EnteredBorderColor = Color.FromArgb(165, 37, 37);
btn_GlobalVar.EnteredColor = Color.FromArgb(32, 34, 37);
- btn_GlobalVar.Font = new Font("Microsoft Sans Serif", 12F);
+ btn_GlobalVar.Font = new Font("瀹嬩綋", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 0);
btn_GlobalVar.Image = null;
btn_GlobalVar.ImageAlign = ContentAlignment.MiddleLeft;
btn_GlobalVar.InactiveColor = Color.FromArgb(32, 34, 37);
- btn_GlobalVar.Location = new Point(1102, 3);
+ btn_GlobalVar.Location = new Point(1096, 4);
+ btn_GlobalVar.Margin = new Padding(4);
btn_GlobalVar.Name = "btn_GlobalVar";
btn_GlobalVar.PressedBorderColor = Color.FromArgb(165, 37, 37);
btn_GlobalVar.PressedColor = Color.FromArgb(165, 37, 37);
- btn_GlobalVar.Size = new Size(151, 27);
+ btn_GlobalVar.Size = new Size(148, 23);
btn_GlobalVar.TabIndex = 4;
btn_GlobalVar.Text = "鍏ㄥ眬鍙橀噺";
btn_GlobalVar.TextAlignment = StringAlignment.Center;
@@ -218,9 +215,11 @@
com_ProductName.DrawMode = DrawMode.OwnerDrawFixed;
com_ProductName.DropDownStyle = ComboBoxStyle.DropDownList;
com_ProductName.EnabledCalc = true;
+ com_ProductName.Font = new Font("瀹嬩綋", 10.5F, FontStyle.Regular, GraphicsUnit.Point, 134);
com_ProductName.FormattingEnabled = true;
com_ProductName.ItemHeight = 20;
- com_ProductName.Location = new Point(1259, 3);
+ com_ProductName.Location = new Point(1252, 4);
+ com_ProductName.Margin = new Padding(4);
com_ProductName.Name = "com_ProductName";
com_ProductName.Size = new Size(152, 26);
com_ProductName.TabIndex = 5;
@@ -228,48 +227,15 @@
//
// materialTabSelector
//
- materialTabSelector.BaseTabControl = materialTabControl;
+ materialTabSelector.BaseTabControl = null;
materialTabSelector.Depth = 0;
materialTabSelector.Dock = DockStyle.Fill;
- materialTabSelector.Location = new Point(3, 3);
+ materialTabSelector.Location = new Point(4, 4);
+ materialTabSelector.Margin = new Padding(4);
materialTabSelector.MouseState = MaterialSkin.MouseState.HOVER;
materialTabSelector.Name = "materialTabSelector";
- materialTabSelector.Size = new Size(1414, 55);
+ materialTabSelector.Size = new Size(1408, 52);
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
//
@@ -279,11 +245,11 @@
grb_Info.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
grb_Info.ForeColor = SystemColors.Control;
grb_Info.Location = new Point(0, 0);
- grb_Info.Margin = new Padding(4, 5, 4, 5);
+ grb_Info.Margin = new Padding(5, 6, 5, 6);
grb_Info.MinimumSize = new Size(1, 1);
grb_Info.Name = "grb_Info";
- grb_Info.Padding = new Padding(0, 32, 0, 0);
- grb_Info.Size = new Size(1420, 178);
+ grb_Info.Padding = new Padding(0, 40, 0, 0);
+ grb_Info.Size = new Size(1416, 183);
grb_Info.TabIndex = 1;
grb_Info.Text = "鏃ュ織鏄剧ず鍖猴細";
grb_Info.TextAlignment = ContentAlignment.MiddleLeft;
@@ -293,13 +259,13 @@
rich_Info.Dock = DockStyle.Fill;
rich_Info.FillColor = Color.FromArgb(32, 41, 50);
rich_Info.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point, 134);
- rich_Info.Location = new Point(0, 32);
+ rich_Info.Location = new Point(0, 40);
rich_Info.Margin = new Padding(4, 5, 4, 5);
rich_Info.MinimumSize = new Size(1, 1);
rich_Info.Name = "rich_Info";
rich_Info.Padding = new Padding(2);
rich_Info.ShowText = false;
- rich_Info.Size = new Size(1420, 146);
+ rich_Info.Size = new Size(1416, 143);
rich_Info.TabIndex = 0;
rich_Info.TextAlignment = ContentAlignment.MiddleLeft;
//
@@ -313,7 +279,8 @@
cb_VisionForm.EnableMaximizeButton = true;
cb_VisionForm.EnableMinimizeButton = true;
cb_VisionForm.ForeColor = Color.FromArgb(155, 155, 155);
- cb_VisionForm.Location = new Point(1340, 18);
+ cb_VisionForm.Location = new Point(1330, 18);
+ cb_VisionForm.Margin = new Padding(4);
cb_VisionForm.MaximizeHoverColor = Color.FromArgb(74, 74, 74);
cb_VisionForm.MinimizeHoverColor = Color.FromArgb(63, 63, 65);
cb_VisionForm.Name = "cb_VisionForm";
@@ -323,29 +290,26 @@
//
// VisionForm
//
- AutoScaleDimensions = new SizeF(96F, 96F);
+ AutoScaleDimensions = new SizeF(120F, 120F);
AutoScaleMode = AutoScaleMode.Dpi;
- ClientSize = new Size(1440, 960);
+ ClientSize = new Size(1440, 880);
Controls.Add(theme_VisionForm);
FormBorderStyle = FormBorderStyle.None;
Icon = (Icon)resources.GetObject("$this.Icon");
- MinimumSize = new Size(261, 61);
+ Margin = new Padding(4);
+ MinimumSize = new Size(326, 76);
Name = "VisionForm";
Text = "杞儙澶栬瑙嗚妫�娴嬬郴缁�";
TransparencyKey = Color.Fuchsia;
+ FormClosing += VisionForm_FormClosing;
Load += VisionForm_Load;
theme_VisionForm.ResumeLayout(false);
sc_VisionForm.Panel1.ResumeLayout(false);
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);
}
@@ -355,18 +319,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