private static void RunInReleaseMode()
 {
     AppDomain.CurrentDomain.UnhandledException += AppDomainUnhandledException;
     try
     {
         ApplicationIBootstrapper bootstrapper = new ApplicationIBootstrapper();
         bootstrapper.Run();
     }
     catch (Exception ex)
     {
         HandleException(ex);
     }
 }
        private static void RunInDebugMode()
        {
            ApplicationIBootstrapper bootstrapper = new ApplicationIBootstrapper();

            bootstrapper.Run();
        }