private void tsmiDeleteTag_Click(object sender, EventArgs e) { try { String tag = (cmsTag.SourceControl as LinkLabel).Text; if (MessageBox.Show(String.Format(Resources.Labels.DeleteTagFormat, tag), Resources.Labels.DeleteTagTitle, MessageBoxButtons.OKCancel, MessageBoxIcon.Warning, MessageBoxDefaultButton.Button2) == DialogResult.OK) { keeper.DeleteTag(tag); updateTagCloud(); dgvSearchResults.Rows.Clear(); } } catch (Exception ex) { ErrorHelper.ShowErrorBox(e: ex); } }