Пример #1
0
        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;
            }
        }
Пример #2
0
        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;
            }
        }