Setting up DockPanelSuite in Visual Studio via vb.net

Setting up DockPanelSuite in Visual Studio via vb.net
DockPanelSuite can allow you to incorporate dock-able and removable panels into your application’s GUI. This will give you functionality similar to Visual Studio’s GUI..

Import DockPanelSuite to your project via NuGet.

Drag the DockPanel control onto your main form:

Ensure IsMdiContainer is set to True:

Add a new form to your project and then open up the form.designer code by navigating to it in Solution Explorer:

Change: Inherits System.Windows.Forms.Form

to: Inherits WeifenLuo.WinFormsUI.Docking.DockContent

Then just call your sub forms via the main form:

Where DockPanel1 is the dock panel on your main form. And that’s it!

Share this:
0 votes

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these <abbr title="HyperText Markup Language">HTML</abbr> tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">