20 references to
System.Windows.Forms (1)
System\Windows\Forms\Controls\ToolStrips\ToolStripSettingsManager.cs (1)
200
toolStrip.Items.Insert(i, value.Items
[
key]!);
System.Windows.Forms.Design (14)
System\Windows\Forms\Design\TableLayoutPanelDesigner.cs (14)
1593
menu.Items
[
"add"].Enabled = enabled;
1594
menu.Items
[
"insert"].Enabled = enabled;
1595
menu.Items
[
"delete"].Enabled = enabled;
1596
menu.Items
[
"sizemode"].Enabled = enabled;
1597
menu.Items
[
"absolute"].Enabled = enabled;
1598
menu.Items
[
"percent"].Enabled = enabled;
1599
menu.Items
[
"autosize"].Enabled = enabled;
1603
((ToolStripMenuItem)menu.Items
[
"absolute"]).Checked = false;
1604
((ToolStripMenuItem)menu.Items
[
"percent"]).Checked = false;
1605
((ToolStripMenuItem)menu.Items
[
"autosize"]).Checked = false;
1611
((ToolStripMenuItem)menu.Items
[
"absolute"]).Checked = true;
1614
((ToolStripMenuItem)menu.Items
[
"percent"]).Checked = true;
1617
((ToolStripMenuItem)menu.Items
[
"autosize"]).Checked = true;
1627
menu.Items
[
"delete"].Enabled = false;
System.Windows.Forms.Tests (5)
System\Windows\Forms\ToolStripItemCollectionTests.cs (5)
184
collection
[
"key1"].Should().Be(collection[0]);
185
collection
[
"key2"].Should().Be(collection[1]);
196
collection
[
"invalidKey"].Should().BeNull();
197
collection
[
null].Should().BeNull();
198
collection
[
string.Empty].Should().BeNull();