13 references to new
System.Windows.Forms.Design (11)
System\Windows\Forms\Design\BaseContextMenuStrip.cs (11)
33
StandardCommandToolStripMenuItem codeMenuItem =
new
(StandardCommands.ViewCode, SR.ContextMenuViewCode, "viewcode", _serviceProvider);
42
StandardCommandToolStripMenuItem ZOrderMenuItem =
new
(StandardCommands.BringToFront, SR.ContextMenuBringToFront, "bringToFront", _serviceProvider);
44
ZOrderMenuItem = new
StandardCommandToolStripMenuItem
(StandardCommands.SendToBack, SR.ContextMenuSendToBack, "sendToBack", _serviceProvider);
53
StandardCommandToolStripMenuItem gridMenuItem =
new
(StandardCommands.AlignToGrid, SR.ContextMenuAlignToGrid, "alignToGrid", _serviceProvider);
62
StandardCommandToolStripMenuItem lockMenuItem =
new
(StandardCommands.LockControls, SR.ContextMenuLockControls, "lockControls", _serviceProvider);
172
StandardCommandToolStripMenuItem stdMenuItem =
new
(StandardCommands.Cut, SR.ContextMenuCut, "cut", _serviceProvider);
174
stdMenuItem = new
StandardCommandToolStripMenuItem
(StandardCommands.Copy, SR.ContextMenuCopy, "copy", _serviceProvider);
176
stdMenuItem = new
StandardCommandToolStripMenuItem
(StandardCommands.Paste, SR.ContextMenuPaste, "paste", _serviceProvider);
178
stdMenuItem = new
StandardCommandToolStripMenuItem
(StandardCommands.Delete, SR.ContextMenuDelete, "delete", _serviceProvider);
187
StandardCommandToolStripMenuItem stdMenuItem =
new
(StandardCommands.DocumentOutline, SR.ContextMenuDocumentOutline, "", _serviceProvider);
189
stdMenuItem = new
StandardCommandToolStripMenuItem
(MenuCommands.DesignerProperties, SR.ContextMenuProperties, "properties", _serviceProvider);
System.Windows.Forms.Design.Tests (2)
System\Windows\Forms\Design\StandardCommandToolStripMenuItemTests.cs (2)
30
_item =
new
(_commandID, "Test Text", "TestImage", _serviceProviderMock.Object);
91
StandardCommandToolStripMenuItem item =
new
(_commandID, "Test Text", "TestImage", _serviceProviderMock.Object);