如何取得当前windows得分辨率

thorwin 2003-10-19 04:02:44
只要做个判断就行
如何做?
...全文
31 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
hhhrrrttt 2003-10-27
  • 打赏
  • 举报
回复
在web页中只能用JAVASCRIPT吗?还有没有其他的方法?
活靶子哥哥 2003-10-19
  • 打赏
  • 举报
回复
webform内可以用JAVASCRIPT
window.screen.Width
window.screen.Height
rgbcn 2003-10-19
  • 打赏
  • 举报
回复
see

http://expert.csdn.net/Expert/topic/1880/1880607.xml?temp=.6966822
rgbcn 2003-10-19
  • 打赏
  • 举报
回复
Screen.PrimaryScreen.Bounds.Width
Screen.PrimaryScreen.Bounds.Height
甴曱 2003-10-19
  • 打赏
  • 举报
回复
System.Windows.Forms.SystemInformation.VirtualScreen
返回的就是当前使用的分辩率。
michaelowenii 2003-10-19
  • 打赏
  • 举报
回复
This can help you :

Screen.PrimaryScreen.Bounds.Width
Screen.PrimaryScreen.Bounds.Height

and you can see also:
System.Envirement.**

110,499

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧