17 references to s_handleOverlap
System.Windows.Forms.Design (17)
System\Windows\Forms\Design\Behavior\GrabHandleGlyph.cs (16)
33
bounds = new Rectangle(controlBounds.X + DesignerUtils.
s_handleOverlap
- DesignerUtils.s_handleSize, controlBounds.Y + DesignerUtils.
s_handleOverlap
- DesignerUtils.s_handleSize, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
38
bounds = new Rectangle(controlBounds.Right - DesignerUtils.
s_handleOverlap
, controlBounds.Y + DesignerUtils.
s_handleOverlap
- DesignerUtils.s_handleSize, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
43
bounds = new Rectangle(controlBounds.Right - DesignerUtils.
s_handleOverlap
, controlBounds.Bottom - DesignerUtils.
s_handleOverlap
, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
48
bounds = new Rectangle(controlBounds.X + DesignerUtils.
s_handleOverlap
- DesignerUtils.s_handleSize, controlBounds.Bottom - DesignerUtils.
s_handleOverlap
, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
56
if (controlBounds.Width >= (2 * DesignerUtils.
s_handleOverlap
) + (2 * DesignerUtils.s_handleSize))
58
bounds = new Rectangle(controlBounds.X + (controlBounds.Width / 2) - (DesignerUtils.s_handleSize / 2), controlBounds.Y + DesignerUtils.
s_handleOverlap
- DesignerUtils.s_handleSize, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
68
if (controlBounds.Width >= (2 * DesignerUtils.
s_handleOverlap
) + (2 * DesignerUtils.s_handleSize))
70
bounds = new Rectangle(controlBounds.X + (controlBounds.Width / 2) - (DesignerUtils.s_handleSize / 2), controlBounds.Bottom - DesignerUtils.
s_handleOverlap
, DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
80
if (controlBounds.Height >= (2 * DesignerUtils.
s_handleOverlap
) + (2 * DesignerUtils.s_handleSize))
82
bounds = new Rectangle(controlBounds.X + DesignerUtils.
s_handleOverlap
- DesignerUtils.s_handleSize, controlBounds.Y + (controlBounds.Height / 2) - (DesignerUtils.s_handleSize / 2), DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
92
if (controlBounds.Height >= (2 * DesignerUtils.
s_handleOverlap
) + (2 * DesignerUtils.s_handleSize))
94
bounds = new Rectangle(controlBounds.Right - DesignerUtils.
s_handleOverlap
, controlBounds.Y + (controlBounds.Height / 2) - (DesignerUtils.s_handleSize / 2), DesignerUtils.s_handleSize, DesignerUtils.s_handleSize);
System\Windows\Forms\Design\DesignerUtils.cs (1)
54
public static int s_selectionBorderOffset = ((s_handleSize - s_selectionBorderSize) / 2) -
s_handleOverlap
;