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