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.
我正在开发一个项目,该项目使用带有导航面板的MDI应用程序。目前它是一个ListView。但是,我想重新设计它类似于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.
如果这需要覆盖默认的paint方法,那么如果你能提供一些关于如何使用paint方法的好参考,那也会有所帮助,因为我目前没有任何使用它的经验。
Thanks in advance.
提前致谢。
3 个解决方案
#1
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
您想要使用ToolBox控件。一些免费提供的产品是我最常用的,由Gordon Robinson用于:http://gordondrobinson.com/post/Toolbox-control-written-in-C.aspx
#2
Have a look at the Nevron User Interface: http://www.nevron.com/Products.UserInterfaceFor.NET.Overview.aspx
看看Nevron用户界面:http://www.nevron.com/Products.UserInterfaceFor.NET.Overview.aspx
#3
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.
我相信你需要的是一个PanelBar控件。我不会详细介绍如何创建一个,因为这不符合帖子的主题,但如果你不止一次使用它,我强烈建议你寻找第三方实现在项目中,或在多个项目中。
Here is an example: http://www.telerik.com/products/winforms/panelbar.aspx
以下是一个示例:http://www.telerik.com/products/winforms/panelbar.aspx
#1
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
您想要使用ToolBox控件。一些免费提供的产品是我最常用的,由Gordon Robinson用于:http://gordondrobinson.com/post/Toolbox-control-written-in-C.aspx
#2
Have a look at the Nevron User Interface: http://www.nevron.com/Products.UserInterfaceFor.NET.Overview.aspx
看看Nevron用户界面:http://www.nevron.com/Products.UserInterfaceFor.NET.Overview.aspx
#3
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.
我相信你需要的是一个PanelBar控件。我不会详细介绍如何创建一个,因为这不符合帖子的主题,但如果你不止一次使用它,我强烈建议你寻找第三方实现在项目中,或在多个项目中。
Here is an example: http://www.telerik.com/products/winforms/panelbar.aspx
以下是一个示例:http://www.telerik.com/products/winforms/panelbar.aspx