WinForms event handlers

Is there any way to avoid ReSharper warning on auto generated names of event handlers in WinForms.
For example I have button with the name okButton and after double click on it designer will generate me method okButton_Click. It will be instantly blamed with ReSharper as not matching to the rule 'Methods, properties and events'. I don't want to nor change it manualy (even with ReSharper) nor disable this warning for all methods.

Non of five Name Style in the "Edit 'Methods, properties and events' Rule Settings" can fix it. Is the some other way to configure ReSharper? Or maybe there's an option for VS code generator which can prevent this warning with creating valid code style names?

Comment actions Permalink

Same with me, Have you found any solution.


Please sign in to leave a comment.