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