1. 首页
  2. 编程语言
  3. C#
  4. C#获取桌面大小源码 长宽像素
下载地址
用户评论
码姐姐匿名网友 2018-12-25 12:14:00

感谢分享!

码姐姐匿名网友 2018-12-25 12:14:00

ls的可以么?俺也去试试,貌似比楼主的简洁

码姐姐匿名网友 2018-12-25 12:14:00

不是我想要的,也没有运行成功

码姐姐匿名网友 2018-12-25 12:14:00

其实就两句话 textBox2.Text = Screen.PrimaryScreen.WorkingArea.Height.ToString(); textBox1.Text = Screen.PrimaryScreen.WorkingArea.Width.ToString();

weixin_62572 2024-12-29 01:08:24

其实就两句话 textBox2.Text = Screen.PrimaryScreen.WorkingArea.Height.ToString(); textBox1.Text = Screen.PrimaryScreen.WorkingArea.Width.ToString();