예제 #1
0
 private void Tabs_MouseMove(object sender, System.Windows.Forms.MouseEventArgs e)
 {
     if (e.Button == MouseButtons.Left)
     {
         if ((TabDragPoint != Point.Empty) && ((Math.Abs(e.X - TabDragPoint.X) > SystemInformation.DragSize.Width) || (Math.Abs(e.Y - TabDragPoint.Y) > SystemInformation.DragSize.Height)))
         {
             Tabs.DoDragDrop(sender, DragDropEffects.Move);
         }
     }
 }