使用户控件全屏 [英] Make UserControl fullscreen
本文介绍了使用户控件全屏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在开发一个可重用的用户控件是在其他功能应该提供一个全屏模式。
I'm developing a reusable UserControl that among other features should provide a full screen mode.
但如何做到这一点?
通常,容器形式应该最大化,而不是在用户控件。
Typically, the container form should be maximized, not the UserControl.
有没有办法强制用户控件暂时占据整个屏幕?
Is there any way to force a UserControl to temporary occupy the entire screen?
我明白这不是应该正常完成,但我有理由作出这样的看法。
I understand this is not something that should be normally done, but I have reasons to make it this way.
推荐答案
暂时控制转移到一个新的无国界的形式,使这一形式全屏显示。
Temporarily move the control to a new borderless form and make that form full screen.
这篇关于使用户控件全屏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文