开发者

Be active a child form by giving its name or its text in c#

I have a Parent form with some child forms. Imagine some of these child forms are opened and their name or their text are shown in a something like tabpage. now when开发者_运维知识库 i click on a tab page ,the related form must be active. What can i do?

Thanks.


If you know the name of the Tab you want to activate, use the Tabcontrol object to make it active

TabControl1.SelectedTab = MyChildTab

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜