I have a C# winform, on which I have 1 button. Now, when I run my application, the button gets focus automatically.
The problem is KeyPress event o
KeyPress
Try setting the Form's KeyPreview property to True.