コード例 #1
0
 private void DeletePaymentCommandExecute()
 {
     //Confirm?
     if (MessageBoxResult.Yes ==
         MessageBox.Show("Do you want to delete selected payment?", "Group Shared", MessageBoxButton.YesNo,
                         MessageBoxImage.Warning))
     {
         //Delete
         PaymentBusiness.Delete(SelectedItem.Id);
         //Reload data
         LoadData(Guid.Empty);
         LoadPartner();
     }
 }