You can set
form1.KeyPreview = true;
and handle event
form1.KeyDown
.
Setting KeyPreview to true, then the form will receive key events before the event is passed to the control that has focus
form1.KeyPreview = true;
form1.KeyDown += new System.Windows.Forms.KeyEventHandler(this.form1_KeyDown);
Method to suppress ENTER button.
private void form1_KeyDown(object sender, KeyEventArgs e)
{
if (e.KeyData == Keys.Enter)
{
e.SuppressKeyPress = true;
SaveData();
}
}