using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; namespace AyaNova { public partial class test : Form { public test() { InitializeComponent(); } public string RtfToDisplay { set { tbInsert.Text = value; } } private void rt_TextChanged(object sender, EventArgs e) { tbRtfInControl.Text = rt.Rtf; } private void tbInsert_TextChanged(object sender, EventArgs e) { rt.Rtf = tbInsert.Text; } private void updateToolStripMenuItem_Click(object sender, EventArgs e) { tbRtfInControl.Text = rt.Rtf; } } }