跨屏显示———(一个程序,跑出两个不同窗体,显示在两个屏幕上)

private void Form2_Load(object sender, EventArgs e)
{


this.DesktopLocation = Screen.AllScreens[1]--(一号屏幕).Bounds.Location;--显示在屏幕的左上角

 

this.FormBorderStyle = FormBorderStyle.None;--最大化占满屏幕
this.DesktopBounds= Screen.AllScreens[1]--(一号屏幕).Bounds;

}

--form2 显示在投影仪上

posted @ 2017-08-12 09:35  一人饮酒醉(SeVen❤)  阅读(1508)  评论(0编辑  收藏  举报