예제 #1
0
 /// <summary>
 /// Creates a new instance of this class with the specified
 /// button type (Up or Down)
 /// </summary>
 /// <param name="owner">The owning control.</param>
 /// <param name="buttonType">The scroll button type to create.</param>
 public VSNetListBarScrollButton(
     VSNetListBar owner,
     ListBarScrollButtonType buttonType
     ) : base(buttonType)
 {
     this.owner = owner;
 }
 /// <summary>
 /// Required method for Designer support - do not modify
 /// the contents of this method with the code editor.
 /// </summary>
 private void InitializeComponent()
 {
     this.components = new System.ComponentModel.Container();
     System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmVsNetListBarTest));
     this.splitProperties   = new System.Windows.Forms.Splitter();
     this.ilsIconsSmall     = new System.Windows.Forms.ImageList(this.components);
     this.ilsIconsLarge     = new System.Windows.Forms.ImageList(this.components);
     this.pnlProperties     = new System.Windows.Forms.Panel();
     this.cboGroups         = new System.Windows.Forms.ComboBox();
     this.groupPropertyGrid = new System.Windows.Forms.PropertyGrid();
     this.tvwCustom         = new System.Windows.Forms.TreeView();
     this.toolTips          = new System.Windows.Forms.ToolTip(this.components);
     this.vsNetListBar1     = new VSNetListBar();
     this.pnlProperties.SuspendLayout();
     this.SuspendLayout();
     //
     // splitProperties
     //
     this.splitProperties.Dock     = System.Windows.Forms.DockStyle.Right;
     this.splitProperties.Location = new System.Drawing.Point(261, 0);
     this.splitProperties.MinExtra = 4;
     this.splitProperties.Name     = "splitProperties";
     this.splitProperties.Size     = new System.Drawing.Size(3, 398);
     this.splitProperties.TabIndex = 8;
     this.splitProperties.TabStop  = false;
     //
     // ilsIconsSmall
     //
     this.ilsIconsSmall.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilsIconsSmall.ImageStream")));
     this.ilsIconsSmall.TransparentColor = System.Drawing.Color.Transparent;
     this.ilsIconsSmall.Images.SetKeyName(0, "");
     this.ilsIconsSmall.Images.SetKeyName(1, "");
     this.ilsIconsSmall.Images.SetKeyName(2, "");
     this.ilsIconsSmall.Images.SetKeyName(3, "");
     this.ilsIconsSmall.Images.SetKeyName(4, "");
     //
     // ilsIconsLarge
     //
     this.ilsIconsLarge.ImageStream      = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("ilsIconsLarge.ImageStream")));
     this.ilsIconsLarge.TransparentColor = System.Drawing.Color.Transparent;
     this.ilsIconsLarge.Images.SetKeyName(0, "");
     this.ilsIconsLarge.Images.SetKeyName(1, "");
     this.ilsIconsLarge.Images.SetKeyName(2, "");
     this.ilsIconsLarge.Images.SetKeyName(3, "");
     this.ilsIconsLarge.Images.SetKeyName(4, "");
     this.ilsIconsLarge.Images.SetKeyName(5, "");
     //
     // pnlProperties
     //
     this.pnlProperties.Controls.Add(this.cboGroups);
     this.pnlProperties.Controls.Add(this.groupPropertyGrid);
     this.pnlProperties.Dock     = System.Windows.Forms.DockStyle.Right;
     this.pnlProperties.Location = new System.Drawing.Point(264, 0);
     this.pnlProperties.Name     = "pnlProperties";
     this.pnlProperties.Size     = new System.Drawing.Size(208, 398);
     this.pnlProperties.TabIndex = 7;
     //
     // cboGroups
     //
     this.cboGroups.Location = new System.Drawing.Point(4, 5);
     this.cboGroups.Name     = "cboGroups";
     this.cboGroups.Size     = new System.Drawing.Size(200, 20);
     this.cboGroups.TabIndex = 4;
     this.cboGroups.Text     = "comboBox1";
     //
     // groupPropertyGrid
     //
     this.groupPropertyGrid.LineColor = System.Drawing.SystemColors.ScrollBar;
     this.groupPropertyGrid.Location  = new System.Drawing.Point(4, 32);
     this.groupPropertyGrid.Name      = "groupPropertyGrid";
     this.groupPropertyGrid.Size      = new System.Drawing.Size(200, 420);
     this.groupPropertyGrid.TabIndex  = 3;
     //
     // tvwCustom
     //
     this.tvwCustom.Location = new System.Drawing.Point(92, 272);
     this.tvwCustom.Name     = "tvwCustom";
     this.tvwCustom.Size     = new System.Drawing.Size(121, 112);
     this.tvwCustom.TabIndex = 9;
     //
     // vsNetListBar1
     //
     this.vsNetListBar1.AllowDragGroups   = true;
     this.vsNetListBar1.AllowDragItems    = true;
     this.vsNetListBar1.AllowDrop         = true;
     this.vsNetListBar1.BorderStyle       = System.Windows.Forms.BorderStyle.FixedSingle;
     this.vsNetListBar1.DrawStyle         = ListBarDrawStyle.ListBarDrawStyleOfficeXP;
     this.vsNetListBar1.LargeImageList    = null;
     this.vsNetListBar1.Location          = new System.Drawing.Point(35, 32);
     this.vsNetListBar1.Name              = "vsNetListBar1";
     this.vsNetListBar1.SelectOnMouseDown = true;
     this.vsNetListBar1.Size              = new System.Drawing.Size(164, 325);
     this.vsNetListBar1.SmallImageList    = null;
     this.vsNetListBar1.TabIndex          = 0;
     this.vsNetListBar1.ToolTip           = null;
     //
     // frmVsNetListBarTest
     //
     this.AutoScaleBaseSize = new System.Drawing.Size(5, 15);
     this.ClientSize        = new System.Drawing.Size(472, 398);
     this.Controls.Add(this.tvwCustom);
     this.Controls.Add(this.vsNetListBar1);
     this.Controls.Add(this.splitProperties);
     this.Controls.Add(this.pnlProperties);
     this.Name  = "frmVsNetListBarTest";
     this.Text  = "frmVsNetListBarTest";
     this.Load += new System.EventHandler(this.frmVsNetListBarTest_Load);
     this.pnlProperties.ResumeLayout(false);
     this.ResumeLayout(false);
 }
예제 #3
0
 /// <summary>
 /// Constructs a new instance of this collection.
 /// </summary>
 /// <param name="listBar">The owning <see cref="VSNetListBar"/> control.</param>
 public VSNetListBarGroupCollection(VSNetListBar listBar) : base(listBar)
 {
     // intentionally blank
 }