C# 窗体最大化(自适应任务栏位置)

this.FormBorderStyle = FormBorderStyle.None;
this.Location=Screen.PrimaryScreen.WorkingArea.Location;
this.Width = Screen.PrimaryScreen.WorkingArea.Width;
this.Height = Screen.PrimaryScreen.WorkingArea.Height;
原文地址:https://www.cnblogs.com/zhaogaojian/p/8386403.html