用C# 来获取屏幕分辨率_C/C++语言_黑客防线网安服务器维护基地--Powered by WWW.RONGSEN.COM.CN

用C# 来获取屏幕分辨率

作者:黑客防线网安C/C++教程基地 来源:黑客防线网安C/C++教程基地 浏览次数:0

本篇关键词:分辨率屏幕获取thisH
黑客防线网安网讯:   using System.Windows.Forms;  获取屏幕分辨率  int SH = Screen.PrimaryScreen.Bounds.Height;  int SW = Screen.PrimaryScreen.Bounds.Width;  获取窗口居中Top和Left  int...
   using System.Windows.Forms;
  获取屏幕分辨率
  int SH = Screen.PrimaryScreen.Bounds.Height;
  int SW = Screen.PrimaryScreen.Bounds.Width;
  获取窗口居中Top和Left
  int thisH=100;
  int thisW=200;
  int SH = (Screen.PrimaryScreen.Bounds.Height - 30 - thisH) / 2;
  int SW = (Screen.PrimaryScreen.Bounds.Width - 10 - thisW) / 2;
    黑客防线网安服务器维护方案本篇连接:http://www.rongsen.com.cn/show-15284-1.html
网站维护教程更新时间:2012-04-04 22:52:43  【打印此页】  【关闭
我要申请本站N点 | 黑客防线官网 |  
专业服务器维护及网站维护手工安全搭建环境,网站安全加固服务。黑客防线网安服务器维护基地招商进行中!QQ:29769479

footer  footer  footer  footer