1 write to owner
System.Windows.Forms (1)
winforms\Managed\System\WinForms\ListBox.cs (1)
4126this.owner = owner;
19 references to owner
System.Windows.Forms (19)
winforms\Managed\System\WinForms\ListBox.cs (19)
4137if (owner.IsHandleCreated) { 4138SelectionMode current = (owner.selectionModeChanging) ? owner.cachedSelectionMode : owner.selectionMode; 4145int index = owner.SelectedIndex; 4153return unchecked( (int) (long)owner.SendMessage(NativeMethods.LB_GETSELCOUNT, 0, 0)); 4209return ((ObjectCollection)owner.Items).InnerArray; 4221if (owner.IsHandleCreated) { 4222owner.NativeUpdateSelection(); 4341bool selected = ((ObjectCollection)owner.Items).InnerArray.GetState(index, SelectedObjectMask); 4345this.owner.NativeSetSelected(index, true /*we signal selection to the native listBox only if the item is actually selected*/); 4361if (owner != null) { 4362owner.ClearSelected(); 4371if (owner != null) { 4372ObjectCollection items = owner.Items; 4376owner.SelectedIndex = index; 4387if (owner != null) { 4388ObjectCollection items = owner.Items; 4392owner.SetSelected(index, false);