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