Skip to content

Commit f8020d9

Browse files
committed
修复:
初始窗口高度异常
1 parent 198785d commit f8020d9

2 files changed

Lines changed: 16 additions & 15 deletions

File tree

Form1.Designer.cs

Lines changed: 14 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Form1.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public Form1()
3333
comboBox3.DropDownStyle = ComboBoxStyle.DropDownList;
3434
GetLocalIPs();
3535

36-
this.Height = 575;
36+
this.Height = 492;
3737
this.Width = 816;
3838

3939
// 设置窗体为固定大小
@@ -719,6 +719,7 @@ private void timer1_Tick(object sender, EventArgs e)
719719
button1_Click(sender, e);
720720
}
721721
timer1.Enabled = false;
722+
this.Height = 492;
722723
}
723724

724725
private void button3_Click(object sender, EventArgs e)

0 commit comments

Comments
 (0)