Dockable Form
问题 How do you create a "dockable" form, similar to the windows in Visual Studio? 回答1: Any custom control (composite, not inherited) in winforms can be docked, because it's really just a panel underneath. Combine this with a tablelayout panel for the high-level layout of your form and you have all the pieces. But you still have to implement all the glue and supporting UI yourself. 回答2: I've used Weifen Luo's "DockPanel Suite" to good effect. It's an open source library that mimics Visual Studio's