private void txt1_KeyPress(object sender, KeyPressEventArgs e) { if (e.KeyChar == (char)Keys.Enter) { //do something } }
No comments:
Post a Comment