public void IconClicked(HTMLEditorButtonArgs doc) { var frm = new FrmViewHtml(doc.Editor.Html); if (frm.ShowDialog() == DialogResult.OK) { doc.Editor.SetHtml(frm.Html); } }