3 writes to Menu
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Form.cs (1)
1705
value.form.
Menu
= null;
winforms\Managed\System\WinForms\MainMenu.cs (1)
151
form.
Menu
= null;
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
441
base.
Menu
= value;
19 references to Menu
System.Windows.Forms (19)
winforms\Managed\System\WinForms\Form.cs (18)
1236
Menu menu =
Menu
;
1642
if (IsHandleCreated &&
Menu
== null) {
1694
MainMenu mainMenu =
Menu
;
1993
MainMenu parentMenu = formMdiParent.
Menu
;
1994
MainMenu mainMenu =
Menu
;
3689
if (
Menu
!= null || !TopLevel || IsMdiContainer)
3845
MainMenu mainMenu =
Menu
;
4529
parForm.MenuChanged(0, parForm.
Menu
);
4557
if (menu ==
Menu
&& change == Windows.Forms.Menu.CHANGE_ITEMS)
4582
if (menu ==
Menu
|| (this.ActiveMdiChildInternal != null && menu == this.ActiveMdiChildInternal.
Menu
)) {
6494
UpdateMenuHandles(
Menu
, true);
6695
Debug.WriteLineIf(ToolStrip.MDIMergeDebug.TraceVerbose && this.
Menu
!= null, "UpdateMdiControlStrip: Bailing as we detect there's already an HMenu to do this for us.");
6698
if (this.
Menu
== null) {
7259
if (formMdiParent != null && formMdiParent.
Menu
!= null) {
7316
MainMenu mainMenu =
Menu
;
7474
if (
Menu
!= null) {
7476
Menu
.OnCollapse(EventArgs.Empty);
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (1)
438
return base.
Menu
;