private void GiveToolStripPanelFeedback(ToolStrip toolStripToDrag, Point screenLocation)
 {
     if ((this.Orientation == System.Windows.Forms.Orientation.Horizontal) && (this.RightToLeft == RightToLeft.Yes))
     {
         screenLocation.Offset(-toolStripToDrag.Width, 0);
     }
     if (CurrentFeedbackRect == null)
     {
         CurrentFeedbackRect = new FeedbackRectangle(toolStripToDrag.ClientRectangle);
     }
     if (!CurrentFeedbackRect.Visible)
     {
         toolStripToDrag.SuspendCaputureMode();
         try
         {
             CurrentFeedbackRect.Show(screenLocation);
             toolStripToDrag.CaptureInternal = true;
         }
         finally
         {
             toolStripToDrag.ResumeCaputureMode();
         }
     }
     else
     {
         CurrentFeedbackRect.Move(screenLocation);
     }
 }
        internal static void ClearDragFeedback()
        {
            FeedbackRectangle feedbackRect = ToolStripPanel.feedbackRect;

            ToolStripPanel.feedbackRect = null;
            if (feedbackRect != null)
            {
                feedbackRect.Dispose();
            }
        }
 private void GiveToolStripPanelFeedback(ToolStrip toolStripToDrag, Point screenLocation)
 {
     if ((this.Orientation == System.Windows.Forms.Orientation.Horizontal) && (this.RightToLeft == RightToLeft.Yes))
     {
         screenLocation.Offset(-toolStripToDrag.Width, 0);
     }
     if (CurrentFeedbackRect == null)
     {
         CurrentFeedbackRect = new FeedbackRectangle(toolStripToDrag.ClientRectangle);
     }
     if (!CurrentFeedbackRect.Visible)
     {
         toolStripToDrag.SuspendCaputureMode();
         try
         {
             CurrentFeedbackRect.Show(screenLocation);
             toolStripToDrag.CaptureInternal = true;
         }
         finally
         {
             toolStripToDrag.ResumeCaputureMode();
         }
     }
     else
     {
         CurrentFeedbackRect.Move(screenLocation);
     }
 }
 internal static void ClearDragFeedback()
 {
     FeedbackRectangle feedbackRect = ToolStripPanel.feedbackRect;
     ToolStripPanel.feedbackRect = null;
     if (feedbackRect != null)
     {
         feedbackRect.Dispose();
     }
 }