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