c# - New line in textbox -


i have textbox1 lets user input text, button adds text textbox2. code doesnt create new line when add text.

 string date = datetime.now.tostring();  txt_details.text = date + "  " + txt_summary.text.tostring() +    environment.newline + environment.newline ; 

notice += operator.

txt_details.text += "\n" + date + "  " + txt_summary.text.tostring();

Comments

Popular posts from this blog

user interface - Python attempting to create a simple gui, getting "AttributeError: 'MainMenu' object has no attribute 'intro_screen'" -

jquery - Common JavaScript snippet to share files on Google Drive, Dropbox, Box.net or SkyDrive -

Android Gson.fromJson error -