public IconBarMargin(IconBarManager manager) { BookmarkManager.Added += new BookmarkEventHandler(OnBookmarkAdded); BookmarkManager.Removed += new BookmarkEventHandler(OnBookmarkRemoved); this.manager = manager; }
public IconBarMargin(IconBarManager manager) { BookmarkManager.Added += delegate { InvalidateVisual(); }; BookmarkManager.Removed += delegate { InvalidateVisual(); }; this.manager = manager; }
public IconBarMargin(IconBarManager manager, DecompilerTextView decompilerTextView) { this.decompilerTextView = decompilerTextView; BookmarkManager.Added += OnBookmarkAdded; BookmarkManager.Removed += OnBookmarkRemoved; decompilerTextView.OnShowOutput += decompilerTextView_OnShowOutput; MainWindow.Instance.ExecuteWhenLoaded(() => { MainWindow.Instance.OnTabStateRemoved += OnTabStateRemoved; }); this.manager = manager; SyncBookmarks(); }
public IconBarMargin(IconBarManager manager, DecompilerTextView decompilerTextView) { this.decompilerTextView = decompilerTextView; BookmarkManager.Added += OnBookmarkAdded; BookmarkManager.Removed += OnBookmarkRemoved; decompilerTextView.OnShowOutput += decompilerTextView_OnShowOutput; MainWindow.Instance.ExecuteWhenLoaded(() => { MainWindow.Instance.OnDecompilerTextViewRemoved += OnDecompilerTextViewRemoved; }); this.manager = manager; SyncBookmarks(); }