/// <summary> /// DeleteFunction checking conformation /// </summary> public void DeleteFunction() { try { BomSP spBom = new BomSP(); Messages.DeletedMessage(); if (frmProductCreationObj != null) { bool isDeleted = true; frmProductCreationObj.ReciveDeleteConfirmation(isDeleted); } Clear(); this.Close(); } catch (Exception ex) { formMDI.infoError.ErrorString = "PB:15" + ex.Message; } }
/// <summary> /// DeleteFunction checking conformation /// </summary> public void DeleteFunction() { try { BomSP spBom = new BomSP(); Messages.DeletedMessage(); if (frmProductCreationObj != null) { bool isDeleted = true; frmProductCreationObj.ReciveDeleteConfirmation(isDeleted); } Clear(); this.Close(); } catch (Exception ex) { MessageBox.Show("PB:15" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }