internal void button_delete_cashPayments_Click() { try { if (ShowMessage.confirm(Common.Messages.Information.Info013) == System.Windows.MessageBoxResult.Yes) { if (paymentSection.dataGrid_cashPayments_cashPayments.SelectedItemID > 0) { paymentManagerImpl.deleteCashPayment(); paymentManagerImpl.loadAllCashPayments(); ShowMessage.success(Common.Messages.Success.Success003); } else { ShowMessage.error(Common.Messages.Error.Error009); } } } catch (Exception) { } }