DockMan Sample: Demonstrates Docking and Anchoring in a Windows Forms Application
The DockMan sample illustrates the docking and anchoring functionality of Windows Forms in a .NET Framework application, focusing on docking and anchoring a button control.
Building and Running the Sample
To build and run DockMan using Visual Studio
- In the Visual Studio IDE, open the solution file DockMan.sln.
- In Solution Explorer, right-click the DockMan solution.
- On the shortcut menu, click Build.
- On the Debug menu, click Start.
Test the docking capabilities of the button control by docking it in different locations. You need to resize the window to see the effect of anchoring.
This sample demonstrates the following keywords: