private void htmlToolStripMenuItem_Click(object sender, EventArgs e) { //MessageBox.Show(this, editor.BodyHtml); var dlg = new EditText(); var s = editor.Html; if (dlg.Execute(this, false, ref s)) { editor.Html = s; } }
private void textToolStripMenuItem_Click(object sender, EventArgs e) { //MessageBox.Show(this, editor.BodyText);*** var dlg = new EditText(); var s = editor.BodyText; if (dlg.Execute(this, true, ref s)) { editor.Html = s; } }