3 references to CreateDefaultItem
System.Windows.Forms.Tests (3)
System\Windows\Forms\ToolStripTests.cs (3)
4280
ToolStripButton button = Assert.IsType<ToolStripButton>(control.
CreateDefaultItem
(text, image, onClick));
4298
ToolStripSeparator separator = Assert.IsType<ToolStripSeparator>(control.
CreateDefaultItem
("-", image, onClick));
4313
ToolStripItem button = Assert.IsAssignableFrom<ToolStripItem>(control.
CreateDefaultItem
(text, null, onClick));