From 365ba3913b3b59e0149f85dc835818e45a979488 Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期三, 31 十二月 2025 13:05:06 +0800
Subject: [PATCH] 修复一部分工具图像转换问题以及内存释放问题。以及合并史工提交的相机和用户设计模块
---
LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.Designer.cs | 62 ++++++++++---------------------
1 files changed, 20 insertions(+), 42 deletions(-)
diff --git a/LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.Designer.cs b/LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.Designer.cs
index 5eb648d..fc94b76 100644
--- a/LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.Designer.cs
+++ b/LB_SmartVision/Forms/Pages/CommunicatorPage/CreateCommunicatorForm.Designer.cs
@@ -45,7 +45,7 @@
//
// uiLabelIP
//
- uiLabelIP.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ uiLabelIP.Font = new Font("瀹嬩綋", 12F);
uiLabelIP.ForeColor = Color.FromArgb(48, 48, 48);
uiLabelIP.Location = new Point(84, 111);
uiLabelIP.Name = "uiLabelIP";
@@ -55,7 +55,7 @@
//
// uiLabelPort
//
- uiLabelPort.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ uiLabelPort.Font = new Font("瀹嬩綋", 12F);
uiLabelPort.ForeColor = Color.FromArgb(48, 48, 48);
uiLabelPort.Location = new Point(84, 177);
uiLabelPort.Name = "uiLabelPort";
@@ -65,7 +65,7 @@
//
// uiButtonCancel
//
- uiButtonCancel.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ uiButtonCancel.Font = new Font("瀹嬩綋", 12F);
uiButtonCancel.Location = new Point(343, 234);
uiButtonCancel.MinimumSize = new Size(1, 1);
uiButtonCancel.Name = "uiButtonCancel";
@@ -76,22 +76,18 @@
//
// uiTextBoxPort
//
- uiTextBoxPort.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ uiTextBoxPort.Font = new Font("瀹嬩綋", 12F);
uiTextBoxPort.Location = new Point(191, 175);
uiTextBoxPort.Margin = new Padding(4, 5, 4, 5);
uiTextBoxPort.MinimumSize = new Size(1, 16);
uiTextBoxPort.Name = "uiTextBoxPort";
- uiTextBoxPort.Padding = new Padding(5);
- //uiTextBoxPort.ShowText = false;
- uiTextBoxPort.Size = new Size(205, 29);
+ uiTextBoxPort.Size = new Size(205, 26);
uiTextBoxPort.TabIndex = 5;
- //uiTextBoxPort.TextAlignment = ContentAlignment.MiddleLeft;
- //uiTextBoxPort.Watermark = "";
uiTextBoxPort.TextChanged += uiTextBoxPort_TextChanged;
//
// rButtonUART
//
- rButtonUART.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ rButtonUART.Font = new Font("瀹嬩綋", 12F);
rButtonUART.Location = new Point(51, 12);
rButtonUART.MinimumSize = new Size(1, 1);
rButtonUART.Name = "rButtonUART";
@@ -102,7 +98,7 @@
//
// rButtonTCPServer
//
- rButtonTCPServer.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ rButtonTCPServer.Font = new Font("瀹嬩綋", 12F);
rButtonTCPServer.Location = new Point(51, 47);
rButtonTCPServer.MinimumSize = new Size(1, 1);
rButtonTCPServer.Name = "rButtonTCPServer";
@@ -113,7 +109,7 @@
//
// rButtonTCPClient
//
- rButtonTCPClient.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ rButtonTCPClient.Font = new Font("瀹嬩綋", 12F);
rButtonTCPClient.Location = new Point(293, 47);
rButtonTCPClient.MinimumSize = new Size(1, 1);
rButtonTCPClient.Name = "rButtonTCPClient";
@@ -125,7 +121,7 @@
// uiButtonCreate
//
uiButtonCreate.Enabled = false;
- uiButtonCreate.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ uiButtonCreate.Font = new Font("瀹嬩綋", 12F);
uiButtonCreate.Location = new Point(191, 234);
uiButtonCreate.MinimumSize = new Size(1, 1);
uiButtonCreate.Name = "uiButtonCreate";
@@ -136,7 +132,7 @@
//
// uiButtonTest
//
- uiButtonTest.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ uiButtonTest.Font = new Font("瀹嬩綋", 12F);
uiButtonTest.Location = new Point(31, 234);
uiButtonTest.MinimumSize = new Size(1, 1);
uiButtonTest.Name = "uiButtonTest";
@@ -147,55 +143,39 @@
//
// uiComboBoxPort
//
- uiComboBoxPort.DataSource = null;
- //uiComboBoxPort.FillColor = Color.White;
- uiComboBoxPort.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
- //uiComboBoxPort.ItemHoverColor = Color.FromArgb(155, 200, 255);
- //uiComboBoxPort.ItemSelectForeColor = Color.FromArgb(235, 243, 255);
+ uiComboBoxPort.Font = new Font("瀹嬩綋", 12F);
uiComboBoxPort.Location = new Point(191, 108);
uiComboBoxPort.Margin = new Padding(4, 5, 4, 5);
uiComboBoxPort.MinimumSize = new Size(63, 0);
uiComboBoxPort.Name = "uiComboBoxPort";
- uiComboBoxPort.Padding = new Padding(0, 0, 30, 2);
- uiComboBoxPort.Size = new Size(205, 29);
- //uiComboBoxPort.SymbolSize = 24;
+ uiComboBoxPort.Size = new Size(205, 24);
uiComboBoxPort.TabIndex = 11;
- //uiComboBoxPort.TextAlignment = ContentAlignment.MiddleLeft;
- //uiComboBoxPort.Watermark = "";
uiComboBoxPort.MouseClick += uiComboBoxPort_MouseClick;
//
// uiIPTextBox
//
- //uiIPTextBox.FillColor2 = Color.FromArgb(235, 243, 255);
- uiIPTextBox.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ uiIPTextBox.Font = new Font("瀹嬩綋", 12F);
uiIPTextBox.Location = new Point(191, 108);
uiIPTextBox.Margin = new Padding(4, 5, 4, 5);
uiIPTextBox.MinimumSize = new Size(1, 1);
uiIPTextBox.Name = "uiIPTextBox";
- uiIPTextBox.Padding = new Padding(1);
- //uiIPTextBox.ShowText = false;
- uiIPTextBox.Size = new Size(205, 29);
+ uiIPTextBox.Size = new Size(205, 26);
uiIPTextBox.TabIndex = 12;
- //uiIPTextBox.TextAlignment = ContentAlignment.MiddleCenter;
uiIPTextBox.MouseClick += uiIPTextBox_MouseClick;
//
// uiTextBoxPath
//
- uiTextBoxPath.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ uiTextBoxPath.Font = new Font("瀹嬩綋", 12F);
uiTextBoxPath.Location = new Point(191, 108);
uiTextBoxPath.Margin = new Padding(4, 5, 4, 5);
uiTextBoxPath.MinimumSize = new Size(1, 16);
uiTextBoxPath.Name = "uiTextBoxPath";
- uiTextBoxPath.Padding = new Padding(5);
- //uiTextBoxPath.ShowText = false;
- uiTextBoxPath.Size = new Size(205, 29);
+ uiTextBoxPath.Size = new Size(205, 26);
uiTextBoxPath.TabIndex = 13;
- //uiTextBoxPath.TextAlignment = ContentAlignment.MiddleLeft;
- //uiTextBoxPath.Watermark = "";
//
// rButtonMonitor
//
- rButtonMonitor.Font = new Font("瀹嬩綋", 12F, FontStyle.Regular, GraphicsUnit.Point);
+ rButtonMonitor.Font = new Font("瀹嬩綋", 12F);
rButtonMonitor.Location = new Point(293, 12);
rButtonMonitor.MinimumSize = new Size(1, 1);
rButtonMonitor.Name = "rButtonMonitor";
@@ -206,8 +186,8 @@
//
// CreateCommunicatorForm
//
- //AllowShowTitle = false;
- AutoScaleMode = AutoScaleMode.None;
+ AutoScaleDimensions = new SizeF(96F, 96F);
+ AutoScaleMode = AutoScaleMode.Dpi;
ClientSize = new Size(484, 285);
ControlBox = false;
Controls.Add(rButtonMonitor);
@@ -226,11 +206,9 @@
MaximizeBox = false;
MinimizeBox = false;
Name = "CreateCommunicatorForm";
- Padding = new Padding(0);
- //ShowTitle = false;
Text = "鍒涘缓閫氳";
- //ZoomScaleRect = new Rectangle(15, 15, 800, 450);
ResumeLayout(false);
+ PerformLayout();
}
#endregion
--
Gitblit v1.9.3