I am making a program that has a MDIParent and the forms in it i dont have to have any bar at the top. I know this is not possible so I mad a custom windows out of 2 Group Boxes one as main and the other as the top bar.

I want to be able to use the top bar witch is a child in The main group box to move when i have the click down on the mouse and i drag.

Could anyone spare a simple code that i can use to make the group box dragable?