Base:
46 references to Equals
System.Windows.Forms.Design (46)
System\ComponentModel\Design\MenuCommandService.cs (1)
368
if (cid.
Equals
(StandardCommands.VerbFirst))
System\Windows\Forms\Design\Behavior\DesignerActionKeyboardBehavior.cs (1)
41
if (commandId.
Equals
(candidateCommandId))
System\Windows\Forms\Design\CommandSet.cs (10)
1026
if (id.
Equals
(StandardCommands.AlignBottom)
1027
|| id.
Equals
(StandardCommands.AlignHorizontalCenters)
1028
|| id.
Equals
(StandardCommands.AlignVerticalCenters)
1029
|| id.
Equals
(StandardCommands.AlignRight))
1040
if (id.
Equals
(StandardCommands.AlignBottom))
1048
else if (id.
Equals
(StandardCommands.AlignHorizontalCenters))
1056
else if (id.
Equals
(StandardCommands.AlignRight))
1064
else if (id.
Equals
(StandardCommands.AlignVerticalCenters))
1073
else if (id.
Equals
(StandardCommands.AlignLeft))
1081
else if (id.
Equals
(StandardCommands.AlignTop))
System\Windows\Forms\Design\ControlCommandSet.cs (10)
450
bool reverse = (cmd.CommandID.
Equals
(MenuCommands.KeyReverseCancel));
548
if (cmd.
Equals
(MenuCommands.KeySizeHeightDecrease))
553
else if (cmd.
Equals
(MenuCommands.KeySizeHeightIncrease))
558
else if (cmd.
Equals
(MenuCommands.KeySizeWidthDecrease))
563
else if (cmd.
Equals
(MenuCommands.KeySizeWidthIncrease))
568
else if (cmd.
Equals
(MenuCommands.KeyNudgeHeightDecrease))
574
else if (cmd.
Equals
(MenuCommands.KeyNudgeHeightIncrease))
580
else if (cmd.
Equals
(MenuCommands.KeyNudgeWidthDecrease))
586
else if (cmd.
Equals
(MenuCommands.KeyNudgeWidthIncrease))
828
bool reverse = (cmd.CommandID.
Equals
(MenuCommands.KeySelectPrevious));
System\Windows\Forms\Design\ParentControlDesigner.EscapeHandler.cs (2)
30
if (MenuCommands.KeyCancel.
Equals
(cmd.CommandID))
47
if (MenuCommands.KeyCancel.
Equals
(cmd.CommandID))
System\Windows\Forms\Design\ToolStripKeyboardHandlingService.cs (20)
927
if (cmd.
Equals
(MenuCommands.EditLabel))
978
_shiftPressed = cmd.CommandID.
Equals
(MenuCommands.KeySizeWidthIncrease)
979
|| cmd.CommandID.
Equals
(MenuCommands.KeySizeWidthDecrease)
980
|| cmd.CommandID.
Equals
(MenuCommands.KeySizeHeightDecrease)
981
|| cmd.CommandID.
Equals
(MenuCommands.KeySizeHeightIncrease);
986
if (cmd.CommandID.
Equals
(MenuCommands.KeyMoveDown))
1002
if (cmd.CommandID.
Equals
(MenuCommands.KeyMoveRight) || cmd.CommandID.
Equals
(MenuCommands.KeyNudgeRight) || cmd.CommandID.
Equals
(MenuCommands.KeySizeWidthIncrease))
1011
if (cmd.CommandID.
Equals
(MenuCommands.KeyMoveLeft) || cmd.CommandID.
Equals
(MenuCommands.KeyNudgeLeft) || cmd.CommandID.
Equals
(MenuCommands.KeySizeWidthDecrease))
1020
if (cmd.CommandID.
Equals
(MenuCommands.KeyMoveDown) || cmd.CommandID.
Equals
(MenuCommands.KeyNudgeDown) || cmd.CommandID.
Equals
(MenuCommands.KeySizeHeightIncrease))
1026
if (cmd.CommandID.
Equals
(MenuCommands.KeyMoveUp) || cmd.CommandID.
Equals
(MenuCommands.KeyNudgeUp) || cmd.CommandID.
Equals
(MenuCommands.KeySizeHeightDecrease))
1057
bool reverse = (cmd.CommandID.
Equals
(MenuCommands.KeyReverseCancel));
1083
bool reverse = cmd.CommandID.
Equals
(MenuCommands.KeySelectPrevious);
System\Windows\Forms\Design\ToolStripTemplateNode.cs (2)
1242
if (_commands[i].CommandID.
Equals
(cmd.CommandID))
1262
if (_commands[i].CommandID.
Equals
(cmd.CommandID))