Exemplo n.º 1
0
        public static bool DeocdeVisualConfig(string tg, string data)
        {
            switch (tg)
            {
            case "u":
                upperColor.Decode(data);
                break;

            case "m":
                middleColor.Decode(data);
                break;

            case "l":
                bottomColor.Decode(data);
                break;

            case "h":
                gradientMiddle.Decode(data);
                break;

            default: return(false);
            }

            return(true);
        }