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