Пример #1
0
 ContextMenuEntryContext CreateContext(ContextMenuEventArgs e)
 {
     return(ContextMenuEntryContext.Create(elem, e.CursorLeft == -1 && e.CursorTop == -1));
 }
Пример #2
0
 public void Initialize(ContextMenuEntryContext context, MenuItem menuItem)
 {
     Initialize(menuItem);
 }
Пример #3
0
 public bool IsEnabled(ContextMenuEntryContext context)
 {
     return(CanExecute(null));
 }
Пример #4
0
 public void Execute(ContextMenuEntryContext context)
 {
     base.Execute(null);
 }
Пример #5
0
 public bool IsVisible(ContextMenuEntryContext context)
 {
     return(MainWindow.Instance.IsDecompilerTabControl(context.Element as TabControl) &&
            CanExecute(null));
 }