[英]How to fit Windows Form to screen in Windows 8?
I am working with windows application i have removed maximized property to all windows.我正在使用 Windows 应用程序,我已经删除了所有窗口的最大化属性。 My doubt is how to fix the windows only upto toolbar in windows 8.我的疑问是如何在 Windows 8 中仅将窗口修复到工具栏。
I have verified the below link: Didn't Resolve my problem我已经验证了以下链接:没有解决我的问题
How to fit Windows Form to any screen resolution? 如何使 Windows 窗体适合任何屏幕分辨率?
Check The Image检查图像
您必须最大化表单才能使其适合任何屏幕分辨率
public Form1()
{
InitializeComponent();
this.WindowState = FormWindowState.Normal;
this.StartPosition = FormStartPosition.Manual;
this.Size = Screen.PrimaryScreen.WorkingArea.Size;
}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.