Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private void InBox_KeyPress(object sender, KeyPressEventArgs e)
- {
- if (e.KeyChar==(char)keys.Enter)
- {
- Console.WriteLine(InBox.Text);
- OutBox.AppendText(InBox.Text + "¥r¥n");
- InBox.Text = "";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement