开发者

Something like windows taskbar in c#

I want to simulate something like windows task bar in c#. I want a bar on bottom of a form (i mean mainform) .when i open new form,the form name place on bar and when i 开发者_如何转开发open another new form,the new form name place on bar and ... In other hand ,when i click on the form name on bar,that related form be active. What can i do? Thank you


You could do this with a ToolStrip - you can dock it to the bottom of your form.

You could add ToolStripButtons for each new form you openand set the DisplayStyle to show text.

Then you can handle clicks on the buttons, of course you'll have to set it so the ToolStripButtons get added and removed dynamically in your code. It's a bit of work, but I reckon it's all there for you.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜