13 references to BUTTON_PAD
System.Windows.Forms (13)
winforms\Managed\System\WinForms\Design\ComponentEditorForm.cs (13)
268
Rectangle pageHostBounds = new Rectangle(2 *
BUTTON_PAD
+ selectorWidth, 2 *
BUTTON_PAD
+ STRIP_HEIGHT,
271
grayStrip.Bounds = new Rectangle(pageHostBounds.X,
BUTTON_PAD
,
284
Size size = new Size(bounds.Width + 3 * (
BUTTON_PAD
+ xFrame) + selectorWidth,
285
bounds.Height + STRIP_HEIGHT + 4 *
BUTTON_PAD
+ BUTTON_HEIGHT +
289
selector.Bounds = new Rectangle(
BUTTON_PAD
,
BUTTON_PAD
,
290
selectorWidth, bounds.Height + STRIP_HEIGHT + 2 *
BUTTON_PAD
+ BUTTON_HEIGHT);
293
bounds.Y = bounds.Height + bounds.Y +
BUTTON_PAD
;
303
bounds.X -= (BUTTON_WIDTH +
BUTTON_PAD
);
310
bounds.X -= (BUTTON_WIDTH +
BUTTON_PAD
);
317
bounds.X -= (BUTTON_WIDTH +
BUTTON_PAD
);
383
maxSize = new Size(3 * (BUTTON_WIDTH +
BUTTON_PAD
), 24 * pageTypes.Length);