C#: how to insert string containing new lines into TextBox? -


How can you insert new lines into a text box in a text box?

When I call it \ n as new line character, it does not work.

You must set the multilevel property of the text box to the correct and you

  can use the environment. New line  

as the new line.

You can also use \ r \ n instead of the environment. New

  TextBox1.Text = "first line \ r \ n second line"  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -