怎么让窗体充满整个屏幕?
运行项目的时候窗体自动充满怎么个屏幕,任务栏也要被覆盖,像游戏那样的?谁知道的说下谢谢
[解决办法]
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Normal;
Rectangle rc = Screen.PrimaryScreen.Bounds;
this.Size = rc.Size;
this.TopMost = true;
发布时间: 2012-05-28 17:59:54 作者: rapoo
怎么让窗体充满整个屏幕?
运行项目的时候窗体自动充满怎么个屏幕,任务栏也要被覆盖,像游戏那样的?谁知道的说下谢谢
[解决办法]
this.FormBorderStyle = FormBorderStyle.None;
this.WindowState = FormWindowState.Normal;
Rectangle rc = Screen.PrimaryScreen.Bounds;
this.Size = rc.Size;
this.TopMost = true;