如果不挡住任务栏,那么需要自己手动指定 FORM 的高度值,Form_Load 中,使用如下的代码:
private void Form1_Load(object sender, EventArgs e)
{
this.Top = 0;
this.Left = 0;
this.Width = Screen.PrimaryScreen.WorkingArea.Width;
this.Height = Screen.PrimaryScreen.WorkingArea.Height;
}
本回答被网友采纳