Beispiel #1
0
        protected virtual void OnDeleteCompleted(DeleteCompletedEventArgs e)
        {
            EventHandler <DeleteCompletedEventArgs> handler = DeleteCompleted;

            if (handler != null)
            {
                handler(this, e);
            }
        }
 void _accountService_DeleteCompleted(object sender, DeleteCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         _locator.LoggerViewModel.AddLog("Delete user:" + e.Result.ErrorCode);
         RefresUsersBody();
     }
 }
 void _folderManagerService_DeleteCompleted(object sender, DeleteCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         Locator.LoggerViewModel.AddLog("Delete directory: " + e.Result.ErrorCode);
     }
 }
 void AccountClient_DeleteCompleted(object sender, DeleteCompletedEventArgs e)
 {
     if (e.Error == null)
     {
         if (e.Result.ErrorCode == Common.RSSService.WebResult.ErrorCodeList.SUCCESS)
         {
             RefreshAllUser();
         }
     }
 }