双屏显示
Screen[] sc;
sc = Screen.AllScreens;//獲取電腦的顯示屏塊數
if (sc.Length > 1)
{
Rectangle rectangle = sc[1].Bounds;//在哪個屏顯示
screen = new DoubleScreen();
screen.SetInit(rectangle.Width, rectangle.Height);
screen.StartPosition = FormStartPosition.Manual;
screen.Location = rectangle.Location;
WindowsControl.DoubleMain = screen;
screen.Show();
}
轉載于:https://www.cnblogs.com/janeaiai/p/7423030.html
總結
- 上一篇: 全息存储技术
- 下一篇: 如何使用Three.js为3D模型构建C