3 overrides of SetBounds
System.Windows.Forms (3)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
1062protected internal override void SetBounds(Rectangle rect)
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
89protected internal override void SetBounds(Rectangle bounds)
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
306protected internal override void SetBounds(Rectangle rect)
21 references to SetBounds
System.Windows.Forms (13)
System\Windows\Forms\Controls\ToolStrips\ToolStrip.cs (2)
4070item.SetBounds(new Rectangle(location, item.Size)); 4202Grip.SetBounds(gripRectangle);
System\Windows\Forms\Controls\ToolStrips\ToolStripControlHost.cs (1)
39SetBounds(c.Bounds);
System\Windows\Forms\Controls\ToolStrips\ToolStripDropDownMenu.cs (2)
826UpScrollButton.SetBounds(new Rectangle(upLocation, upSize)); 832DownScrollButton.SetBounds(new Rectangle(downLocation, downSize));
System\Windows\Forms\Controls\ToolStrips\ToolStripItem.cs (3)
991SetBounds(bounds); 1814SetBounds(currentBounds); 3256=> SetBounds(new Rectangle(x, y, width, height));
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
1077base.SetBounds(rect);
System\Windows\Forms\Controls\ToolStrips\ToolStripOverflowButton.cs (1)
106base.SetBounds(bounds);
System\Windows\Forms\Controls\ToolStrips\ToolStripSeparator.cs (1)
317base.SetBounds(rect);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitButton.cs (1)
325SplitButtonButton.SetBounds(splitButtonButtonBounds);
System\Windows\Forms\Controls\ToolStrips\ToolStripSplitStackLayout.cs (1)
517item.SetBounds(new Rectangle(itemLocation, itemSize));
System.Windows.Forms.Tests (8)
System\Windows\Forms\ToolStripItemTests.cs (1)
15607public new void SetBounds(Rectangle bounds) => base.SetBounds(bounds);
ToolStripDropDownMenuTests.cs (7)
51firstItem.SetBounds(new Rectangle(0, 0, 80, 20)); 52lastItem.SetBounds(new Rectangle(0, 20, 80, 20)); 78firstItem.SetBounds(new Rectangle(0, 0, 80, 20)); 79middleItem.SetBounds(new Rectangle(0, 20, 80, 20)); 80lastItem.SetBounds(new Rectangle(0, 40, 80, 20)); 100firstItem.SetBounds(new Rectangle(0, 0, 80, 20)); 101secondItem.SetBounds(new Rectangle(0, 20, 80, 20));