/// <summary>
        /// Gets the value of a serialized object from a string and the saved type.
        /// </summary>
        /// <param name="value">The string value.</param>
        /// <param name="valueType">Data type of the value.</param>
        /// <returns></returns>
        object getValue(string value, string valueType)
        {
            switch (valueType)
            {
            case "System.Double":
                double dbl;
                Double.TryParse(value, out dbl);
                return(dbl);

            case "System.Boolean":
                bool bl;
                Boolean.TryParse(value, out bl);
                return(bl);

            case "LIST OF BOOL":
                return(HUI_Util.boolsFromString(value));

            case "LIST OF STRING":
                return(HUI_Util.stringsFromString(value));

            case "System.Drawing.Color":
                string[] res = value.Split("=,]".ToCharArray());
                int      A, R, G, B;
                Int32.TryParse(res[1], out A);
                Int32.TryParse(res[3], out R);
                Int32.TryParse(res[5], out G);
                Int32.TryParse(res[7], out B);
                return(System.Drawing.Color.FromArgb(A, R, G, B));

            default:
                return(value);
            }
        }