コード例 #1
0
        //[MTAThread]
        static void Main(string[] argv)
        {
            // TODO: Return value to check if the generation was right.
            CommandLineMode commandLineMode = new CommandLineMode();

            try
            {
                ExceptionMessageBox.UrlBugReport = "http://sourceforge.net/tracker/?group_id=197104&atid=960127";
                commandLineMode.ReadCommandLine(argv);
                commandLineMode.Run();
            }
            catch (Exception ex)
            {
                commandLineMode.Message("Unhandled exception", ex);
            }
        }
コード例 #2
0
 static void Main(string[] argv)
 {
     CommandLineMode commandLineMode = new CommandLineMode();
     try
     {
         ExceptionMessageBox.UrlBugReport = "http://sourceforge.net/tracker/?group_id=197104&atid=960127";
         commandLineMode.ReadCommandLine(argv);
         commandLineMode.Run();
     }
     catch (Exception ex)
     {
         commandLineMode.Message("Unhandled exception", ex);
     }
 }