Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
Your tip is useful for main forms with no close or cancel button. But most time you will want the "escape-close-form-behaviour" only with dialogs. This is the recommended way to do it: (Now i see Indivara already mentioned it in the comments)using System;using...
Microsoft Student Partner | CS Student | MCTS | CP MVP | Crazy Learner | Dreamer
An Indian, who loves his country, believes in freedom, He is an enthusiast Techie and crazy learner. He is passionate about Technologies and social media. He holds bachelor degree of CS in Information Technology and now pursuing Master degree in Computer Application.
He always excited and keen Interested in learning and sharing knowledge. He loves to write blog, learn new things, listen music, taking arts and Playing Games..
He keep himself on the desk of his imagination, hanging around with some inceptions.