From a9bc7819f4f7e66159a93e955944728c25ba3e53 Mon Sep 17 00:00:00 2001
From: C3204 <zhengyabo@lanpucloud.cn>
Date: 星期三, 07 一月 2026 14:10:11 +0800
Subject: [PATCH] 优化相机管理和界面布局 - 在 `CreateCameraForm.cs` 中添加对 `LBCameras` 的引用,并修复相机创建逻辑。 - 调整 `VisionForm.Designer.cs` 和 `2DCameraForm.Designer.cs` 中多个控件的大小和位置,改善界面布局。 - 在 `VisionForm.cs` 中添加对 `LBCameras` 的引用以支持新相机类型。 - 注释掉 `PHM6000Sensor.cs` 和 `PHM6000Profiler.cs` 中与相机信息获取相关的 P/Invoke 方法。 - 重构 `LBCamera.cs`,添加新的相机初始化和参数设置逻辑,确保与 PHM6000 SDK 的兼容性。 - 移除 `PHM6000Camera.cs` 中与 `PHM6000Camera` 相关的代码,简化相机管理逻辑。 Merge branch 'master' of http://lanpucloud.cn:1111/r/~zhengyabo/LB_TyreAppearanceInspectionSoftware
---
LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs | 20 ++++++++++----------
1 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs b/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
index 564f17c..6996dcc 100644
--- a/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
+++ b/LB_SmartVision/Forms/Pages/UserManagementPage/UserManagementEditPage.Designer.cs
@@ -85,12 +85,12 @@
tableLayoutPanel1.Controls.Add(tableLayoutPanel2, 0, 0);
tableLayoutPanel1.Controls.Add(tableLayoutPanel4, 0, 1);
tableLayoutPanel1.Dock = DockStyle.Fill;
- tableLayoutPanel1.Location = new Point(3, 22);
+ tableLayoutPanel1.Location = new Point(3, 26);
tableLayoutPanel1.Name = "tableLayoutPanel1";
tableLayoutPanel1.RowCount = 2;
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Absolute, 45F));
- tableLayoutPanel1.Size = new Size(860, 555);
+ tableLayoutPanel1.Size = new Size(860, 551);
tableLayoutPanel1.TabIndex = 1;
//
// tableLayoutPanel2
@@ -105,7 +105,7 @@
tableLayoutPanel2.Name = "tableLayoutPanel2";
tableLayoutPanel2.RowCount = 1;
tableLayoutPanel2.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
- tableLayoutPanel2.Size = new Size(854, 504);
+ tableLayoutPanel2.Size = new Size(854, 500);
tableLayoutPanel2.TabIndex = 0;
//
// tableLayoutPanel3
@@ -139,7 +139,7 @@
textBoxEmployeeID.Location = new Point(107, 187);
textBoxEmployeeID.Margin = new Padding(7);
textBoxEmployeeID.Name = "textBoxEmployeeID";
- textBoxEmployeeID.Size = new Size(219, 26);
+ textBoxEmployeeID.Size = new Size(219, 30);
textBoxEmployeeID.TabIndex = 9;
//
// labelEmployeeID
@@ -159,7 +159,7 @@
textBoxName.Location = new Point(107, 142);
textBoxName.Margin = new Padding(7);
textBoxName.Name = "textBoxName";
- textBoxName.Size = new Size(219, 26);
+ textBoxName.Size = new Size(219, 30);
textBoxName.TabIndex = 7;
//
// labelName
@@ -191,7 +191,7 @@
textBoxPassword.Location = new Point(107, 52);
textBoxPassword.Margin = new Padding(7);
textBoxPassword.Name = "textBoxPassword";
- textBoxPassword.Size = new Size(219, 26);
+ textBoxPassword.Size = new Size(219, 30);
textBoxPassword.TabIndex = 3;
//
// labelPassword
@@ -223,7 +223,7 @@
textBoxUsername.Location = new Point(107, 7);
textBoxUsername.Margin = new Padding(7);
textBoxUsername.Name = "textBoxUsername";
- textBoxUsername.Size = new Size(219, 26);
+ textBoxUsername.Size = new Size(219, 30);
textBoxUsername.TabIndex = 1;
//
// comboBoxPermission
@@ -233,7 +233,7 @@
comboBoxPermission.Location = new Point(107, 97);
comboBoxPermission.Margin = new Padding(7);
comboBoxPermission.Name = "comboBoxPermission";
- comboBoxPermission.Size = new Size(219, 24);
+ comboBoxPermission.Size = new Size(219, 28);
comboBoxPermission.TabIndex = 5;
//
// dataGridViewUM
@@ -243,7 +243,7 @@
dataGridViewUM.Location = new Point(343, 3);
dataGridViewUM.Name = "dataGridViewUM";
dataGridViewUM.RowHeadersWidth = 51;
- dataGridViewUM.Size = new Size(508, 498);
+ dataGridViewUM.Size = new Size(508, 494);
dataGridViewUM.TabIndex = 1;
//
// tableLayoutPanel4
@@ -258,7 +258,7 @@
tableLayoutPanel4.Controls.Add(btnFind, 0, 0);
tableLayoutPanel4.Controls.Add(btnDel, 3, 0);
tableLayoutPanel4.Controls.Add(btnAdd, 2, 0);
- tableLayoutPanel4.Location = new Point(457, 513);
+ tableLayoutPanel4.Location = new Point(457, 509);
tableLayoutPanel4.Name = "tableLayoutPanel4";
tableLayoutPanel4.RowCount = 1;
tableLayoutPanel4.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
--
Gitblit v1.9.3