3 instantiations of MainMenu
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Form.cs (2)
2000
mergedMenu = new
MainMenu
();
6543
dummyMenu = new
MainMenu
();
winforms\Managed\System\WinForms\MainMenu.cs (1)
127
MainMenu newMenu = new
MainMenu
();
52 references to MainMenu
System.Windows.Forms (52)
winforms\Managed\System\WinForms\Form.cs (36)
1678
/// Gets or sets the <see cref='System.Windows.Forms.
MainMenu
'/>
1689
public
MainMenu
Menu {
1691
return (
MainMenu
)Properties.GetObject(PropMainMenu);
1694
MainMenu
mainMenu = Menu;
1978
public
MainMenu
MergedMenu {
1985
private
MainMenu
MergedMenuPrivate {
1990
MainMenu
mergedMenu = (
MainMenu
)Properties.GetObject(PropMergedMenu);
1993
MainMenu
parentMenu = formMdiParent.Menu;
1994
MainMenu
mainMenu = Menu;
3845
MainMenu
mainMenu = Menu;
3859
MainMenu
dummyMenu = (
MainMenu
)Properties.GetObject(PropDummyMenu);
3866
MainMenu
mergedMenu = (
MainMenu
)Properties.GetObject(PropMergedMenu);
4520
MainMenu
menu = Properties.GetObject(PropMergedMenu) as
MainMenu
;
4571
MainMenu
mainMenu = ctl.Properties.GetObject(PropMergedMenu) as
MainMenu
;
5280
MainMenu
curMenu = (
MainMenu
)Properties.GetObject(PropCurMenu);
6500
private void UpdateMenuHandles(
MainMenu
menu, bool forceRedraw) {
6509
MainMenu
curMenu = menu;
6540
MainMenu
dummyMenu = (
MainMenu
)Properties.GetObject(PropDummyMenu);
7238
MainMenu
curMenu = (
MainMenu
)Properties.GetObject(PropCurMenu);
7254
MainMenu
curMenu = (
MainMenu
)Properties.GetObject(PropCurMenu);
7316
MainMenu
mainMenu = Menu;
7317
MainMenu
dummyMenu = (
MainMenu
)Properties.GetObject(PropDummyMenu);
7318
MainMenu
curMenu = (
MainMenu
)Properties.GetObject(PropCurMenu);
7319
MainMenu
mergedMenu = (
MainMenu
)Properties.GetObject(PropMergedMenu);
winforms\Managed\System\WinForms\MainMenu.cs (3)
41
/// <para>Initializes a new instance of the <see cref='System.Windows.Forms.
MainMenu
'/> class with the specified container.</para>
126
public virtual
MainMenu
CloneMenu() {
127
MainMenu
newMenu = new MainMenu();
winforms\Managed\System\WinForms\Menu.cs (3)
435
public
MainMenu
GetMainMenu() {
437
for (menuT = this; !(menuT is
MainMenu
);) {
441
return(
MainMenu
)menuT;
winforms\Managed\System\WinForms\MenuItem.cs (8)
181
/// cref='System.Windows.Forms.
MainMenu
'/> object) or in a new
206
/// cref='System.Windows.Forms.
MainMenu
'/> object) or in a new column (for a
243
if (value == true && (ItemCount != 0 || (Parent != null && (Parent is
MainMenu
)))) {
1087
MainMenu
main = GetMainMenu();
1121
MainMenu
main = GetMainMenu();
1459
if (force || menu is
MainMenu
|| menu is ContextMenu) {
1475
if (menu is
MainMenu
) {
1476
Form f = ((
MainMenu
)menu).GetFormUnsafe();
winforms\Managed\System\WinForms\Printing\PrintPreviewDialog.cs (2)
431
/// Gets or sets the <see cref='System.Windows.Forms.
MainMenu
'/>
436
new public
MainMenu
Menu {