コード例 #1
0
 /// <summary>
 /// Raises the <see cref="E:Failed"/> event.
 /// </summary>
 /// <param name="e">The <see cref="TinyMoneyManager.Data.DataSynchronizationHandlerEventArgs"/> instance containing the event data.</param>
 protected virtual void OnFailed(DataSynchronizationHandlerEventArgs e)
 {
     var handler = this.DataHandleringFailed;
     if (handler != null)
         handler(this, e);
 }
コード例 #2
0
 private void dataSynchronizationHandler_DataHandleringSuccess(object sender, DataSynchronizationHandlerEventArgs e)
 {
     this.RestoreCheckingStatusPanel.Visibility = Visibility.Collapsed;
     this.serverProxy.CloseAsync();
 }
コード例 #3
0
 /// <summary>
 /// Raises the <see cref="E:Success"/> event.
 /// </summary>
 /// <param name="e">The <see cref="TinyMoneyManager.Data.DataSynchronizationHandlerEventArgs"/> instance containing the event data.</param>
 protected virtual void OnSuccess(DataSynchronizationHandlerEventArgs e)
 {
     var handler = this.DataHandleringSuccess;
     if (handler != null)
         handler(this, e);
 }
コード例 #4
0
 private void dataSynchronizationHandler_DataHandleringFailed(object sender, DataSynchronizationHandlerEventArgs e)
 {
     e.StepViewModel.Failed();
     this.dataSynchronizationHandler.IsProcessBarVisiable = false;
     this.RestoreCheckingStatusPanel.Visibility = Visibility.Collapsed;
 }