How would I assign something to when I hit enter in a text box ?

Here is what I have

text1
and
txtConsole

When I hit enter in text 1 I want the text from text to go into txtConsole.. can anyone help ?