Brian Lees

Brian Lees

  • NA
  • 1
  • 0

Default and Cancel actions/buttons on a .NET Windows Form

Aug 28 2007 5:44 PM

I come to C# & Windows Forms programming from VB6, where it was easy to make a form respond predictably to the Enter and Escape keys using two (hidden?) buttons that have their Default and Cancel properties respectively set to True.

How do I do this in Windows Forms? Help, please!


Answers (1)