3 writes to owner
System.Windows.Forms (3)
winforms\Managed\System\WinForms\ListBox.cs (3)
2947
this.
owner
= owner;
2957
this.
owner
= owner;
2968
this.
owner
= owner;
49 references to owner
System.Windows.Forms (49)
winforms\Managed\System\WinForms\ListBox.cs (49)
2988
items = new ItemArray(
owner
);
3041
owner
.CheckNoDataSource();
3043
owner
.UpdateHorizontalExtent();
3055
if (!
owner
.sorted)
3080
if (
owner
.sorted)
3082
if (
owner
.IsHandleCreated)
3084
owner
.NativeInsert(index, item);
3085
owner
.UpdateMaxItemWidth(item, false);
3086
if (
owner
.selectedItems != null)
3089
owner
.selectedItems.Dirty();
3096
if (
owner
.IsHandleCreated)
3098
owner
.NativeAdd(item);
3099
owner
.UpdateMaxItemWidth(item, false);
3127
owner
.CheckNoDataSource();
3136
owner
.CheckNoDataSource();
3146
owner
.BeginUpdate();
3159
owner
.UpdateHorizontalExtent();
3160
owner
.EndUpdate();
3178
owner
.CheckNoDataSource();
3188
owner
.CheckNoDataSource();
3200
int cnt =
owner
.Items.Count;
3202
owner
.UpdateMaxItemWidth(InnerArray.GetItem(i, 0), true);
3206
if (
owner
.IsHandleCreated) {
3207
owner
.NativeClear();
3210
owner
.maxWidth = -1;
3211
owner
.UpdateHorizontalExtent();
3286
owner
.CheckNoDataSource();
3299
if (
owner
.sorted) {
3304
if (
owner
.IsHandleCreated) {
3309
owner
.NativeInsert(index, item);
3310
owner
.UpdateMaxItemWidth(item, false);
3320
owner
.UpdateHorizontalExtent();
3342
owner
.CheckNoDataSource();
3348
owner
.UpdateMaxItemWidth(InnerArray.GetItem(index, 0), true);
3354
if (
owner
.IsHandleCreated) {
3355
owner
.NativeRemoveAt(index);
3358
owner
.UpdateHorizontalExtent();
3370
owner
.UpdateMaxItemWidth(InnerArray.GetItem(index, 0), true);
3375
if (
owner
.IsHandleCreated) {
3376
bool selected = (
owner
.SelectedIndex == index);
3377
if (String.Compare(this.
owner
.GetItemText(value), this.
owner
.NativeGetItemText(index), true, CultureInfo.CurrentCulture) != 0) {
3378
owner
.NativeRemoveAt(index);
3379
owner
.SelectedItems.SetSelected(index, false);
3380
owner
.NativeInsert(index, value);
3381
owner
.UpdateMaxItemWidth(value, false);
3383
owner
.SelectedIndex = index;
3390
owner
.OnSelectedIndexChanged(EventArgs.Empty); //will fire selectedvaluechanged
3394
owner
.UpdateHorizontalExtent();