/// <summary> /// Function to delete /// </summary> public void DeleteFunction() { try { CurrencySP spCurrency = new CurrencySP(); if (spCurrency.CurrencyCheckReferences(decId) == -1) { Messages.ReferenceExistsMessage(); } else { Messages.DeletedMessage(); Clear(); GridFill(); } } catch (Exception ex) { formMDI.infoError.ErrorString = "C8:" + ex.Message; } }
/// <summary> /// Function to delete /// </summary> public void DeleteFunction() { try { CurrencySP spCurrency = new CurrencySP(); if (spCurrency.CurrencyCheckReferences(decId) == -1) { Messages.ReferenceExistsMessage(); } else { Messages.DeletedMessage(); Clear(); GridFill(); } } catch (Exception ex) { MessageBox.Show("C8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to delete /// </summary> public void DeleteFunction() { try { CurrencySP spCurrency = new CurrencySP(); if (spCurrency.CurrencyCheckReferences(decId) == -1) { Messages.ReferenceExistsMessage(); } else { Messages.DeletedMessage(); Clear(); GridFill(); } } catch (Exception ex) { MessageBox.Show("C8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }