Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Commit f2fbd8b

Browse files
committed
Merge pull request #477 from linquize/vs-event-handler
2 parents 2aad3d0 + 31382f7 commit f2fbd8b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/AddIns/BackendBindings/CSharpBinding/Project/Src/FormsDesigner/CSharpEventBindingService.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ protected override string CreateUniqueMethodName(IComponent component, EventDesc
5757
string GetComponentName(IComponent component)
5858
{
5959
string siteName = component.Site.Name;
60+
if (GeneralOptionsPanel.GenerateVisualStudioStyleEventHandlers)
61+
return siteName;
6062
return Char.ToUpper(siteName[0]) + siteName.Substring(1);
6163
}
6264

0 commit comments

Comments
 (0)