更新123
This commit is contained in:
@@ -161,7 +161,7 @@ namespace 全自动水压检测仪
|
||||
var framePanel = new Panel
|
||||
{
|
||||
Name = $"{barName}Frame",
|
||||
Size = new Size(32, 34),
|
||||
Size = new Size(78, 42),
|
||||
Anchor = AnchorStyles.Top | AnchorStyles.Right,
|
||||
BackColor = Color.FromArgb(208, 213, 219),
|
||||
Padding = new Padding(2)
|
||||
@@ -205,7 +205,7 @@ namespace 全自动水压检测仪
|
||||
void RepositionStatusBar(object sender, EventArgs e)
|
||||
{
|
||||
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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user