Ejemplo n.º 1
0
        /// <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 );
        }
Ejemplo n.º 2
0
        public RichEditTabPage()
        {
            this.textBox = new RichTextBox();
            this.textBox.Multiline = true;
            this.textBox.Dock = DockStyle.Fill;

            this.Controls.Add( textBox );

            this.writer = new TextBoxWriter( textBox );
        }