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