首页 > 其他 > 详细

屏幕  z

时间:2015-04-19 21:08:44      阅读:155      评论:0      收藏:0      [点我收藏+]

private   void   FullScreen()   //全屏   
  {   
  SizeMode   =   2;   
  FormBorderStyle   =   FormBorderStyle.None;   
  Left   =   Top   =   0;   
  Width   =   Screen.PrimaryScreen.Bounds.Width;   
  Height   =   Screen.PrimaryScreen.Bounds.Height;   
  BringToFront();   
  }   
    
  private   void   FullWorkSpace()   //充满工作区  
  {   
  SizeMode   =   1;   
  FormBorderStyle   =   FormBorderStyle.Sizable;   
  Left   =   Top   =   0;   
  Width   =   Screen.PrimaryScreen.WorkingArea.Width;   
  Height   =   Screen.PrimaryScreen.WorkingArea.Height;   
  BringToFront();   
  } 

form.Left = Screen.PrimaryScreen.Bounds.Width;

屏幕  z

原文:http://www.cnblogs.com/zeroone/p/4439805.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!