更新123

This commit is contained in:
GukSang.Jin
2026-03-16 14:49:05 +08:00
parent bb7204d13a
commit 052af5f895

View File

@@ -161,7 +161,7 @@ namespace 全自动水压检测仪
var framePanel = new Panel var framePanel = new Panel
{ {
Name = $"{barName}Frame", Name = $"{barName}Frame",
Size = new Size(32, 34), Size = new Size(78, 42),
Anchor = AnchorStyles.Top | AnchorStyles.Right, Anchor = AnchorStyles.Top | AnchorStyles.Right,
BackColor = Color.FromArgb(208, 213, 219), BackColor = Color.FromArgb(208, 213, 219),
Padding = new Padding(2) Padding = new Padding(2)
@@ -205,7 +205,7 @@ namespace 全自动水压检测仪
void RepositionStatusBar(object sender, EventArgs e) void RepositionStatusBar(object sender, EventArgs e)
{ {
framePanel.Location = new Point( framePanel.Location = new Point(
Math.Max(110, hostPanel.ClientSize.Width - framePanel.Width - 16), Math.Max(64, hostPanel.ClientSize.Width - framePanel.Width - 16),
Math.Max(3, (hostPanel.ClientSize.Height - framePanel.Height) / 2)); Math.Max(3, (hostPanel.ClientSize.Height - framePanel.Height) / 2));
} }