c#获得屏幕大小

2014-12-01 09:59:32  访问(2931) 赞(0) 踩(0)

Rectangle rect 
                    = 
                    System.Windows.Forms.SystemInformation.VirtualScreen; 
                
                int width = rect.Width; 
                int height = rect.Height;

                MessageBox.Show(width.ToString() + "~" + height.ToString());


标签:c#获得屏幕大小 

上一条:

下一条:


 

相关评论

评论加载中……
 

发表评论

类型:
内容:
  (Alt+Enter)