3 references to CreateDefaultItem
System.Windows.Forms.Tests (3)
System\Windows\Forms\MenuStripTests.cs (3)
450
ToolStripMenuItem item = Assert.IsType<ToolStripMenuItem>(control.
CreateDefaultItem
(text, image, onClick));
468
ToolStripSeparator separator = Assert.IsType<ToolStripSeparator>(control.
CreateDefaultItem
("-", image, onClick));
483
ToolStripItem item = Assert.IsAssignableFrom<ToolStripItem>(control.
CreateDefaultItem
(text, null, onClick));