this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
this.WindowState = FormWindowState.Maximized;
this.TopMost = true;//将该窗体置顶
this.KeyPreview = true;//双击时需要,点开就要全屏不用这样写
this.KeyUp += new KeyEventHandler(Form1_KeyUp);
this.Show();//显示form
vs实现全屏
最新推荐文章于 2022-01-06 23:15:12 发布