问题描述
我想在第二台显示器上显示我的表格
我定义
公共对象位置{get;私人集; }
          this.Left = Screen.AllScreens [Monitor] .Bounds.Width;
          this.Top = Screen.AllScreens [Monitor] .Bounds.Height;
          this.Location = Screen.AllScreens [Monitor] .Bounds.Location;
          new System.Drawing.Point(Screen.AllScreens [Monitor] .Bounds.Location.X, Screen.AllScreens [Monitor] .Bounds.Location .Y);
但表格显示在第一台显示器上
I would like show my form on second monitor
I define
public object Location { get; private set; }
this.Left = Screen.AllScreens[Monitor].Bounds.Width;
this.Top = Screen.AllScreens[Monitor].Bounds.Height;
this.Location = Screen.AllScreens[Monitor].Bounds.Location;
new System.Drawing.Point(Screen.AllScreens[Monitor].Bounds.Location.X, Screen.AllScreens[Monitor].Bounds.Location.Y);
But Form show on first monitor
这篇关于在第二台显示器上显示表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!