1 write to checkBounds
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (1)
1195
layout.
checkBounds
= new Rectangle(client.X, client.Y, checkSizeFull, checkSizeFull);
50 references to checkBounds
System.Windows.Forms (50)
winforms\Managed\System\WinForms\ButtonInternal\ButtonBaseAdapter.cs (12)
1206
layout.
checkBounds
.X = (field.X+field.Width) - layout.
checkBounds
.Width;
1209
layout.
checkBounds
.X = field.X + (field.Width - layout.
checkBounds
.Width)/2;
1213
layout.
checkBounds
.Y = (field.Y+field.Height)-layout.
checkBounds
.Height;
1216
layout.
checkBounds
.Y = field.Y + 2; // + 2: this needs to be aligned to the text (bug 87483)
1219
layout.
checkBounds
.Y = field.Y + (field.Height - layout.
checkBounds
.Height)/2;
1268
layout.checkArea = layout.
checkBounds
;
1272
layout.
checkBounds
.Width -= checkPaddingSize;
1273
layout.
checkBounds
.Height -= checkPaddingSize;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxBaseAdapter.cs (9)
44
Rectangle bounds = layout.
checkBounds
;
144
Rectangle fullSize = layout.
checkBounds
;
222
CheckBoxRenderer.DrawCheckBox(g, new Point(layout.
checkBounds
.Left, layout.
checkBounds
.Top), CheckBoxRenderer.ConvertFromButtonState(style, true, Control.MouseIsOver), Control.HandleInternal);
225
ControlPaint.DrawMixedCheckBox(g, layout.
checkBounds
, style);
230
CheckBoxRenderer.DrawCheckBox(g, new Point(layout.
checkBounds
.Left, layout.
checkBounds
.Top), CheckBoxRenderer.ConvertFromButtonState(style, false, Control.MouseIsOver), Control.HandleInternal);
233
ControlPaint.DrawCheckBox(g, layout.
checkBounds
, style);
283
layout.focus = Control.AutoSize ? Rectangle.Inflate(layout.
checkBounds
, -2, -2) : layout.field;
winforms\Managed\System\WinForms\ButtonInternal\CheckBoxPopupAdapter.cs (6)
38
DrawCheckBackground(e, layout.
checkBounds
, colors.windowText, colors.options.highContrast ? colors.buttonFace : colors.highlight, true, colors);
39
DrawFlatBorder(e.Graphics, layout.
checkBounds
,
63
DrawCheckBackground(e, layout.
checkBounds
, colors.windowText, colors.options.highContrast ? colors.buttonFace : colors.highlight, true, colors);
64
DrawPopupBorder(g, layout.
checkBounds
, colors);
92
DrawCheckBackground(e, layout.
checkBounds
, colors.windowText, colors.buttonFace, true, colors);
93
DrawPopupBorder(g, layout.
checkBounds
, colors);
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonBaseAdapter.cs (7)
30
DrawCheckBackgroundFlat(e, layout.
checkBounds
, checkBorder, checkBackground);
146
Rectangle vCross = new Rectangle (layout.
checkBounds
.X + GetScaledNumber(offset, scale), layout.
checkBounds
.Y + GetScaledNumber(offset - 1, scale), GetScaledNumber(2, scale), GetScaledNumber(4, scale));
148
Rectangle hCross = new Rectangle (layout.
checkBounds
.X + GetScaledNumber(offset - 1, scale), layout.
checkBounds
.Y + GetScaledNumber(offset, scale), GetScaledNumber(4, scale), GetScaledNumber(2, scale));
180
Rectangle check = layout.
checkBounds
;
203
layout.focus = Control.AutoSize ? layout.
checkBounds
: layout.field;
winforms\Managed\System\WinForms\ButtonInternal\RadioButtonPopupAdapter.cs (3)
34
DrawCheckBackgroundFlat(e, layout.
checkBounds
, colors.buttonShadow, colors.options.highContrast ? colors.buttonFace : colors.highlight);
57
DrawCheckBackground3DLite(e, layout.
checkBounds
, colors.windowText, checkBackgroundColor, colors, true);
79
DrawCheckBackground3DLite(e, layout.
checkBounds
, colors.windowText, colors.highlight, colors, true);
winforms\Managed\System\WinForms\CheckBox.cs (2)
402
return Adapter.CommonLayout().Layout().
checkBounds
;
419
return Adapter.CommonLayout().Layout().
checkBounds
;
winforms\Managed\System\WinForms\DataGridViewCheckBoxCell.cs (9)
1495
layout.
checkBounds
,
1500
CheckBoxBaseAdapter.DrawPopupBorder(g, layout.
checkBounds
, colors);
1511
resultBounds = layout.
checkBounds
;
1542
layout.
checkBounds
,
1547
CheckBoxBaseAdapter.DrawPopupBorder(g, layout.
checkBounds
, colors);
1558
resultBounds = layout.
checkBounds
;
1587
layout.
checkBounds
,
1592
ButtonBaseAdapter.DrawFlatBorder(g, layout.
checkBounds
, colors.buttonShadow);
1603
resultBounds = layout.
checkBounds
;
winforms\Managed\System\WinForms\RadioButton.cs (2)
340
return Adapter.CommonLayout().Layout().
checkBounds
;
352
return Adapter.CommonLayout().Layout().
checkBounds
;