4 references to Dark
System.Windows.Forms (2)
System\Windows\Forms\Controls\GroupBox\GroupBox.cs (1)
594
using CreatePenScope hpenDark = new(ControlPaint.
Dark
(backColor, 0f));
System\Windows\Forms\Controls\GroupBox\GroupBoxRenderer.cs (1)
250
using var dark = ControlPaint.
Dark
(backColor, 0f).GetCachedPenScope();
System.Windows.Forms.Tests (2)
System\Windows\Forms\ControlPaintTests.cs (2)
502
Assert.Equal(expected, ControlPaint.
Dark
(baseColor, percOfDarkDark));
505
Assert.Equal(expected, ControlPaint.
Dark
(baseColor, percOfDarkDark));