Today I had to change a whole lot of code like this
public CheckBox ChkBypassProgram
{
get
{
return chkBypassProgram;
}
}
to the following naming convention.
public CheckBox BypassProgramCheckbox
{
get
{
return chkBypassProgram;
}
}
Completing the task doing a manual search and replace would be nerve-racking and error-prone. I came up with a handy regular expression that leverages Visual Studio's Regular Expression Search and Replace.
Find: <Chk{.+}>
Replace with: \1Checkbox
Now playing: A-HA - Minor Earth Major Sky - To let you win