8 writes to _selectedIndex
System.Windows.Forms (8)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
884
_selectedIndex
= value;
2363
_selectedIndex
= -1;
2380
_selectedIndex
= -1;
2384
_selectedIndex
= SelectedIndex;
3295
_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)
867
get => IsHandleCreated ? (int)PInvokeCore.SendMessage(this, PInvoke.CB_GETCURSEL) :
_selectedIndex
;
2359
if (
_selectedIndex
>= 0)
2361
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
)