public ObjectGraphControl() { InitializeComponent(); debuggerService = DebuggerService.CurrentDebugger as WindowsDebugger; if (debuggerService == null) throw new ApplicationException("Only windows debugger is currently supported"); this.layoutViewModel = new EnumViewModel<LayoutDirection>(); this.layoutViewModel.PropertyChanged += new PropertyChangedEventHandler(layoutViewModel_PropertyChanged); this.cmbLayoutDirection.DataContext = this.layoutViewModel; this.layouter = new TreeLayouter(); this.graphDrawer = new GraphDrawer(this.canvas); }
public ObjectGraphControl() { InitializeComponent(); debuggerService = DebuggerService.CurrentDebugger as WindowsDebugger; if (debuggerService == null) { throw new ApplicationException("Only windows debugger is currently supported"); } this.layoutViewModel = new EnumViewModel <LayoutDirection>(); this.layoutViewModel.PropertyChanged += new PropertyChangedEventHandler(layoutViewModel_PropertyChanged); this.cmbLayoutDirection.DataContext = this.layoutViewModel; this.layouter = new TreeLayouter(); this.graphDrawer = new GraphDrawer(this.canvas); }