Ejemplo n.º 1
0
 private void Upload()
 {
     try
     {
         Lyrics.Save();
         if (!Lyrics.Configuration.UseConsoleToUploadFromWinForm)
         {
             Lyrics.Send();
         }
         else
         {                               // this works today
             string binaryFile = SaveLyrics();
             SendViaConsole(binaryFile); // then the console is going to call Lyrics.Send()
         }
     }
     catch (Exception ex)
     {
         MessageBox.Show(ex.Message, "ATEM Error");
     }
 }