8 writes to _selectedIndex
System.Windows.Forms (8)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (5)
883
_selectedIndex
= value;
2362
_selectedIndex
= -1;
2379
_selectedIndex
= -1;
2383
_selectedIndex
= SelectedIndex;
3294
_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)
866
get => IsHandleCreated ? (int)PInvokeCore.SendMessage(this, PInvoke.CB_GETCURSEL) :
_selectedIndex
;
2358
if (
_selectedIndex
>= 0)
2360
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
)