标签: c# maximize-window
我已经设置了this.WindowState = FormWindowState.Maximized;,一切看起来都不错,但Windows的开窗图标(例如我页面底部的浏览器)仍然可见。
this.WindowState = FormWindowState.Maximized;
如何让它隐身?
答案 0 :(得分:3)
我刚刚想出答案 TopMost必须与true和FormBorderStyle = FormBorderStyle.None一起设为Bounds = Screen.PrimaryScreen.Bounds。
TopMost
true
FormBorderStyle = FormBorderStyle.None
Bounds = Screen.PrimaryScreen.Bounds