protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
        {
            modalService = windowService;
            if (modalService == null) {
                throw new NotSupportedException("This debugger does not support modal visualizers");
            }

            var container = (ExpressionTreeContainer)objectProvider.GetObject();
            var browser = new TreeBrowser();
            browser.Add(container.TreeNode);
            var treeForm = new TreeWindow(browser, container.Expression);
            modalService.ShowDialog(treeForm);
        }
        protected override void Show(IDialogVisualizerService windowService, IVisualizerObjectProvider objectProvider)
        {
            modalService = windowService;
            if (modalService == null)
            {
                throw new NotSupportedException("This debugger does not support modal visualizers");
            }

            var container = (ExpressionTreeContainer)objectProvider.GetObject();
            var browser   = new TreeBrowser();

            browser.Add(container.TreeNode);
            var treeForm = new TreeWindow(browser, container.Expression);

            modalService.ShowDialog(treeForm);
        }
 public TreeWindow(TreeBrowser browser, String expression)
 {
     this._browser = browser;
     this._errors  = expression;
     InitializeComponent();
 }
 public TreeWindow(TreeBrowser browser, String expression)
 {
     this._browser = browser;
     this._errors = expression;
     InitializeComponent();
 }