WPF 获取屏幕分辨率
double height = SystemParameters.PrimaryScreenHeight;
double width = SystemParameters.PrimaryScreenWidth;
SystemParameters类详情: http://msdn.microsoft.com/zh-cn/library/system.windows.systemparameters.aspx
double height = SystemParameters.PrimaryScreenHeight;
double width = SystemParameters.PrimaryScreenWidth;
SystemParameters类详情: http://msdn.microsoft.com/zh-cn/library/system.windows.systemparameters.aspx