首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

WPF设立全屏

2012-09-02 
WPF设置全屏//设置全屏 void SetFullScreen(){ // 设置全屏 this.WindowState System.Windows.WindowSta

WPF设置全屏

//设置全屏 void SetFullScreen(){ // 设置全屏 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;  }


热点排行