Home Forums WinForms controls Other WinForms controls Absolute Beginner – Smart UI: Loading new forms Reply To: Absolute Beginner – Smart UI: Loading new forms

User (Old forums)
Member
Post count: 23064

When using “adorner” controls such as ExplorerTaskPane, you need to add a second WinPanel within the first one, and use the first panel as the DockHost, and the second one as the ClientHost. You must also set the first panel to Dock.Fill.

i.e. :

FormMain
WinPanel1 <– Dock.Fill, used as the DockHost
WinPanel2 <– Used as the ClientHost
ExplorerTaskpane <– Dock.Left

You will find a C# sample <a href=”http://www.xceedsoft.com/cs/download/SmartUINET/CSharp/DockingWindows adorner.zip”>here</a>, that uses a MenuStrip and a SmartStatusBar, and that adds a ToolWindows when selecting the “Add Window” item from the “File” menu.

Imported from legacy forums. Posted by André (had 3068 views)