private void btnDelete_Click(object sender, EventArgs e) { if (SupplementDeleted != null) { SupplementDeleted.Invoke(sender, e); } }
private void BtnDelete_Click(object sender, EventArgs e) { try { if (SupplementDeleted != null) { SupplementDeleted.Invoke(sender, e); } } catch (Exception err) { ShowError(err); } }