Re: Customize Event Handler Names
From: Jose Marcenaro (josem_at_nospam.da-vinci.com.ar)
Date: 04/26/04
- Next message: Ola: "An unhandled exception has been caught by the VSW exception filter."
- Previous message: David Merrill: "RE: Command "Project.UnloadProject" is not available."
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 26 Apr 2004 19:05:04 -0300
You cannot customize the names generated when you double click on a control
But instead of double clicking you may select the event view of the control
property page (using the button with a lightning) and then on any event
value, type the desired handler name
Regards
Jose.
"Paul Prewett" <NOSPAM_link9@SPAMSTINKS_bellsouth.net> escribió en el
mensaje news:nsOic.6191$oN1.2590@bignews5.bellsouth.net...
> Hello all,
>
> Does anyone know where in the system settings I could go to change the
name
> of the events that get wired up automatically by VS.NET 2003?
>
> For example, in C#, use any method to auto-create an event handler (dbl
> click a button, use the tab trick when manually wiring up events), and the
> event comes out like this:
>
> PageName_PreRender -or- btnLogin_Click
>
> But I don't like this naming convention. I would rather it be just:
>
> Page_PreRender
>
> Does anyone know where these settings are?
>
> Thanks,
> Paul Prewett
>
>
- Next message: Ola: "An unhandled exception has been caught by the VSW exception filter."
- Previous message: David Merrill: "RE: Command "Project.UnloadProject" is not available."
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|