Good morning ... I have a richTextBox
in which I enter a text then that text I pass it to string
, then that same string
I put it in textbox
. But when I assign that string
to textbox
the line breaks that I added with the enter key do not appear and the text comes out together.
this is the code of the "Pasar texto" button
string texto = richTextBox1.Text;
textBox1.Text = texto;