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