/// <summary> /// StringBuilder to hold text until the control is actually created /// </summary> //private StringBuilder sb; public WritableTextDisplay() { // This call is required by the Windows.Forms Form Designer. InitializeComponent(); // TODO: Add any initialization after the InitializeComponent call writer = new TextBoxWriter( textBox ); }
public RichEditTabPage() { this.textBox = new RichTextBox(); this.textBox.Multiline = true; this.textBox.Dock = DockStyle.Fill; this.Controls.Add( textBox ); this.writer = new TextBoxWriter( textBox ); }