Пример #1
0
		public BookmarkPad()
		{
			instance = this;
			
			bookmarkTreeView.Dock = DockStyle.Fill;
			bookmarkTreeView.CheckBoxes = true;
			bookmarkTreeView.HideSelection = false;
			bookmarkTreeView.Font = ExtTreeNode.RegularBigFont;
			bookmarkTreeView.IsSorted = false;
			
			ToolStrip toolStrip = ToolbarService.CreateToolStrip(this, "/SharpDevelop/Pads/BookmarkPad/Toolbar");
			toolStrip.Stretch   = true;
			toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;
			
			myPanel.Controls.AddRange(new Control[] { bookmarkTreeView, toolStrip} );
			BookmarkManager.Added   += new BookmarkEventHandler(BookmarkManagerAdded);
			BookmarkManager.Removed += new BookmarkEventHandler(BookmarkManagerRemoved);
			
			foreach (SDBookmark mark in BookmarkManager.Bookmarks) {
				AddMark(mark);
			}
		}
Пример #2
0
        public BookmarkPad()
        {
            instance = this;

            bookmarkTreeView.Dock          = DockStyle.Fill;
            bookmarkTreeView.CheckBoxes    = true;
            bookmarkTreeView.HideSelection = false;
            bookmarkTreeView.Font          = ExtTreeNode.RegularBigFont;
            bookmarkTreeView.IsSorted      = false;

            ToolStrip toolStrip = ToolbarService.CreateToolStrip(this, "/SharpDevelop/Pads/BookmarkPad/Toolbar");

            toolStrip.Stretch   = true;
            toolStrip.GripStyle = System.Windows.Forms.ToolStripGripStyle.Hidden;

            myPanel.Controls.AddRange(new Control[] { bookmarkTreeView, toolStrip });
            BookmarkManager.Added   += new BookmarkEventHandler(BookmarkManagerAdded);
            BookmarkManager.Removed += new BookmarkEventHandler(BookmarkManagerRemoved);

            foreach (SDBookmark mark in BookmarkManager.Bookmarks)
            {
                AddMark(mark);
            }
        }
Пример #3
0
 public BookmarkPad()
 {
     instance = this;
 }
Пример #4
0
 public BookmarkPad()
 {
     instance = this;
     myPanel.Children.Add(CreateToolBar());
     listView.HideColumns(2, 0);
 }
Пример #5
0
		public BookmarkPad()
		{
			instance = this;
		}
Пример #6
0
		public BookmarkPad()
		{
			instance = this;
			myPanel.Children.Add(CreateToolBar());
			listView.HideColumns(2, 0);
		}