4 writes to _positionCurrent
System.Windows.Forms (4)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (4)
46
_positionCurrent
= Lerp(_positionStart, _positionTarget, easedProgress);
284
_positionCurrent
= IsChecked ? 1f : 0f;
304
_positionCurrent
= _positionTarget;
323
_positionCurrent
= IsChecked ? 1f : 0f;
7 references to _positionCurrent
System.Windows.Forms (7)
System\Windows\Forms\Rendering\CheckBox\AnimatedToggleSwitchRenderer.cs (7)
56
_positionStart =
_positionCurrent
;
230
float circlePosition = (rect.Width - thumbDiameter) *
_positionCurrent
;
285
_positionStart =
_positionCurrent
;
286
_positionTarget =
_positionCurrent
;
305
_positionStart =
_positionCurrent
;
324
_positionStart =
_positionCurrent
;
325
_positionTarget =
_positionCurrent
;