Hello,
assume i have class that exposes the following event
public event EventHandler Closing
How to name methods that are registered to this event. Do you prefer to name the methods like they are generated by Visual Studio (aka. +=, Tab, Tab)
private void TheClass_Closing( object sender, EventArgs e )
or do you use your own style to name these methods?
I tried diffrent ways to name these methods (like TheClassClosing, HandleClosing, etc.), but i don´t find a good style, to indicate a method as a registered event method. I don´t like the style (underscore) in the generated methods from Visual Studio.
I know that registered event-methods are always private and that there is no naming convention like the one for methods that raise events (aka. OnClosing).