/// <summary> /// Function to delete multiple unit /// </summary> public void DeleteFunction() { try { UnitConvertionSP spUnitConvertion = new UnitConvertionSP(); Messages.DeletedMessage(); if (frmProductCreationObj != null) { bool isDeleted = true; frmProductCreationObj.ReciveDeleteConfirmationFromMulUnit(isDeleted); } this.Close(); } catch (Exception ex) { MessageBox.Show("PMU:14" + ex.Message, "Open Miracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// Function to delete multiple unit /// </summary> public void DeleteFunction() { try { UnitConvertionSP spUnitConvertion = new UnitConvertionSP(); Messages.DeletedMessage(); if (frmProductCreationObj != null) { bool isDeleted = true; frmProductCreationObj.ReciveDeleteConfirmationFromMulUnit(isDeleted); } this.Close(); } catch (Exception ex) { formMDI.infoError.ErrorString = "PMU:14" + ex.Message; } }