private void TurnOnCommentEditing()
{
// Bind the MSHTML COM control and turn on editing
doc = CommentBody.Document.DomDocument as IHTMLDocument2;
doc.designMode = "On";
HTMLEditorControls.Enabled = true;
CommentBodyRaw.Enabled = true;
LoadAttachment.Enabled = true;
CommentAuthor.ReadOnly = false;
CommentReply.Enabled = CommentAdd.Enabled = CommentDelete.Enabled = CommentEdit.Enabled = false;
Application.DoEvents(); // Let MSHTML get around to binding
Comments_AfterSelect(null, null);
DraggableIcon.Items[0].Text = "text/html";
DraggableIcon.Items[0].ImageIndex = 0;
CommentReply.Visible = CommentAdd.Visible = CommentDelete.Visible = CommentEdit.Visible = false;
}