如何在c#中隐藏/显示组框(如查找和替换窗口) [英] how to hide/show groupbox (like find and replace window) in c#
本文介绍了如何在c#中隐藏/显示组框(如查找和替换窗口)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何在Windows应用程序中隐藏/显示groupbox使用c#
例如
查找和替换窗口,这有选项+符号
当我点击它会显示其他控件
谢谢你
解决方案
提供你问题的完整细节。也许这是你的解决方案。
private void button1_Click( object sender,EventArgs e)
{
groupBox1.Visible = 假跨度>;
}
private void button2_Click( object sender,EventArgs e)
{
groupBox1.Visible = true ;
}
可折叠Group Box [ ^ ]
how to hide/show groupbox in windows application using c#
for example
Find and replace window, this has options + symbol
when i click it will show other controlss
thank u
解决方案
Give complete details of your question. May be this is your solution.
private void button1_Click(object sender, EventArgs e) { groupBox1.Visible = false; }
private void button2_Click(object sender, EventArgs e) { groupBox1.Visible = true; }
Collapsible Group Box[^]
这篇关于如何在c#中隐藏/显示组框(如查找和替换窗口)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文