18 writes to MainMenuStrip
Accessibility_Core_App (2)
Menu_Toolbars_controls.Designer.cs (1)
598MainMenuStrip = menuStrip1;
ToolStripContainer.Designer.cs (1)
596this.MainMenuStrip = this.menuStrip1;
DesignSurface (1)
MainForm.Designer.cs (1)
300this.MainMenuStrip = this.menuStrip1;
System.Windows.Forms (1)
System\Windows\Forms\Form.cs (1)
3480MainMenuStrip = null;
System.Windows.Forms.Tests (8)
System\Windows\Forms\FormTests.cs (1)
1233parent.MainMenuStrip = menuStrip;
System\Windows\Forms\MdiControlStripTests.cs (7)
205MainMenuStrip = menuStrip 251MainMenuStrip = menuStrip 302mdiParent.MainMenuStrip = menuStrip; 303mdiParent.MainMenuStrip = null; 304mdiParent.MainMenuStrip = menuStrip; 305mdiParent.MainMenuStrip = null; 320mdiParent.MainMenuStrip = menuStrip;
System.Windows.Forms.UI.IntegrationTests (1)
ToolStripTests.cs (1)
83form.MainMenuStrip = menuStrip;
WinFormsControlsTest (5)
MdiChild.cs (4)
40MainMenuStrip = _menuStrip; 44MainMenuStrip = null; 52MyParent.MainMenuStrip = MyParent.MainMenu; 56MyParent.MainMenuStrip = null;
MenuStripAndCheckedListBox.Designer.cs (1)
288this.MainMenuStrip = this.menuStrip1;
11 references to MainMenuStrip
System.Windows.Forms (5)
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
977if (mainForm is not null && mainForm.MainMenuStrip is not null) 979return mainForm.MainMenuStrip;
System\Windows\Forms\Form.cs (3)
3477if (MainMenuStrip is not null) 6084MenuStrip? mainMenuStrip = MainMenuStrip; 6170ToolStrip? thisToolstrip = MainMenuStrip;
System.Windows.Forms.Tests (4)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
115Assert.Null(control.MainMenuStrip);
System\Windows\Forms\FormTests.cs (1)
117Assert.Null(control.MainMenuStrip);
System\Windows\Forms\MdiControlStripTests.cs (2)
217AccessibleObject accessibleObject = mdiParent.MainMenuStrip.AccessibilityObject; 263AccessibleObject accessibleObject = mdiParent.MainMenuStrip.AccessibilityObject;
WinFormsControlsTest (2)
MdiChild.cs (2)
96if (MyParent.MainMenuStrip is not null) 98MyParent.MainMenuStrip.RightToLeft = chkRightToLeft.Checked ? RightToLeft.Yes : RightToLeft.No;