31 lines
954 B
C#
31 lines
954 B
C#
// Decompiled with JetBrains decompiler
|
|
// Type: DarkModeForms.CustomColorTable
|
|
// Assembly: Raton, Version=0.4.0.0, Culture=neutral, PublicKeyToken=null
|
|
// MVID: 36C4E416-7F8D-4D23-930F-B5CCB0D810E7
|
|
// Assembly location: C:\Users\user\Desktop\v3.8.0 Deluxe Plugins (v4.0.0) cracked\Raton.exe
|
|
|
|
using System.Drawing;
|
|
using System.Windows.Forms;
|
|
|
|
#nullable disable
|
|
namespace DarkModeForms;
|
|
|
|
public class CustomColorTable : ProfessionalColorTable
|
|
{
|
|
public OSThemeColors Colors { get; set; }
|
|
|
|
public CustomColorTable(OSThemeColors _Colors)
|
|
{
|
|
this.Colors = _Colors;
|
|
this.UseSystemColors = false;
|
|
}
|
|
|
|
public override Color ToolStripDropDownBackground => this.Colors.Background;
|
|
|
|
public override Color ImageMarginGradientBegin => this.Colors.Background;
|
|
|
|
public override Color ImageMarginGradientMiddle => this.Colors.Background;
|
|
|
|
public override Color ImageMarginGradientEnd => this.Colors.Background;
|
|
}
|