Exemplo n.º 1
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     try
     {
         using (GardenGame game = new GardenGame())
         {
             AppDomain.CurrentDomain.UnhandledException +=
                 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
             game.Run();
         }
     }
     catch(Exception ex) {
         ReportErrorOverNetwork(ex);
         MsgBox.Show("IndiegameGarden: critical error",
                     "Critical error - sorry, it's still in Beta! " + ex.Message + "\n" + ex.ToString() );
     }
 }
Exemplo n.º 2
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     try
     {
         AppDomain.CurrentDomain.UnhandledException +=
             new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
         using (GardenGame game = new GardenGame())
         {
             game.Run();
         }
     }
     catch (Exception ex) {
         ReportErrorOverNetwork(ex);
         MsgBox.Show("Indiegame Garden: critical error",
                     CRITICAL_ERROR_MSG + ex.Message + "\n" + ex.ToString());
     }
 }
Exemplo n.º 3
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main(string[] args)
 {
     try
     {
         using (GardenGame game = new GardenGame())
         {
             AppDomain.CurrentDomain.UnhandledException +=
                 new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
             game.Run();
         }
     }
     catch (Exception ex) {
         ReportErrorOverNetwork(ex);
         MsgBox.Show("IndiegameGarden: critical error",
                     "Critical error - sorry, it's still in Beta! " + ex.Message + "\n" + ex.ToString());
     }
 }