8 writes to _selectedIndex
System.Windows.Forms (8)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
898
_selectedIndex
= value;
2372
_selectedIndex
= -1;
2389
_selectedIndex
= -1;
2393
_selectedIndex
= SelectedIndex;
3292
_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)
881
get => IsHandleCreated ? (int)PInvokeCore.SendMessage(this, PInvoke.CB_GETCURSEL) :
_selectedIndex
;
2368
if (
_selectedIndex
>= 0)
2370
PInvokeCore.SendMessage(this, PInvoke.CB_SETCURSEL, (WPARAM)
_selectedIndex
);
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (2)
374
if (index < _owner.
_selectedIndex
)
378
else if (index == _owner.
_selectedIndex
)