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