39 references to System
System.Windows.Forms (33)
System\Windows\Forms\Controls\Buttons\Button.cs (1)
86if (FlatStyle != FlatStyle.System)
System\Windows\Forms\Controls\Buttons\ButtonBase.cs (2)
372/// <term><see cref="FlatStyle.System"/></term> 678FlatStyle != FlatStyle.System;
System\Windows\Forms\Controls\Buttons\ButtonInternal\ButtonBaseAdapter.cs (1)
632if (Control.FlatStyle != FlatStyle.System)
System\Windows\Forms\Controls\Buttons\ButtonInternal\DarkMode\ButtonDarkModeAdapter.cs (1)
20FlatStyle.System => new SystemButtonDarkModeRenderer(),
System\Windows\Forms\Controls\Buttons\CheckBox.cs (3)
297if (FlatStyle != FlatStyle.System) 430if (FlatStyle == FlatStyle.System) 447if (FlatStyle == FlatStyle.System)
System\Windows\Forms\Controls\Buttons\RadioButton.cs (2)
266if (FlatStyle != FlatStyle.System) 304Appearance == Appearance.Button || FlatStyle == FlatStyle.System
System\Windows\Forms\Controls\DataGridView\DataGridViewButtonCell.cs (4)
76Debug.Assert(value is >= FlatStyle.Flat and <= FlatStyle.System); 715case FlatStyle.System: 885if (FlatStyle is FlatStyle.System or FlatStyle.Standard) 975(FlatStyle == FlatStyle.System || FlatStyle == FlatStyle.Standard))
System\Windows\Forms\Controls\DataGridView\DataGridViewCheckBoxCell.cs (4)
251Debug.Assert(value is >= FlatStyle.Flat and <= FlatStyle.System); 660case FlatStyle.System: 1175case FlatStyle.System: 1253if (FlatStyle is FlatStyle.System or FlatStyle.Standard)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (3)
363Debug.Assert(value is >= FlatStyle.Flat and <= FlatStyle.System); 1712(FlatStyle == FlatStyle.Standard || FlatStyle == FlatStyle.System) && 1734if ((FlatStyle == FlatStyle.Standard || FlatStyle == FlatStyle.System) && DataGridView.ApplyVisualStylesToInnerCells)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
215private bool OwnerDraw => FlatStyle != FlatStyle.System;
System\Windows\Forms\Controls\Labels\Label.cs (7)
34private static readonly BitVector32.Section s_stateFlatStyle = BitVector32.CreateSection((int)FlatStyle.System, s_stateAnimating); 334bool needRecreate = (_labelState[s_stateFlatStyle] == (int)FlatStyle.System) || (value == FlatStyle.System); 1045internal virtual bool UseGDIMeasuring() => (FlatStyle == FlatStyle.System || !UseCompatibleTextRendering); 1072TextFormatFlags format = FlatStyle == FlatStyle.System ? TextFormatFlags.Default : CreateTextFormatFlags(proposedConstraints); 1104if (UseCompatibleTextRendering && FlatStyle != FlatStyle.System) 1144private bool IsOwnerDraw() => FlatStyle != FlatStyle.System;
System\Windows\Forms\Design\ComponentEditorForm.cs (4)
270_helpButton.FlatStyle = FlatStyle.System; 277_applyButton.FlatStyle = FlatStyle.System; 283_cancelButton.FlatStyle = FlatStyle.System; 290_okButton.FlatStyle = FlatStyle.System;
System.Windows.Forms.Design (6)
System\Windows\Forms\Design\ButtonBaseDesigner.cs (6)
107if (flatStyle is FlatStyle.Standard or FlatStyle.System) 122else if (flatStyle == FlatStyle.System) 143else if (flatStyle == FlatStyle.System) 163if (flatStyle == FlatStyle.System) 178else if (flatStyle == FlatStyle.System) 203else if (flatStyle == FlatStyle.System)