18 references to s_selectionBorderSize
System.Windows.Forms.Design (18)
System\Windows\Forms\Design\Behavior\NoResizeSelectionBorderGlyph.cs (4)
47
hitBounds.Y -= (DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
) / 2;
48
hitBounds.Height += DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
;
54
hitBounds.X -= (DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
) / 2;
55
hitBounds.Width += DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
;
System\Windows\Forms\Design\Behavior\SelectionBorderGlyph.cs (8)
45
hitBounds.Y -= (DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
) / 2;
46
hitBounds.Height += DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
;
56
hitBounds.Y -= (DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
) / 2;
57
hitBounds.Height += DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
;
67
hitBounds.X -= (DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
) / 2;
68
hitBounds.Width += DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
;
78
hitBounds.X -= (DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
) / 2;
79
hitBounds.Width += DesignerUtils.s_selectionBorderHitArea - DesignerUtils.
s_selectionBorderSize
;
System\Windows\Forms\Design\DesignerUtils.cs (6)
54
public static int s_selectionBorderOffset = ((s_handleSize -
s_selectionBorderSize
) / 2) - s_handleOverlap;
60
public static int s_noResizeBorderOffset = ((s_noResizeHandleSize -
s_selectionBorderSize
) / 2);
70
public static int s_lockedSelectionBorderOffsetY = ((s_lockHandleHeight -
s_selectionBorderSize
) / 2) - s_lockHandleOverlap;
71
public static int s_lockedSelectionBorderOffsetX = ((s_lockHandleWidth -
s_selectionBorderSize
) / 2) - s_lockHandleOverlap;
513
return GetBoundsForSelectionType(originalBounds, type,
s_selectionBorderSize
, s_selectionBorderOffset);
518
return GetBoundsForSelectionType(originalBounds, type,
s_selectionBorderSize
, s_noResizeBorderOffset);