private CommentBodyView_Selected ( object sender, System.Windows.Forms.TabControlEventArgs e ) : void | ||
sender | object | |
e | System.Windows.Forms.TabControlEventArgs | |
return | void |
private void CommentBodyView_Selected(object sender, TabControlEventArgs e)
{
if (e.TabPage == CommentBodyViewRaw)
{
CommentBodyRaw.Text = CommentBody.Document.Body.InnerHtml;
}
else if(e.TabPage!=CommentBodyViewFile)
{
CommentBody.Document.Body.InnerHtml = CommentBodyRaw.Text;
}
}