Here's a portion of code that I have that takes the inputted text in a text box and sends it to a rich text box when the enter key is pressed:
private void textData_KeyPress(object sender, System.Windows.Forms.KeyPressEventArgs e)
if (e.KeyChar == 13 || textData.Text != null)
richMain.Text += ("\n" + textData.Text);
Could anyone tell me why this is not working?ÃÂ Thanks in advance.
View Complete Post