System.Windows.Forms.SystemInformation.VirtualScreen
返回的就是当前使用的分辩率。

解决方案 »

  1.   

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

  2.   

    seehttp://expert.csdn.net/Expert/topic/1880/1880607.xml?temp=.6966822
      

  3.   

    webform内可以用JAVASCRIPT
    window.screen.Width
    window.screen.Height
      

  4.   

    This can help you :Screen.PrimaryScreen.Bounds.Width
    Screen.PrimaryScreen.Bounds.Heightand you can see also:
    System.Envirement.**
      

  5.   

    在web页中只能用JAVASCRIPT吗?还有没有其他的方法?