winforms how to check for enter key
Code Example - winforms how to check for enter key
//add the handler to the textbox
this.textBox1.KeyPress += new System.Windows.Forms.KeyPressEventHandler(CheckEnterKeyPress);