Israel

Israel

  • 672
  • 1.3k
  • 213.7k

RichText: Keep new datas at the same place...

May 13 2015 4:49 AM
Hi!
 
I have two textboxes (textBox1, textBox2 and richTextBox) where I insert datas. These datas goes directly in richTextBox. But there is a problem:
when I replace others datas in the same textboxes... when I click on the button I want to see the last datas inserted in the richText dont be replaced.
Means the others new datas inserted on textboxes should be added in the same richTextBox after click.
My codes:
 
richTextBox1.Text = Environment.NewLine + textBox1.Text;
richTextBox1.Text += "\r" + Environment.NewLine + textBox2.Text;
 

Answers (1)