2 references to CreateDefaultItem
System.Windows.Forms.Tests (2)
System\Windows\Forms\StatusStripTests.cs (2)
885ToolStripStatusLabel button = Assert.IsType<ToolStripStatusLabel>(control.CreateDefaultItem(text, image, onClick)); 1068ToolStripItem button = Assert.IsAssignableFrom<ToolStripItem>(control.CreateDefaultItem(text, null, onClick));