Esempio n. 1
0
 protected override bool CanExecuteInternal(ILSpyTreeNode[] nodes)
 {
     return(DeleteEventDefCommand.CanExecute(nodes));
 }
Esempio n. 2
0
 protected override bool CanExecute(Context ctx)
 {
     return(ctx.ReferenceSegment.IsLocalTarget &&
            DeleteEventDefCommand.CanExecute(ctx.Nodes));
 }
Esempio n. 3
0
 void DeleteCanExecute(object sender, CanExecuteRoutedEventArgs e)
 {
     e.CanExecute = DeleteEventDefCommand.CanExecute(MainWindow.Instance.SelectedNodes);
 }