void _helper_FormDragDrop(object sender, ChangeStateEventArgs e)
 {
     switch (e.Effect)
     {
         case DragDropEffects.Top:
             _pane.AddPane(_dragBay, DockDirection.Top);
             return;
         case DragDropEffects.Bottom:
             _pane.AddPane(_dragBay, DockDirection.Bottom);
             return;
         case DragDropEffects.Left:
             _pane.AddPane(_dragBay, DockDirection.Left);
             return;
         case DragDropEffects.Right:
             _pane.AddPane(_dragBay, DockDirection.Right);
             return;
         case DragDropEffects.Fill:
             break;
         case DragDropEffects.OuterTop:
             AddPane(_dragBay, DockDirection.Top);
             return;
         case DragDropEffects.OuterBottom:
             AddPane(_dragBay, DockDirection.Bottom);
             return;
         case DragDropEffects.OuterLeft:
             AddPane(_dragBay, DockDirection.Left);
             return;
         case DragDropEffects.OuterRight:
             AddPane(_dragBay, DockDirection.Right);
             break;
         default:
             return;
     }
 }
 protected void OnFormDragDrop(ChangeStateEventArgs e)
 {
     if (FormDragDrop != null)
         FormDragDrop(this, e);
 }
 protected void OnChangeStateEventHandler(ChangeStateEventArgs e)
 {
     if (ChangeState != null)
         ChangeState(this, e);
 }
 void _helper_FormDragDrop(object sender, ChangeStateEventArgs e)
 {
     switch (e.Effect)
     {
         case DragDropEffects.Top:
             _pane.AddPane(_dragBay, DockDirection.Top);
             break;
         case DragDropEffects.Bottom:
             _pane.AddPane(_dragBay, DockDirection.Bottom);
             break;
         case DragDropEffects.Left:
             _pane.AddPane(_dragBay, DockDirection.Left);
             break;
         case DragDropEffects.Right:
             _pane.AddPane(_dragBay, DockDirection.Right);
             break;
     }
 }