4 writes to VisualStylesEnabled
System.Windows.Forms.Tests (4)
System\Windows\Forms\ProfessionalColorsTests.cs (2)
86ToolStripManager.VisualStylesEnabled = true; 93ToolStripManager.VisualStylesEnabled = oldValue;
System\Windows\Forms\ProfessionalColorTableTests.cs (2)
109ToolStripManager.VisualStylesEnabled = true; 117ToolStripManager.VisualStylesEnabled = oldValue;
24 references to VisualStylesEnabled
System.Windows.Forms (22)
System\Windows\Forms\Controls\ToolStrips\ProfessionalColorTable.cs (1)
44else if (ToolStripManager.VisualStylesEnabled)
System\Windows\Forms\Controls\ToolStrips\ToolStripComboBox.ToolStripComboBoxControl.ToolStripComboBoxFlatComboAdapter.cs (2)
76if (!comboBox.Enabled || !ToolStripManager.VisualStylesEnabled) 133&& ToolStripManager.VisualStylesEnabled
System\Windows\Forms\Controls\ToolStrips\ToolStripGrip.cs (1)
247ToolStripManager.VisualStylesEnabled ? LogicalGripThicknessVisualStylesEnabled : LogicalGripThickness,
System\Windows\Forms\Controls\ToolStrips\ToolStripManager.cs (2)
541bool oldVis = VisualStylesEnabled; 544if (oldVis != VisualStylesEnabled)
System\Windows\Forms\Controls\ToolStrips\ToolStripMenuItem.cs (1)
960else if (!IsTopLevel || (ToolStripManager.VisualStylesEnabled))
System\Windows\Forms\Controls\ToolStrips\ToolstripProfessionalRenderer.cs (1)
107get { return (ColorTable.UseSystemColors || !ToolStripManager.VisualStylesEnabled); }
System\Windows\Forms\Controls\ToolStrips\ToolStripSystemRenderer.cs (14)
210FillBackground(g, bounds, (!ToolStripManager.VisualStylesEnabled) ? 215FillBackground(g, bounds, (!ToolStripManager.VisualStylesEnabled) ? 218else if (ToolStripManager.VisualStylesEnabled && VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Band.Normal)) 226FillBackground(g, bounds, (!ToolStripManager.VisualStylesEnabled) ? 247if (toolStripDropDown.DropShadowEnabled && ToolStripManager.VisualStylesEnabled) 260if (ToolStripManager.VisualStylesEnabled) 282if (ToolStripManager.VisualStylesEnabled && VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Gripper.Normal)) 383if (ToolStripManager.VisualStylesEnabled && VisualStyleRenderer.IsElementDefined(VisualStyleElement.Rebar.Chevron.Normal)) 422if (item.IsTopLevel && !ToolStripManager.VisualStylesEnabled) 461Color borderColor = ToolStripManager.VisualStylesEnabled 475else if (!ToolStripManager.VisualStylesEnabled && (item.RawBackColor != Color.Empty)) 532if (ToolStripManager.VisualStylesEnabled 651if (ToolStripManager.VisualStylesEnabled 695if (ToolStripManager.VisualStylesEnabled
System.Windows.Forms.Tests (2)
System\Windows\Forms\ProfessionalColorsTests.cs (1)
83bool oldValue = ToolStripManager.VisualStylesEnabled;
System\Windows\Forms\ProfessionalColorTableTests.cs (1)
106bool oldValue = ToolStripManager.VisualStylesEnabled;