internal void button_delete_chequePayments_Click() { try { if (ShowMessage.confirm(Common.Messages.Information.Info013) == System.Windows.MessageBoxResult.Yes) { if (paymentSection.dataGrid_chequePayments_chequePayments.SelectedItemID > 0) { paymentManagerImpl.deleteChequePayment(); paymentManagerImpl.loadAllChequePayments(); ShowMessage.success(Common.Messages.Success.Success004); } else { ShowMessage.error(Common.Messages.Error.Error009); } } } catch (Exception) { } }