void syncManager_SyncError(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         SplashError(this, new BombaJobEventArgs(e.IsError, e.ErrorMessage, e.XmlContent));
     });
 }
Beispiel #2
0
 void syncManager_SyncComplete(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         NavigationService.Navigate(new Uri("/Views/SearchResults.xaml?k=" + this.txtKeyword.Text + "&f=" + this.chkFreelanceYn.SelectedIndex, UriKind.Relative));
     });
 }
Beispiel #3
0
 void MainPage_SyncComplete(object sender, BombaJobEventArgs e)
 {
     base.BuildApplicationBar();
     NavigationService.Navigate(new Uri("/Views/Newest.xaml", UriKind.Relative));
 }
Beispiel #4
0
 void syncManager_SyncError(object sender, BombaJobEventArgs e)
 {
     if (e.IsError)
         MessageBox.Show(e.ErrorMessage);
 }
 void syncManager_SyncError(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         if (e.IsError)
             MessageBox.Show(e.ErrorMessage);
     });
 }
 void syncManager_SyncComplete(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         if (!e.IsError)
             MessageBox.Show(AppResources.offer_ThankYou);
     });
 }
Beispiel #7
0
 void syncManager_SyncComplete(object sender, BombaJobEventArgs e)
 {
     if (MessageBox.Show(AppResources.offer_ThankYou) == MessageBoxResult.OK)
         NavigationService.GoBack();
 }
Beispiel #8
0
 void syncManager_SyncComplete(object sender, BombaJobEventArgs e)
 {
     MessageBox.Show(AppResources.offer_ThankYou);
     this.ddHuman.SelectedIndex = 0;
     this.ddFreelance.SelectedIndex = 0;
     this.ddCategory.SelectedIndex = 0;
     this.txtTitle.Text = "";
     this.txtEmail.Text = "";
     this.txtPositiv.Text = "";
     this.txtNegativ.Text = "";
 }
Beispiel #9
0
 void splashScreen_SplashError(object sender, BombaJobEventArgs e)
 {
     if (e.IsError)
         MessageBox.Show(e.ErrorMessage);
     this.ApplicationBar.IsVisible = true;
     this.Dispatcher.BeginInvoke(() =>
     {
         SyncError(this, new BombaJobEventArgs(e.IsError, e.ErrorMessage, ""));
     });
 }
Beispiel #10
0
 void splashScreen_SplashComplete(object sender, BombaJobEventArgs e)
 {
     this.Dispatcher.BeginInvoke(() =>
     {
         this.popup.IsOpen = false;
         if (this.ApplicationBar != null)
             this.ApplicationBar.IsVisible = true;
         try
         {
             SyncComplete(this, new BombaJobEventArgs(e.IsError, "", ""));
         }
         catch { }
     });
 }
Beispiel #11
0
 void _networkHelper_DownloadInBackgroundComplete(object sender, BombaJobEventArgs e)
 {
     if (!e.IsError)
     {
         if (e.ServiceOp > 0)
             this.currentOp = e.ServiceOp;
         this.dispatchDownload(e.XmlContent);
     }
 }
Beispiel #12
0
 void _networkHelper_DownloadError(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         SyncError(this, new BombaJobEventArgs(true, e.ErrorMessage, ""));
     });
 }
Beispiel #13
0
 void _networkHelper_DownloadComplete(object sender, BombaJobEventArgs e)
 {
     if (!e.IsError)
         this.dispatchDownload(e.XmlContent);
 }