码迷,mamicode.com
首页 > 其他好文 > 详细

屏幕  z

时间:2015-04-19 21:09:51      阅读:150      评论: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
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!