[C#] Modern UI design

Design UI

Using “Dock” to arrange layout.

Full Code:


Since when we disable the top-bar by setting Form1 “FormBorderStyle: None”, we can’t move the form anymore. So we need to create a DragControl to move forms.

  • Create a new class “DragControl”
  • Add a new “panel” and “dragControl” components. In “dragControl1” properties, we select “SelectionControl: panelHeader”.


“Developer never die” 😎🇻🇳