1 write to _owner
System.Windows.Forms (1)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (1)
22_owner = owner;
55 references to _owner
System.Windows.Forms (55)
System\Windows\Forms\Controls\ComboBox\ComboBox.ObjectCollection.cs (55)
29if (!_owner.IsAccessibilityObjectCreated) 39if (_owner.AccessibilityObject is ComboBoxAccessibleObject accessibleObject) 106_owner.CheckNoDataSource(); 108if (_owner.UpdateNeeded() && _owner.AutoCompleteSource == AutoCompleteSource.ListItems) 110_owner.SetAutoComplete(false, false); 121if (!_owner._sorted) 142if (_owner._sorted) 144if (_owner.IsHandleCreated) 146_owner.NativeInsert(index, item); 152if (_owner.IsHandleCreated) 154_owner.NativeAdd(item); 179_owner.CheckNoDataSource(); 180_owner.BeginUpdate(); 187_owner.EndUpdate(); 203if (_owner.AutoCompleteSource == AutoCompleteSource.ListItems) 205_owner.SetAutoComplete(false, false); 225_owner.CheckNoDataSource(); 235_owner.CheckNoDataSource(); 241if (_owner.IsHandleCreated) 243_owner.NativeClear(); 249_owner._selectedIndex = -1; 250if (_owner.AutoCompleteSource == AutoCompleteSource.ListItems) 252_owner.SetAutoComplete(false, true /*recreateHandle*/); 310_owner.CheckNoDataSource(); 319if (_owner._sorted) 326if (_owner.IsHandleCreated) 332_owner.NativeInsert(index, item); 339if (_owner.AutoCompleteSource == AutoCompleteSource.ListItems) 341_owner.SetAutoComplete(false, false); 359_owner.CheckNoDataSource(); 364if (_owner.IsHandleCreated) 366_owner.NativeRemoveAt(index); 372if (!_owner.IsHandleCreated) 374if (index < _owner._selectedIndex) 376_owner._selectedIndex--; 378else if (index == _owner._selectedIndex) 380_owner._selectedIndex = -1; 381_owner.UpdateText(); 385if (_owner.AutoCompleteSource == AutoCompleteSource.ListItems) 387_owner.SetAutoComplete(false, false); 414if (!_owner.IsHandleCreated) 419bool selected = (index == _owner.SelectedIndex); 421if (string.Compare(_owner.GetItemText(value), _owner.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) 423_owner.NativeRemoveAt(index); 424_owner.NativeInsert(index, value); 427_owner.SelectedIndex = index; 428_owner.UpdateText(); 431if (_owner.AutoCompleteSource == AutoCompleteSource.ListItems) 433_owner.SetAutoComplete(false, false); 442_owner.OnSelectedItemChanged(EventArgs.Empty); // we do this because set_SelectedIndex does this. (for consistency) 443_owner.OnSelectedIndexChanged(EventArgs.Empty); 471string? itemName1 = _owner.GetItemText(entry1.Item); 472string? itemName2 = _owner.GetItemText(entry2.Item);