20 references to MenuMerge
System.Windows.Forms (20)
winforms\Managed\System\WinForms\Menu.cs (6)
523case MenuMerge.Add: 526case MenuMerge.Replace: 527case MenuMerge.MergeItems: 551if (itemDst.MergeType != MenuMerge.Add) { 552if (item.MergeType != MenuMerge.MergeItems 553|| itemDst.MergeType != MenuMerge.MergeItems) {
winforms\Managed\System\WinForms\MenuItem.cs (14)
83public MenuItem() : this(MenuMerge.Add, 0, 0, null, null, null, null, null) { 95public MenuItem(string text) : this(MenuMerge.Add, 0, 0, text, null, null, null, null) { 107public MenuItem(string text, EventHandler onClick) : this(MenuMerge.Add, 0, 0, text, onClick, null, null, null) { 119public MenuItem(string text, EventHandler onClick, Shortcut shortcut) : this(MenuMerge.Add, 0, shortcut, text, onClick, null, null, null) { 131public MenuItem(string text, MenuItem[] items) : this(MenuMerge.Add, 0, 0, text, null, null, null, items) { 153public MenuItem(MenuMerge mergeType, int mergeOrder, Shortcut shortcut, 502DefaultValue(MenuMerge.Add), 505public MenuMerge MergeType { 512if (!ClientUtils.IsEnumValid(value, (int)value, (int)MenuMerge.Add, (int)MenuMerge.Remove)){ 513throw new InvalidEnumArgumentException("value", (int)value, typeof(MenuMerge)); 1554internal MenuMerge mergeType; 1569internal MenuItemData(MenuItem baseItem, MenuMerge mergeType, int mergeOrder, Shortcut shortcut, bool showShortcut, 1611internal MenuMerge MergeType {