在第二台显示器上显示表格 [英] Show form on second monitor
问题描述
我想在第二台显示器上显示我的表格
我定义
公共对象位置{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);
但表格显示在第一台显示器上
您好,
您的应用程序是Winform或WPF,如果它是WPf应用程序,并且您想要显示您的窗口在第二台显示器上,请查看以下主题:
最诚挚的问候,
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
Hello,
Your application is Winform or WPF, if it is WPf application, and you want to show your window on second monitor, please take a look the following thread:
Best Regards,
这篇关于在第二台显示器上显示表格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!