8 references to new
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripButtonTests.cs (1)
1700
public SubToolStripButton(string text) :
base
(text)
System\Windows\Forms\ToolStripItemCollectionTests.cs (4)
138
new
ToolStripButton
("Button 1"),
139
new
ToolStripButton
("Button 2")
154
items.Select(item => new
ToolStripButton
(item.Name) { Name = item.Key }).ToArray();
172
ToolStripItem[] toolStripItems = items.Select(item => new
ToolStripButton
(item.Name) { Name = item.Key }).ToArray();
System.Windows.Forms.UI.IntegrationTests (1)
Dpi\ToolStripItemTests.Dpi.cs (1)
38
using ToolStripButton toolStripItemOpen =
new
("Open");
WinFormsControlsTest (2)
Dialogs.cs (1)
27
_btnOpen =
new
("&Open dialog")
MessageBoxes.cs (1)
18
_btnOpen =
new
("Show MessageBox")