I'm using VS 2017 and Resharper.
In WinForms projects Visual Studio generates event handlers for controls starting with lowercase:
In WPF VS generates event handlers for controls starting with uppercase:
On screens above in all cases controls are named buttonX where X is appropriate number respectively.
Is that how VS does it by default or did I check wrong checkbox somewhere in VS or Resharper?
In Resharper C# Naming Style options I set Methods to UpperCamelCase. But in WinForms projects VS still generates event handlers starting with lowercase character and uses underscores. And Resharper doesn't show any errors, it doesn't even suggest me to rename my copyButton_Click event handler to something like CopyButtonClick, since it's a method after all and in naming styles I set Methods to UpperCamelCase.
How do I make VS generate event handlers based on control name?
So for example if I name my button
saveButton, event handler for click would be
saveButton_Click, and if I name it
OpenFile, it'll be