Пример #1
0
        static void Main(string[] args)
        {
            try
              {
             if (args.Length != 2)
             {
                Console.Out.WriteLine ("Usage: MpxjConvert <input file name> <output file name>");
             }
             else
             {
                MpxjConvert convert = new MpxjConvert();
                convert.process(args[0], args[1]);
             }
              }

              catch (Exception ex)
              {
              Console.Out.WriteLine(ex.ToString());
              }
        }
Пример #2
0
        static void Main(string[] args)
        {
            try
            {
                if (args.Length != 2)
                {
                    Console.Out.WriteLine("Usage: MpxjConvert <input file name> <output file name>");
                }
                else
                {
                    MpxjConvert convert = new MpxjConvert();
                    convert.process(args[0], args[1]);
                }
            }

            catch (Exception ex)
            {
                Console.Out.WriteLine(ex.ToString());
            }
        }