2 writes to _maximum
System.Windows.Forms (2)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (2)
345_maximum = value; 1054_maximum = maxValue;
17 references to _maximum
System.Windows.Forms (17)
System\Windows\Forms\Controls\TrackBar\TrackBar.cs (17)
309get => _maximum; 312if (_maximum == value) 343if (value > _maximum) 348SetRange(value, _maximum); 440PInvokeCore.SendMessage(this, PInvoke.TBM_SETRANGEMAX, (WPARAM)(BOOL)true, (LPARAM)_maximum); 619if (!_initializing && ((value < _minimum) || (value > _maximum))) 738Debug.Assert(_minimum <= _maximum, "Minimum should be <= Maximum"); 746if (Value > _maximum) 748Value = _maximum; 787uint range = (uint)(_maximum - _minimum); 798for (int i = _minimum + drawnTickFrequency; i < _maximum - drawnTickFrequency; i += drawnTickFrequency) 865PInvokeCore.SendMessage(this, PInvoke.TBM_SETRANGEMAX, (WPARAM)(BOOL)false, (LPARAM)_maximum); 1041if (_minimum != minValue || _maximum != maxValue) 1064PInvokeCore.SendMessage(this, PInvoke.TBM_SETRANGEMAX, (WPARAM)(BOOL)true, (LPARAM)_maximum); 1081if (_value > _maximum) 1083_value = _maximum; 1152uint range = (uint)(_maximum - _minimum);