Exemplo n.º 1
0
 protected void readMessageToStart()
 {
     if (messageToShowOnBoot.Length > 0)
     {
         if (chronojumpHasToExit)
         {
             if (quitNowCjTwoTimes)
             {
                 splashWin.UpdateLabel(messageToShowOnBoot);
                 splashWin.FakeButtonClose.Clicked += new EventHandler(on_message_boot_accepted_quit_not_deleting_runningfilename);
             }
             else
             {
                 messageToShowOnBoot += "\n<b>" + string.Format(Catalog.GetString("Chronojump will exit now.")) + "</b>\n";
                 splashWin.UpdateLabel(messageToShowOnBoot);
                 splashWin.Show_button_open_database_folder();
                 splashWin.Button_close.Clicked += new EventHandler(on_message_boot_accepted_quit_nice);
             }
             splashWin.ShowButtonClose();
         }
         else
         {
             if (configChronojump.Compujump)
             {
                 startChronojump(false);                     //don't sendLog
             }
             else
             {
                 startChronojump(true);                     //sendLog
             }
         }
     }
     else
     {
         startChronojump(false);
     }
 }