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; 306float circlePosition = (rect.Width - thumbDiameter) * _positionCurrent; 361_positionStart = _positionCurrent; 362_positionTarget = _positionCurrent; 381_positionStart = _positionCurrent; 400_positionStart = _positionCurrent; 401_positionTarget = _positionCurrent;