Exemplo n.º 1
0
 private void UseLastClicked()
 {
     try
     {
         string xml = ScheduleFile.ReadScheduleFile();
         if (String.IsNullOrEmpty(xml))
         {
             MessageBox.Show("Unable to load previous schedule. Please use the 'Retry' button.", "No Previous Schedule", MessageBoxButton.OK, MessageBoxImage.Error);
             return;
         }
         CurrentSchedule.ParseScheduleXml(xml);
         FadeOut();
     }
     catch { }
 }