Exemplo n.º 1
0
 void syncManager_SyncError(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         SplashError(this, new BombaJobEventArgs(e.IsError, e.ErrorMessage, e.XmlContent));
     });
 }
Exemplo n.º 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));
     });
 }
Exemplo n.º 3
0
 void MainPage_SyncComplete(object sender, BombaJobEventArgs e)
 {
     base.BuildApplicationBar();
     NavigationService.Navigate(new Uri("/Views/Newest.xaml", UriKind.Relative));
 }
Exemplo n.º 4
0
 void syncManager_SyncError(object sender, BombaJobEventArgs e)
 {
     if (e.IsError)
         MessageBox.Show(e.ErrorMessage);
 }
Exemplo n.º 5
0
 void syncManager_SyncError(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         if (e.IsError)
             MessageBox.Show(e.ErrorMessage);
     });
 }
Exemplo n.º 6
0
 void syncManager_SyncComplete(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         if (!e.IsError)
             MessageBox.Show(AppResources.offer_ThankYou);
     });
 }
Exemplo n.º 7
0
 void syncManager_SyncComplete(object sender, BombaJobEventArgs e)
 {
     if (MessageBox.Show(AppResources.offer_ThankYou) == MessageBoxResult.OK)
         NavigationService.GoBack();
 }
Exemplo n.º 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 = "";
 }
Exemplo n.º 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, ""));
     });
 }
Exemplo n.º 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 { }
     });
 }
Exemplo n.º 11
0
 void _networkHelper_DownloadInBackgroundComplete(object sender, BombaJobEventArgs e)
 {
     if (!e.IsError)
     {
         if (e.ServiceOp > 0)
             this.currentOp = e.ServiceOp;
         this.dispatchDownload(e.XmlContent);
     }
 }
Exemplo n.º 12
0
 void _networkHelper_DownloadError(object sender, BombaJobEventArgs e)
 {
     Deployment.Current.Dispatcher.BeginInvoke(() =>
     {
         SyncError(this, new BombaJobEventArgs(true, e.ErrorMessage, ""));
     });
 }
Exemplo n.º 13
0
 void _networkHelper_DownloadComplete(object sender, BombaJobEventArgs e)
 {
     if (!e.IsError)
         this.dispatchDownload(e.XmlContent);
 }