This is a migrated thread and some comments may be shown as answers.

VB.NET Event Naming

1 Answer 58 Views
Code Analysis
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Mike
Top achievements
Rank 1
Mike asked on 26 Jun 2012, 06:31 PM
When I create a new event in a VB.NET WinForms application, the event name by default is myControl_Event. However, JustCode wants to rename it to MyControlEvent. I went into the VB.NET Naming Conventions in JustCode option and changed the Events rule to camel_Underscore but JustCode still wants to rename my method. How can I handle this?

Thanks!

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan
Telerik team
answered on 27 Jun 2012, 01:36 PM
Hello,

Thank you for your feedback. Since myControl_Event is an event handler you should add a secondary naming rule for methods, not for events.
The rule for Events is for event declarations only.
If you have any more questions or remarks, please do not hesitate to contact us again!

All the best,
Ivan
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Tags
Code Analysis
Asked by
Mike
Top achievements
Rank 1
Answers by
Ivan
Telerik team
Share this question
or