예제 #1
0
		public IconBarMargin(IconBarManager manager)
		{
			BookmarkManager.Added += new BookmarkEventHandler(OnBookmarkAdded);
			BookmarkManager.Removed += new BookmarkEventHandler(OnBookmarkRemoved);
			
			this.manager = manager;
		}
예제 #2
0
        public IconBarMargin(IconBarManager manager)
        {
            BookmarkManager.Added   += new BookmarkEventHandler(OnBookmarkAdded);
            BookmarkManager.Removed += new BookmarkEventHandler(OnBookmarkRemoved);

            this.manager = manager;
        }
예제 #3
0
		public IconBarMargin(IconBarManager manager)
		{
			BookmarkManager.Added += delegate { InvalidateVisual(); };
			BookmarkManager.Removed += delegate { InvalidateVisual(); };
			
			this.manager = manager;
		}
예제 #4
0
        public IconBarMargin(IconBarManager manager)
        {
            BookmarkManager.Added   += delegate { InvalidateVisual(); };
            BookmarkManager.Removed += delegate { InvalidateVisual(); };

            this.manager = manager;
        }
예제 #5
0
        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();
        }
예제 #6
0
        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();
        }