22 writes to FlatStyle
System.Windows.Forms (4)
System\Windows\Forms\Controls\DataGridView\DataGridViewComboBoxCell.cs (1)
1301
comboBox.
FlatStyle
= FlatStyle;
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (2)
47
FlatStyle
= FlatStyle.Popup,
188
set { ComboBox.
FlatStyle
= value; }
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.cs (1)
12
FlatStyle
= FlatStyle.Popup;
System.Windows.Forms.Tests (8)
System\Windows\Forms\ComboBoxTests.cs (8)
1801
FlatStyle
= flatStyle
1827
FlatStyle
= flatStyle,
1876
FlatStyle
= flatStyle
1909
FlatStyle
= flatStyle,
1974
FlatStyle
= flatStyle
2011
FlatStyle
= flatStyle,
2071
FlatStyle
= flatStyle
2115
FlatStyle
= flatStyle,
WinFormsControlsTest (10)
ComboBoxes.Designer.cs (10)
54
this.comboBox1.
FlatStyle
= System.Windows.Forms.FlatStyle.System;
68
this.comboBox2.
FlatStyle
= System.Windows.Forms.FlatStyle.System;
120
this.comboBox5.
FlatStyle
= System.Windows.Forms.FlatStyle.Popup;
132
this.comboBox6.
FlatStyle
= System.Windows.Forms.FlatStyle.Popup;
144
this.comboBox7.
FlatStyle
= System.Windows.Forms.FlatStyle.Flat;
157
this.comboBox8.
FlatStyle
= System.Windows.Forms.FlatStyle.Flat;
170
this.comboBox9.
FlatStyle
= System.Windows.Forms.FlatStyle.Flat;
183
this.comboBox10.
FlatStyle
= System.Windows.Forms.FlatStyle.Popup;
210
this.comboBox12.
FlatStyle
= System.Windows.Forms.FlatStyle.System;
230
this.dataBoundComboBox.
FlatStyle
= System.Windows.Forms.FlatStyle.System;
14 references to FlatStyle
System.Windows.Forms (13)
System\Windows\Forms\Controls\ComboBox\ComboBox.cs (11)
718
if ((!ContainsFocus || !Application.RenderWithVisualStyles) &&
FlatStyle
== FlatStyle.Popup)
1518
if (
FlatStyle
== FlatStyle.Popup)
1562
if (
FlatStyle
== FlatStyle.Popup)
3664
&& (
FlatStyle
== FlatStyle.Flat ||
FlatStyle
== FlatStyle.Popup))
3733
&& (
FlatStyle
== FlatStyle.Flat ||
FlatStyle
== FlatStyle.Popup)
3778
if (!GetStyle(ControlStyles.UserPaint) && (
FlatStyle
== FlatStyle.Flat ||
FlatStyle
== FlatStyle.Popup))
3784
if (!GetStyle(ControlStyles.UserPaint) && (
FlatStyle
== FlatStyle.Flat ||
FlatStyle
== FlatStyle.Popup))
System\Windows\Forms\Controls\ComboBox\ComboBox.FlatComboAdapter.cs (1)
112
if ((!comboBox.Enabled) || (comboBox.
FlatStyle
== FlatStyle.Popup))
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.cs (1)
187
get { return ComboBox.
FlatStyle
; }
System.Windows.Forms.Tests (1)
System\Windows\Forms\ComboBoxTests.cs (1)
77
Assert.Equal(FlatStyle.Standard, control.
FlatStyle
);