3 writes to form
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Form.cs (3)
1698
mainMenu.
form
= null;
1707
value.
form
= this;
6511
curMenu.
form
= this;
16 references to form
System.Windows.Forms (16)
winforms\Managed\System\WinForms\Form.cs (3)
1704
if (value.
form
!= null) {
1705
value.
form
.Menu = null;
3869
if (mergedMenu.ownerForm == this || mergedMenu.
form
== null) {
winforms\Managed\System\WinForms\MainMenu.cs (13)
91
if (
form
!= null) {
92
return
form
.RightToLeft;
118
return (RightToLeft == System.Windows.Forms.RightToLeft.Yes && (
form
== null || !
form
.IsMirrored));
150
if (
form
!= null && (ownerForm == null ||
form
== ownerForm)) {
151
form
.Menu = null;
163
return
form
;
167
return
form
;
176
if (
form
!= null)
177
form
.MenuChanged(change, this);
185
if (
form
!= null)
186
form
.MenuChanged(change, menu);