void syncManager_SyncError(object sender, NeologEventArgs e) { if (e.IsError) { MessageBox.Show(e.ErrorMessage); } }
void syncManager_SyncError(object sender, NeologEventArgs e) { Deployment.Current.Dispatcher.BeginInvoke(() => { LoadingError(this, new NeologEventArgs(e.IsError, e.ErrorMessage, e.XmlContent)); }); }
void _networkHelper_DownloadError(object sender, NeologEventArgs e) { Deployment.Current.Dispatcher.BeginInvoke(() => { SyncError(this, new NeologEventArgs(true, e.ErrorMessage, "")); }); }
void _networkHelper_DownloadComplete(object sender, NeologEventArgs e) { if (!e.IsError) { this.dispatchDownload(e.XmlContent); } }
void loadingPopup_LoadingError(object sender, NeologEventArgs e) { this.popup.IsOpen = false; if (e.IsError) { MessageBox.Show(e.ErrorMessage); } }
void syncManager_SyncComplete(object sender, NeologEventArgs e) { MessageBox.Show(AppResources.thankYou); this.txtName.Text = ""; this.txtEmail.Text = ""; this.txtURL.Text = ""; this.txtWord.Text = ""; this.ddNests.SelectedIndex = 0; this.txtDescription.Text = ""; this.txtExample.Text = ""; this.txtEthimology.Text = ""; }
void loadingPopup_LoadingComplete(object sender, NeologEventArgs e) { this.popup.IsOpen = false; if (this.nestID > 0) { this.wordsList.ItemsSource = App.DbViewModel.GetWordsForNest(this.nestID); } else { this.wordsList.ItemsSource = App.DbViewModel.GetWordsForLetter(this.letter); } }
void syncManager_SyncError(object sender, NeologEventArgs e) { try { if (e.IsError) { MessageBox.Show(e.ErrorMessage); } } catch { MessageBox.Show(AppResources.generalError); } }
void _networkHelper_DownloadInBackgroundComplete(object sender, NeologEventArgs e) { if (!e.IsError) { if (this.wordId > 0) { this.currentOp = AppSettings.ServiceOp.ServiceOpWordComments; } else { this.currentOp = AppSettings.ServiceOp.ServiceOpWords; } if (e.ServiceOp > 0) { this.currentOp = e.ServiceOp; } this.dispatchDownload(e.XmlContent); } }
void syncManager_SyncComplete(object sender, NeologEventArgs e) { NavigationService.GoBack(); }
void syncManager_SyncError(object sender, NeologEventArgs e) { }
void syncManager_SyncComplete(object sender, NeologEventArgs e) { }
void syncComplete(object sender, NeologEventArgs e) { base.BuildApplicationBar(); NavigationService.Navigate(new Uri("/Views/NestsAndLetters.xaml", UriKind.Relative)); }