In the button Key_Down handler check that KeyEventArgs.KeyCode == Keys.Enter
and call onclick handler
AT> Can I configure a button so that when I press "Enter" key in a text
AT> box to trigger the button onclick event?
AT>
---
WBR,
Michael Nemtsev :: blog: http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche