protected override void BindEvents(Panel p)
 {
     base.BindEvents(p);
     dragDetector            = new MouseDragDetector(p);
     dragDetector.MouseDrag += DragDetector_MouseDrag;
     dragDetector.MouseUp   += DragDetector_MouseUp;
 }
 protected override void BindEvents(Panel Panel)
 {
     dragDetector            = new MouseDragDetector(Panel);
     dragDetector.MouseDrag += DragDetector_MouseDrag;
     dragDetector.MouseUp   += DragDetector_MouseUp;
 }