Beispiel #1
0
 internal void SetOwner(GroupView owner)
 {
     this._owner = owner;
 }
Beispiel #2
0
 internal GroupViewSectionCollection(GroupView owner)
 {
     this._owner = owner;
     this._sections = new ArrayList();
 }
Beispiel #3
0
 public ControlCollection(GroupView owner)
     : base(owner)
 {
     this._owner = owner;
 }
Beispiel #4
0
        private void InitializeComponent()
        {
            this._groupViewListView = new ToolboxGroupViewListView();
            this._groupViewListView.MultiLineToolTips = true;
            this._groupView = new GroupView(this._groupViewListView);
            this._groupViewImages = new ImageList();
            base.SuspendLayout();
            this._groupViewImages.ImageSize = new Size(0x10, 0x10);
            this._groupView.Dock = DockStyle.Fill;
            this._groupView.AllowDrop = true;
            this._groupView.AllowDrag = true;
            this._groupView.SectionImages = this._groupViewImages;
            this._groupView.SelectedSectionChanged += new EventHandler(this.OnGroupViewSelectedSectionChanged);
            this._groupView.DragDrop += new DragEventHandler(this.OnGroupViewDragDrop);
            this._groupView.DragEnter += new DragEventHandler(this.OnGroupViewDragEnter);
            this._groupView.DragOver += new DragEventHandler(this.OnGroupViewDragOver);
            this._groupView.DragLeave += new EventHandler(this.OnGroupViewDragLeave);
            this._groupViewListView.ItemActivate += new EventHandler(this.OnGroupViewItemActivate);
            this._groupViewListView.ShowContextMenu += new ShowContextMenuEventHandler(this.OnGroupViewShowContextMenu);
            this._groupViewListView.LabelEdit = true;
            this._groupViewListView.AfterLabelEdit += new LabelEditEventHandler(this.OnGroupViewLabelEdit);
            this._groupViewListView.BeforeLabelEdit += new LabelEditEventHandler(this.OnGroupViewBeforeLabelEdit);
            this.Text = "Toolbox";

            base.Icon = new Icon(typeof(ToolboxToolWindow), "ToolboxToolWindow.ico");
            base.Controls.Add(this._groupView);
            base.ResumeLayout(false);
        }