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