如何以编程方式最大化窗体? [英] How to maximize the windows Form programmatically?
本文介绍了如何以编程方式最大化窗体?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你可以给我一个关于...如何通过点击按钮全屏显示表格的想法
can u give me a idea about ...how to make fullscreen the forms in a button click
推荐答案
试试这个
try this
private void btnMax_Click(object sender, EventArgs e)
{
this.WindowState = FormWindowState.Maximized;
}
希望这有帮助
Hope this helps
Google? :''(
[ ^ ]
Google? :''(
How To Make a Windows Form App Truly Full Screen (and Hide Taskbar) in C#[^]
>
这篇关于如何以编程方式最大化窗体?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文