private void RepeatButton_OnClick(object sender, RoutedEventArgs e)
 {
     UploadProgress up = new UploadProgress(items, index);
     up.Show();
     //tomTomRequestHandler.UploadAddressData(TomTomLogin.account, TomTomLogin.user, TomTomLogin.password, items, index);
     Close();
 }
 private void timer_Tick(object sender, EventArgs e)
 {
     if (time > 0)
     {
         time--;
         timerLabel.Content = String.Format("00:{0}:{1}", time/60, time%60);
     }
     else
     {
         UploadProgress up = new UploadProgress(list, index);
         up.Show();
         Close();
     }
 }
 private void UploadButton_OnClick(object sender, RoutedEventArgs e)
 {
     if(MessageBox.Show("Sollen die Daten wirklich zu TomTom übertragen werden?", "Upload", MessageBoxButton.YesNo) == MessageBoxResult.Yes)
     {
         UploadProgress uploadProgress = new UploadProgress(items, 0);
         uploadProgress.Show();
     }
 }