8 writes to _selectedIndex
System.Windows.Forms (8)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
900_selectedIndex = value; 2376_selectedIndex = -1; 2393_selectedIndex = -1; 2397_selectedIndex = SelectedIndex; 3296_selectedIndex = DataManager.Position;
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (3)
249_owner._selectedIndex = -1; 376_owner._selectedIndex--; 380_owner._selectedIndex = -1;
5 references to _selectedIndex
System.Windows.Forms (5)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (3)
883get => IsHandleCreated ? (int)PInvokeCore.SendMessage(this, PInvoke.CB_GETCURSEL) : _selectedIndex; 2372if (_selectedIndex >= 0) 2374PInvokeCore.SendMessage(this, PInvoke.CB_SETCURSEL, (WPARAM)_selectedIndex);
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (2)
374if (index < _owner._selectedIndex) 378else if (index == _owner._selectedIndex)