c# WPF 窗口 默认打开全屏
2020-12-18 03:33
标签:parameter wpf 设置 窗口 state style most windows param MainWindow.xaml.cs里加入 // 设置全屏 c# WPF 窗口 默认打开全屏 标签:parameter wpf 设置 窗口 state style most windows param 原文地址:https://www.cnblogs.com/Python5421/p/13993850.html
this.WindowState = System.Windows.WindowState.Normal;
this.WindowStyle = System.Windows.WindowStyle.None;
this.ResizeMode = System.Windows.ResizeMode.NoResize;
this.Topmost = true;
this.Left = 0.0;
this.Top = 0.0;
this.Width = System.Windows.SystemParameters.PrimaryScreenWidth;
this.Height = System.Windows.SystemParameters.PrimaryScreenHeight;
上一篇:window查看端口号并杀死进程
下一篇:windows 广告定位与解决