6 writes to _mouseBarOffset
System.Windows.Forms (6)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (6)
2442
_mouseBarOffset
= mouseBarOffset;
2489
_mouseBarOffset
= GetColumnXFromIndex(index) - mouseX;
2511
_mouseBarOffset
= mouseBarOffset;
2526
_mouseBarOffset
= 0;
2758
_mouseBarOffset
= mouseBarOffset;
2781
_mouseBarOffset
= mouseBarOffset;
14 references to _mouseBarOffset
System.Windows.Forms (14)
System\Windows\Forms\Controls\DataGridView\DataGridView.Methods.cs (14)
2541
clip.X = _layout.Data.X -
_mouseBarOffset
- 1;
2543
int overflowWidth = leftEdge -
_mouseBarOffset
- clip.Left - DataGridViewBand.MaxBandThickness + 1;
2552
clip.X = leftEdge + Columns[columnIndex].MinimumThickness -
_mouseBarOffset
- 1;
2554
int overflowWidth = clip.Right +
_mouseBarOffset
- leftEdge - DataGridViewBand.MaxBandThickness;
2976
mouseX +
_mouseBarOffset
- Columns[_trackColumn].Thickness + 1,
2986
mouseX +
_mouseBarOffset
- 1,
3001
mouseX +
_mouseBarOffset
- 1,
3023
mouseY +
_mouseBarOffset
- 1,
6046
int y = Math.Min(e.Y +
_mouseBarOffset
, _layout.Data.Bottom - 1);
6110
newX = Math.Max(x +
_mouseBarOffset
, _layout.Data.X);
6115
newX = Math.Min(x +
_mouseBarOffset
, _layout.Data.Right - 1);
6293
x = Math.Max(e.X +
_mouseBarOffset
, _layout.Data.Left - 1);
6298
x = Math.Min(e.X +
_mouseBarOffset
, _layout.Data.Right - 1);
6325
int y = Math.Min(e.Y +
_mouseBarOffset
, _layout.Data.Bottom - 1);