/// <summary> /// Delete Function /// </summary> public void DeleteFunction() { try { SizeSP spSize = new SizeSP(); if (spSize.SizeDeleting(decSizeId) <= 0) { Messages.ReferenceExistsMessage(); } else { Messages.DeletedMessage(); GridFill(); Clear(); } } catch (Exception ex) { MessageBox.Show("SZ5" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Delete Function /// </summary> public void DeleteFunction() { try { SizeSP spSize = new SizeSP(); if (spSize.SizeDeleting(decSizeId) <= 0) { Messages.ReferenceExistsMessage(); } else { Messages.DeletedMessage(); GridFill(); Clear(); } } catch (Exception ex) { formMDI.infoError.ErrorString = "SZ5" + ex.Message; } }
/// <summary> /// Delete Function /// </summary> public void DeleteFunction() { try { SizeSP spSize = new SizeSP(); if (spSize.SizeDeleting(decSizeId) <=0) { Messages.ReferenceExistsMessage(); } else { Messages.DeletedMessage(); GridFill(); Clear(); } } catch (Exception ex) { MessageBox.Show("SZ5" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }