16 writes to ShowIcon
System.Windows.Forms (1)
System\Windows\Forms\MDI\MDIWindowDialog.cs (1)
142
ShowIcon
= false;
System.Windows.Forms.Design (9)
System\ComponentModel\Design\BinaryEditor.BinaryUI.cs (1)
291
ShowIcon
= false;
System\ComponentModel\Design\CollectionEditor.CollectionEditorCollectionForm.cs (1)
505
ShowIcon
= false;
System\Windows\Forms\Design\DataGridViewAddColumnDialog.cs (1)
463
ShowIcon
= false;
System\Windows\Forms\Design\DataGridViewCellStyleBuilder.cs (1)
246
ShowIcon
= false;
System\Windows\Forms\Design\DataGridViewColumnCollectionDialog.cs (1)
625
ShowIcon
= false;
System\Windows\Forms\Design\LinkAreaEditor.LinkAreaUI.cs (1)
109
ShowIcon
= false;
System\Windows\Forms\Design\StringCollectionEditor.StringCollectionForm.cs (1)
128
ShowIcon
= false;
System\Windows\Forms\Design\StyleEditorForm.cs (1)
447
ShowIcon
= false;
System\Windows\Forms\Design\TreeNodeCollectionEditor.cs (1)
340
ShowIcon
= false;
System.Windows.Forms.Tests (5)
System\Windows\Forms\FormTests.cs (5)
1040
form.
ShowIcon
= showIcon;
1057
form.
ShowIcon
= false;
1242
control.
ShowIcon
= false;
1249
control.
ShowIcon
= false;
1256
control.
ShowIcon
= true;
WinFormsControlsTest (1)
MainForm.cs (1)
150
new InitInfo("ToggleFormIcon", (obj, e) =>
ShowIcon
= !ShowIcon)
6 references to ShowIcon
System.Windows.Forms (3)
System\Windows\Forms\Form.cs (2)
795
if (!
ShowIcon
&& (borderStyle is FormBorderStyle.Sizable or FormBorderStyle.Fixed3D or FormBorderStyle.FixedSingle))
6341
if ((FormBorderStyle == FormBorderStyle.FixedDialog && _formState[s_formStateIconSet] == 0) || !
ShowIcon
)
System\Windows\Forms\MDI\MDIControlStrip.cs (1)
86
private bool GetTargetWindowIconVisibility() => _target is not Form formTarget || formTarget.
ShowIcon
;
System.Windows.Forms.Tests (2)
System\Windows\Forms\Design\ComponentEditorFormTests.cs (1)
141
Assert.True(control.
ShowIcon
);
System\Windows\Forms\FormTests.cs (1)
143
Assert.True(control.
ShowIcon
);
WinFormsControlsTest (1)
MainForm.cs (1)
150
new InitInfo("ToggleFormIcon", (obj, e) => ShowIcon = !
ShowIcon
)