2 writes to MdiWindowListItem
System.Windows.Forms.Tests (2)
System\Windows\Forms\MenuStripTests.cs (2)
318
MdiWindowListItem
= value
324
control.
MdiWindowListItem
= value;
11 references to MdiWindowListItem
System.Windows.Forms (8)
System\Windows\Forms\Form.cs (8)
6222
if (MdiWindowListStrip is not null && MdiWindowListStrip.MergedMenu is not null && MdiWindowListStrip.MergedMenu.
MdiWindowListItem
is not null)
6224
numWindowListItems = MdiWindowListStrip.MergedMenu.
MdiWindowListItem
.DropDownItems.Count;
6232
if (MdiWindowListStrip is not null && MdiWindowListStrip.MergedMenu is not null && MdiWindowListStrip.MergedMenu.
MdiWindowListItem
is not null)
6234
Debug.Assert(numWindowListItems == MdiWindowListStrip.MergedMenu.
MdiWindowListItem
.DropDownItems.Count, "Calling RevertMerge modified the mdiwindowlistitem");
6277
if (sourceMenuStrip is not null && sourceMenuStrip.
MdiWindowListItem
is not null)
6281
int nSubItems = sourceMenuStrip.
MdiWindowListItem
.DropDownItems.Count;
6283
!(sourceMenuStrip.
MdiWindowListItem
.DropDownItems[nSubItems - 1] is ToolStripSeparator));
6284
MdiWindowListStrip.PopulateItems(this, sourceMenuStrip.
MdiWindowListItem
, shouldIncludeSeparator);
System.Windows.Forms.Tests (3)
System\Windows\Forms\MenuStripTests.cs (3)
112
Assert.Null(control.
MdiWindowListItem
);
320
Assert.Same(value, control.
MdiWindowListItem
);
325
Assert.Same(value, control.
MdiWindowListItem
);