Ejemplo n.º 1
0
        public static void Main(string[] args)
        {
            ZwGen gen = new ZwGen();

            gen.LoadConfig(args.Length > 0 ? args[0] : "options.txt");
            gen.Execute();
        }
Ejemplo n.º 2
0
        static void Main(string[] args)
        {
            ZwGen gen = new ZwGen();
            string configFile = args.Length > 0 ? args[0] : "options.txt";

            try
            {
                gen.LoadConfig(configFile);
                gen.Execute();
            }
            catch (Exception ex)
            {
                Console.WriteLine(ex.ToString());
            }
        }