1 write to owner
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ComboBox.cs (1)
4041
this.
owner
= owner;
49 references to owner
System.Windows.Forms (49)
winforms\Managed\System\WinForms\ComboBox.cs (49)
4047
comparer = new ItemComparer(
owner
);
4119
owner
.CheckNoDataSource();
4121
if (
owner
.UpdateNeeded() &&
owner
.AutoCompleteSource == AutoCompleteSource.ListItems)
4123
owner
.SetAutoComplete(false, false);
4135
if (!
owner
.sorted)
4153
if (
owner
.sorted) {
4154
if (
owner
.IsHandleCreated) {
4155
owner
.NativeInsert(index, item);
4160
if (
owner
.IsHandleCreated) {
4161
owner
.NativeAdd(item);
4186
owner
.CheckNoDataSource();
4187
owner
.BeginUpdate();
4194
owner
.EndUpdate();
4210
if (
owner
.AutoCompleteSource == AutoCompleteSource.ListItems)
4212
owner
.SetAutoComplete(false, false);
4230
owner
.CheckNoDataSource();
4240
owner
.CheckNoDataSource();
4246
if (
owner
.IsHandleCreated) {
4247
owner
.NativeClear();
4251
owner
.selectedIndex = -1;
4252
if (
owner
.AutoCompleteSource == AutoCompleteSource.ListItems)
4254
owner
.SetAutoComplete(false, true /*recreateHandle*/);
4311
owner
.CheckNoDataSource();
4324
if (
owner
.sorted) {
4329
if (
owner
.IsHandleCreated) {
4334
owner
.NativeInsert(index, item);
4339
if (
owner
.AutoCompleteSource == AutoCompleteSource.ListItems)
4341
owner
.SetAutoComplete(false, false);
4357
owner
.CheckNoDataSource();
4363
if (
owner
.IsHandleCreated) {
4364
owner
.NativeRemoveAt(index);
4368
if (!
owner
.IsHandleCreated && index <
owner
.selectedIndex) {
4369
owner
.selectedIndex--;
4371
if (
owner
.AutoCompleteSource == AutoCompleteSource.ListItems)
4373
owner
.SetAutoComplete(false, false);
4404
if (
owner
.IsHandleCreated) {
4405
bool selected = (index ==
owner
.SelectedIndex);
4407
if (String.Compare(this.
owner
.GetItemText(value), this.
owner
.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) {
4408
owner
.NativeRemoveAt(index);
4409
owner
.NativeInsert(index, value);
4411
owner
.SelectedIndex = index;
4412
owner
.UpdateText();
4414
if (
owner
.AutoCompleteSource == AutoCompleteSource.ListItems)
4416
owner
.SetAutoComplete(false, false);
4423
owner
.OnSelectedItemChanged(EventArgs.Empty); //we do this because set_SelectedIndex does this. (for consistency)
4424
owner
.OnSelectedIndexChanged(EventArgs.Empty);