Exemplo n.º 1
0
        public static string GetDefaultCellBgColor(JobViewTheme theme)
        {
            switch (theme)
            {
            case JobViewTheme.Default:
                return("#FFFFFF");

            default:
                return("#FFFFFF");
            }
        }
Exemplo n.º 2
0
        public static string GetBooleanValueColor(JobViewTheme theme, bool value)
        {
            switch (theme)
            {
            case JobViewTheme.Default:
                if (value)
                {
                    return("#00FF00");
                }
                else
                {
                    return("#FF0000");
                }

            default:
                return("#FFFFFF");
            }
        }