Ejemplo n.º 1
0
 void designPanel_DragLeave(object sender, DragEventArgs e)
 {
     try
     {
         if (moveLogic != null)
         {
             moveLogic.Cancel();
             moveLogic.ClickedOn.Services.Selection.SetSelectedComponents(null);
             moveLogic.DesignPanel.IsAdornerLayerHitTestVisible = true;
             moveLogic = null;
             changeGroup.Abort();
         }
     }
     catch (Exception x)
     {
         DragDropExceptionHandler.RaiseUnhandledException(x);
     }
 }
Ejemplo n.º 2
0
 protected override void OnStopped()
 {
     moveLogic.Cancel();
 }