Esempio n. 1
0
                public static Color Press(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(238, 238, 238));
                    }

                    return(Color.FromArgb(51, 51, 51));
                }
Esempio n. 2
0
                public static Color Normal(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(170, 170, 170));
                    }

                    return(Color.FromArgb(0, 0, 0));
                }
Esempio n. 3
0
                public static Color Disabled(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(51, 51, 51));
                    }

                    return(Color.FromArgb(209, 209, 209));
                }
Esempio n. 4
0
                public static Color Press(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(153, 153, 153));
                    }

                    return(Color.FromArgb(0, 0, 0));
                }
Esempio n. 5
0
                public static Color Disabled(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(93, 93, 93));
                    }

                    return(Color.FromArgb(136, 136, 136));
                }
Esempio n. 6
0
                public static Color Normal(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(34, 34, 34));
                    }

                    return(Color.FromArgb(238, 238, 238));
                }
Esempio n. 7
0
                public static Color Hover(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(170, 170, 170));
                    }

                    return(Color.FromArgb(102, 102, 102));
                }
Esempio n. 8
0
                public static Color Hover(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(255, 255, 255));
                    }

                    return(Color.FromArgb(255, 255, 255));
                }
Esempio n. 9
0
                public static Color Normal(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(68, 68, 68));
                    }

                    return(Color.FromArgb(204, 204, 204));
                }
Esempio n. 10
0
                    public static Color Press(WellsMetroThemeStyle theme)
                    {
                        if (theme == WellsMetroThemeStyle.Dark)
                        {
                            return(Color.FromArgb(204, 204, 204));
                        }

                        return(Color.FromArgb(17, 17, 17));
                    }
Esempio n. 11
0
                    public static Color Disabled(WellsMetroThemeStyle theme)
                    {
                        if (theme == WellsMetroThemeStyle.Dark)
                        {
                            return(Color.FromArgb(38, 38, 38));
                        }

                        return(Color.FromArgb(234, 234, 234));
                    }
Esempio n. 12
0
                    public static Color Normal(WellsMetroThemeStyle theme)
                    {
                        if (theme == WellsMetroThemeStyle.Dark)
                        {
                            return(Color.FromArgb(51, 51, 51));
                        }

                        return(Color.FromArgb(221, 221, 221));
                    }
Esempio n. 13
0
                    public static Color Normal(WellsMetroThemeStyle theme)
                    {
                        if (theme == WellsMetroThemeStyle.Dark)
                        {
                            return(Color.FromArgb(153, 153, 153));
                        }

                        return(Color.FromArgb(102, 102, 102));
                    }
Esempio n. 14
0
                public static Color Disabled(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(80, 80, 80));
                    }

                    return(Color.FromArgb(204, 204, 204));
                }
Esempio n. 15
0
                public static Color Disabled(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(109, 109, 109));
                    }

                    return(Color.FromArgb(155, 155, 155));
                }
Esempio n. 16
0
                public static Color Press(WellsMetroThemeStyle theme)
                {
                    if (theme == WellsMetroThemeStyle.Dark)
                    {
                        return(Color.FromArgb(93, 93, 93));
                    }

                    return(Color.FromArgb(128, 128, 128));
                }
Esempio n. 17
0
        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);
        }
Esempio n. 18
0
 public contextcolors(Wells.WellsFramework.WellsMetroThemeStyle Theme, WellsMetroColorStyle Style)
 {
     _theme = Theme;
     _style = Style;
 }