Sometimes while working on a project in Visual Studio, I come across a property or setting that makes me think, "Hey, that's just too easy, why haven't I used this before?". That's exactly what I thought when I returned to Windows Forms development, and found the AcceptButton and CancelButton properties of a Form.
Let's say you've got a standard form, and when the user is finished filling in the information, they either "Submit" the information, or they "Cancel" out of the form. Users generally also expect the Enter key to submit, and also the Escape key to cancel, since that's the way just about every application works in Windows. But instead of separately handling those keypress events, you can actually tie those standard actions to your already working Submit and Cancel buttons on the form. It could not be simpler than that!
For example, here's a sample form that might use this technique.

Now assuming I've already handled my button click events for the buttons, I can set the buttons to be the Accept and Cancel buttons for the form, either from the designer or in code. Here you can see the designer information for these properties.
Now, maybe this only saved me a couple of minutes and a few lines of code, but it's nice that I can say I learned something useful, even from something as simple as a login form!