实现效果:
知识运用:
SystemInformation类的VirtualScreen属性 //该类提供当前系统环境的有关信息 VirtualScreen属性
private void Form1_Load(object sender, EventArgs e)
{
label1.Text = "当前屏幕分辨率: " + SystemInformation.VirtualScreen.Width + "*" + SystemInformation.VirtualScreen.Height;
}