Cancel() public method

public Cancel ( ) : void
return void
Exemplo 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);
     }
 }
Exemplo n.º 2
0
 protected override void OnStopped()
 {
     moveLogic.Cancel();
 }