开发者

Add a second toolbar to the existing toolbar

C# WinForms:

I have a static toolbar that is always on my form. but sometimes for example when user selects a开发者_如何学C command from a menu, I wish to have a second toolbar that is getting added to the right hand side of my static toolbar. How can I accomplish that?

Thanks.


You can make a second ToolStrip in the designer and set its Visible property to false.

Then, when the menu command is clicked, set the second toolstrip's Visible to true.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜