From 37aff9db0932e3e274b3c26650060f7d2d336888 Mon Sep 17 00:00:00 2001
From: C3032 <C3032@BC3032>
Date: 星期五, 09 一月 2026 10:07:30 +0800
Subject: [PATCH] 添加增益选择下拉框并优化相机初始化逻辑
---
LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs b/LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs
index 10997aa..1df002a 100644
--- a/LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs
+++ b/LB_SmartVision/Forms/Pages/MotionControlPage/MotionControlForm.Designer.cs
@@ -561,6 +561,7 @@
tableLayoutPanel1.RowStyles.Add(new RowStyle(SizeType.Percent, 100F));
tableLayoutPanel1.Size = new Size(368, 39);
tableLayoutPanel1.TabIndex = 4;
+ tableLayoutPanel1.Paint += tableLayoutPanel1_Paint;
//
// textBox1
//
@@ -694,7 +695,8 @@
//
// MotionControlForm
//
- AutoScaleMode = AutoScaleMode.None;
+ AutoScaleDimensions = new SizeF(120F, 120F);
+ AutoScaleMode = AutoScaleMode.Dpi;
AutoSize = true;
ClientSize = new Size(900, 763);
Controls.Add(themeForm1);
--
Gitblit v1.9.3