4 writes to _positionCurrent
System.Windows.Forms (4)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (4)
46
_positionCurrent
= Lerp(_positionStart, _positionTarget, easedProgress);
360
_positionCurrent
= IsChecked ? 1f : 0f;
380
_positionCurrent
= _positionTarget;
399
_positionCurrent
= IsChecked ? 1f : 0f;
7 references to _positionCurrent
System.Windows.Forms (7)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (7)
56
_positionStart =
_positionCurrent
;
306
float circlePosition = (rect.Width - thumbDiameter) *
_positionCurrent
;
361
_positionStart =
_positionCurrent
;
362
_positionTarget =
_positionCurrent
;
381
_positionStart =
_positionCurrent
;
400
_positionStart =
_positionCurrent
;
401
_positionTarget =
_positionCurrent
;