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; 230float circlePosition = (rect.Width - thumbDiameter) * _positionCurrent; 285_positionStart = _positionCurrent; 286_positionTarget = _positionCurrent; 305_positionStart = _positionCurrent; 324_positionStart = _positionCurrent; 325_positionTarget = _positionCurrent;