为桌面应用程序寻找 Visual Studio 工具箱风格的导航

发布于 2024-07-12 09:37:10 字数 190 浏览 6 评论 0 原文

我正在开发一个使用侧面带有导航面板的 MDI 应用程序的项目。 目前它是一个ListView。 但是,我想将其重新设计为类似于 Visual Studio 2008 中的工具箱。

如果这需要覆盖默认的绘制方法,那么如果您可以提供一些有关如何使用绘制的良好参考,也会有所帮助方法,因为我目前没有任何使用它的经验。

提前致谢。

I'm working on a project that uses an MDI application with a navigation panel on the side. Currently it is a ListView. However, I would like to redesign it to be similar to the toolbox in visual studio 2008.

If this is something that would require overriding the default paint method, it would also help if you could provide some good references on how to work with the paint method as I do not currently have any experience using it.

Thanks in advance.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦在深巷 2024-07-19 09:37:10

您想要使用 ToolBox 控件。 一些免费提供的工具是我用过的最友好的,由 Gordon Robinson 提供: http://gordondrobinson.com/post/Toolbox-control-writing-in-C.aspx

You want to be using a ToolBox control. A few freely available ones are available the most friendly that i've used being by Gordon Robinson at: http://gordondrobinson.com/post/Toolbox-control-written-in-C.aspx

浅浅淡淡 2024-07-19 09:37:10

我相信您需要的是一个PanelBar控件。 我不会详细介绍如何创建一个,因为这不符合帖子的主题,但如果您要多次使用它,我强烈建议您寻找第三方实现在一个项目中,或者在多个项目中。

这是一个示例: http://www.telerik.com/products/winforms/panelbar .aspx

I believe what you need is a PanelBar control. I won't go into details on how to create one, as this would fall short of the topic of the post, but I would highly suggest that you look for a third-party implementation if you're going to use this more than once in the project, or in more than one project.

Here is an example: http://www.telerik.com/products/winforms/panelbar.aspx

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文