Advertisement
Guest User

Untitled

a guest
Mar 25th, 2019
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. private void InBox_KeyPress(object sender, KeyPressEventArgs e)
  2. {
  3. if (e.KeyChar==(char)keys.Enter)
  4. {
  5. Console.WriteLine(InBox.Text);
  6. OutBox.AppendText(InBox.Text + "¥r¥n");
  7. InBox.Text = "";
  8. }
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement