This simple library helps you to create windows similar to the ones used in Photoshop.
Firstly, add a reference to DockForms.Dll, then add a Dock control to your form.
Now we need to create some dockable forms. Create a new class called DockForm1, and inherit DockForms.DockForm.
Public Class DockForm1 Inherits DockForms.DockForm Public Sub New() End Sub End Class
Go to the code for your main form and add the following:
For index As Integer = 1 To 3 Dim df As New DockForm1 df.Owner = Me df.Text = "Dock Form " & index.ToString Me.Dock1.AddForm(df, True) df.Show() Next index Me.Dock1.SetDockTheme(New DockForms.DockThemes.BeOS)
And we're done. This will add three dockable forms to your main form.
DockForms also contains a Theme Maker tool, which allows you to easily create themes, and even generates C#/VB code for you!