30 references to new
System.Windows.Forms.Tests (30)
System\Windows\Forms\AccessibleObjects\ToolStripDropDownItemAccessibleObjectTests.cs (30)
19using SubToolStripDropDownItem control = new(); 29using SubToolStripDropDownItem control = new(); 40using SubToolStripDropDownItem control = new(); 50using SubToolStripDropDownItem control = new(); 61using SubToolStripDropDownItem control = new(); 63control.DropDown.Items.Add(new SubToolStripDropDownItem()); 72using SubToolStripDropDownItem control = new(); 81using SubToolStripDropDownItem control = new(); 82control.DropDown.Items.Add(new SubToolStripDropDownItem()); 92using SubToolStripDropDownItem control = new(); 95control.DropDown.Items.Add(new SubToolStripDropDownItem() { Available = true }); 107using SubToolStripDropDownItem control = new(); 117using SubToolStripDropDownItem control = new(); 118using SubToolStripDropDownItem item1 = new() { Available = true }; 119using SubToolStripDropDownItem item2 = new() { Available = true }; 134using SubToolStripDropDownItem control = new(); 135using SubToolStripDropDownItem item1 = new(); 136using SubToolStripDropDownItem item2 = new(); 137using SubToolStripDropDownItem notItem = new(); 153using SubToolStripDropDownItem control = new(); 154using SubToolStripDropDownItem item1 = new(); 155using SubToolStripDropDownItem item2 = new(); 156using SubToolStripDropDownItem notItem = new(); 172using SubToolStripDropDownItem control = new(); 175control.DropDownItems.Add(new SubToolStripDropDownItem() { Available = true }); 188using SubToolStripDropDownItem control = new(); 190using SubToolStripDropDownItem item1 = new() { Available = true }; 191using SubToolStripDropDownItem item2 = new() { Available = true }; 192using SubToolStripDropDownItem notItem = new(); 209using SubToolStripDropDownItem toolStripDropDownItem = new();