/// <summary> /// delete function /// </summary> public void DeleteFunction() { try { SuffixPrefixSP spSuffixPrefix = new SuffixPrefixSP(); if (spSuffixPrefix.SuffixPrefixSettingsDeleting(decSuffixPrefixId) == -1) { Messages.ReferenceExistsMessage(); } else { Messages.DeletedMessage(); Clear(); } } catch (Exception ex) { formMDI.infoError.ErrorString = "SPS7" + ex.Message; } }
/// <summary> /// delete function /// </summary> public void DeleteFunction() { try { SuffixPrefixSP spSuffixPrefix = new SuffixPrefixSP(); if (spSuffixPrefix.SuffixPrefixSettingsDeleting(decSuffixPrefixId) == -1) { Messages.ReferenceExistsMessage(); } else { Messages.DeletedMessage(); Clear(); } } catch (Exception ex) { MessageBox.Show("SPS7" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }