全屏 C#代码

            this.SetVisibleCore(false);
            
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
            
this.WindowState = FormWindowState.Maximized;
            
this.SetVisibleCore(true);

原文地址:https://www.cnblogs.com/wpf123/p/2052898.html