标签:ar strong for sp on c ef r bs
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;
标签:ar strong for sp on c ef r bs
原文地址:http://www.cnblogs.com/skyay/p/3991041.html