Exemple #1
0
 // This event handler deals with the results of the background operation.
 private void backgroundWorker1_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
 {
     if (e.Cancelled == true)
     {
         listBoxLog.Log("TV Search Canceled!");
     }
     else if (e.Error != null)
     {
         listBoxLog.Log("TV Search Error: " + e.Error.Message);
     }
     else
     {
         TVShowOptions main = new TVShowOptions(_TVShowList, folderTextBox.Text, commonAppData);
         listBoxLog.Log("TV Search Done!");
     }
     // Close the AlertForm
     alert.Close();
 }
Exemple #2
0
 private void button2_Click(object sender, EventArgs e)
 {
     TVShowOptions main = new TVShowOptions(_TVShowList, folderTextBox.Text, commonAppData);
 }