Tabbed form navigation in Windows Forms
How to navigate in .net forms? I need to navigate to a page based on selection from a list of options. But creating new forms for each selection doe开发者_开发知识库sn't look good. So how to make a better navigation?
Perhaps you are looking for a docking windows library? My team uses this one
http://sourceforge.net/projects/dockpanelsuite/
it is free and suits our needs. It allows you to stack new forms in a "tabbed" way, the user can close the forms/tabs he does not need any more, and you can customize the behaviour in several ways.
How about System.Windows.Forms.TabControl ? You can create and fill the tabs at design time.
You can do it by creating new tab(System.Windows.Forms.TabControl) instance http://msdn.microsoft.com/en-us/library/aa984280(v=vs.71).aspx) on the fly(runtime) like on linklable click and also if you want to check whether it already opened then try iterating with TabControl's all Tabs.
精彩评论