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