public static Color Press(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(238, 238, 238)); } return(Color.FromArgb(51, 51, 51)); }
public static Color Normal(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(170, 170, 170)); } return(Color.FromArgb(0, 0, 0)); }
public static Color Disabled(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(51, 51, 51)); } return(Color.FromArgb(209, 209, 209)); }
public static Color Press(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(153, 153, 153)); } return(Color.FromArgb(0, 0, 0)); }
public static Color Disabled(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(93, 93, 93)); } return(Color.FromArgb(136, 136, 136)); }
public static Color Normal(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(34, 34, 34)); } return(Color.FromArgb(238, 238, 238)); }
public static Color Hover(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(170, 170, 170)); } return(Color.FromArgb(102, 102, 102)); }
public static Color Hover(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(255, 255, 255)); } return(Color.FromArgb(255, 255, 255)); }
public static Color Normal(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(68, 68, 68)); } return(Color.FromArgb(204, 204, 204)); }
public static Color Press(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(204, 204, 204)); } return(Color.FromArgb(17, 17, 17)); }
public static Color Disabled(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(38, 38, 38)); } return(Color.FromArgb(234, 234, 234)); }
public static Color Normal(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(51, 51, 51)); } return(Color.FromArgb(221, 221, 221)); }
public static Color Normal(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(153, 153, 153)); } return(Color.FromArgb(102, 102, 102)); }
public static Color Disabled(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(80, 80, 80)); } return(Color.FromArgb(204, 204, 204)); }
public static Color Disabled(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(109, 109, 109)); } return(Color.FromArgb(155, 155, 155)); }
public static Color Press(WellsMetroThemeStyle theme) { if (theme == WellsMetroThemeStyle.Dark) { return(Color.FromArgb(93, 93, 93)); } return(Color.FromArgb(128, 128, 128)); }
private void MetroToolTip_Draw(object sender, DrawToolTipEventArgs e) { WellsMetroThemeStyle displayTheme = (Theme == WellsMetroThemeStyle.Light) ? WellsMetroThemeStyle.Dark : WellsMetroThemeStyle.Light; Color backColor = WellsMetroPaint.BackColor.Form(displayTheme); Color borderColor = WellsMetroPaint.BorderColor.Button.Normal(displayTheme); Color foreColor = WellsMetroPaint.ForeColor.Label.Normal(displayTheme); using (SolidBrush b = new SolidBrush(backColor)) { e.Graphics.FillRectangle(b, e.Bounds); } using (Pen p = new Pen(borderColor)) { e.Graphics.DrawRectangle(p, new Rectangle(e.Bounds.X, e.Bounds.Y, e.Bounds.Width - 1, e.Bounds.Height - 1)); } Font f = WellsMetroFonts.Default(13f); TextRenderer.DrawText(e.Graphics, e.ToolTipText, f, e.Bounds, foreColor, TextFormatFlags.HorizontalCenter | TextFormatFlags.VerticalCenter); }
public contextcolors(Wells.WellsFramework.WellsMetroThemeStyle Theme, WellsMetroColorStyle Style) { _theme = Theme; _style = Style; }