Ejemplo n.º 1
0
        private static void GetConfig()
        {
            var       strPrintType = ConfigList.Single(p => p.ParamName == "PrintType").ParamValue;
            PrintType printType;

            if (Enum.TryParse(strPrintType, true, out printType))
            {
                PrintType = printType;
            }
            DefaultPreDays = 3;
//            DefaultPreDays = Convert.ToInt32(ConfigList.Single(p => p.ParamName == "DefaultPreDays").ParamValue);
        }