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