/// <summary> /// Delete function and reference exists checking /// </summary> public void DeleteFunction() { try { ServiceSP spService = new ServiceSP(); if (spService.ServiceDeleteReferenceCheck(decServiceId) == -1) { Messages.ReferenceExistsMessage(); } else { Clear(); btnSave.Text = "Save"; Messages.DeletedMessage(); } } catch (Exception ex) { MessageBox.Show("Ser8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Delete function and reference exists checking /// </summary> public void DeleteFunction() { try { ServiceSP spService = new ServiceSP(); if (spService.ServiceDeleteReferenceCheck(decServiceId) == -1) { Messages.ReferenceExistsMessage(); } else { Clear(); btnSave.Text = "Save"; Messages.DeletedMessage(); GridFill(); } } catch (Exception ex) { formMDI.infoError.ErrorString = "Ser8:" + ex.Message; } }
/// <summary> /// Delete function and reference exists checking /// </summary> public void DeleteFunction() { try { ServiceSP spService = new ServiceSP(); if (spService.ServiceDeleteReferenceCheck(decServiceId) == -1) { Messages.ReferenceExistsMessage(); } else { Clear(); btnSave.Text = "Save"; Messages.DeletedMessage(); } } catch (Exception ex) { MessageBox.Show("Ser8:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }