Ejemplo n.º 1
0
        public override void Execute(object parameter)
        {
            IMemberTreeNode node = MainWindow.Instance.SelectedNodes.First() as IMemberTreeNode;

            ILViewerView win = new ILViewerView(node, ILCode.Get(node.Member));

            win.ShowDialog();
        }
Ejemplo n.º 2
0
        public void Execute(TextViewContext context)
        {
            if (context.SelectedTreeNodes != null)
            {
                IMemberTreeNode node = context.SelectedTreeNodes.First() as IMemberTreeNode;

                ILViewerView win = new ILViewerView(node, ILCode.Get(node.Member));
                win.ShowDialog();
            }
        }