Override the mouse down event, set a flag (ex. mouseDown = true)
Override the mouse up event, set the flag to false
Override the mousemove event, check for the mouseDown flag and change the location of the panel relative to the mouse movement.
You might want to change the cursor when it is over a moveable panel or give the panel a border if it is not distinct on the form.