private void btnUnderline_Click(object sender, EventArgs e) { Debug.Assert(HTMLEditor.Document != null, "HTMLEditor.Document != null"); HTMLEditor.Document.ExecCommand("Underline", false, null); }