Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4052766
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T14:21:40+00:00 2026-05-20T14:21:40+00:00

I usually name the controls of my window application starting with a lowercase letter.

  • 0

I usually name the controls of my window application starting with a lowercase letter. Eg:

startButton
optionsListBox

And when I suscribe (through VS) to an event of one of those controls, it automatically gives names like:

startButton_Click
optionsListBox_SelectedIndexChanged

but ReSharper suggests renaming it to:

StartButtonClick
OptionsListBoxSelectedIndexChanged

Reading ReSharper conventions for names of event handlers I saw I can modify through ReSharper how event handlers will be named. Eg:

From $object$_On$event$ to $object$On$event$. That will remove the _ character, but what about the first letter?

Is there a way to tell VS or ReSharper to make event handler names uppercase by default?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T14:21:41+00:00Added an answer on May 20, 2026 at 2:21 pm

    The “EventHandler Naming” extension for Visual Studio 2010 allows you to configure precisely how to generate event handlers from the visual studio designer.
    For instance you could configure it with “On$(SiteName)$(EventName)” and then specify that the SiteName should be PascalCased.

    The extension can be downloaded here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

The application name usually is defined by the TARGET = MyApplication statement in the
I usually put MAMP MySQL /db/db-site-name folder under SVN. When MAMP starts, it gives
I usually use like this $ find -name testname.c ./dir1/dir2/testname.c $ vi ./dir1/dir2/testname.c it's
I usually have to check things like: if ['Bob','Mary','John'].include? @user.name Is there a way
When I select an element by name in Javascript, I usually use this code:
Sometimes I need to find some strings inside DB usually it is just host-name
After creating a new form, I usually perform this ritual: Change the name into
in the plugins page, under each plugins' name usually there are buttons/links like Deactivate
How can I find out what the image name (usually file name?) loaded into
Just wondering. We usually trim a user name in various forms in our ASP.Net

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.