Re: Customize Event Handler Names

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Jose Marcenaro (josem_at_nospam.da-vinci.com.ar)
Date: 04/26/04


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
>
>



Relevant Pages

  • RE: TreeView multiple selections
    ... The problem is when we customize a control, we don't know XXX or YYY. ... Microsoft Online Community Support ... where an initial response from the community or a Microsoft Support ...
    (microsoft.public.dotnet.general)
  • Re: <input type=file , tag.
    ... I know we are very limited to customize on the control. ... gmail has implemented a file attachment without showing the browse button. ... >> fileupload object.This opens the select files dialog box of file upload ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to size a .NET CR accurately?
    ... system settings' but I'm not sure which operating system settings these ... > My application has to generate a Quality Control document and, ... But the report ...
    (microsoft.public.vb.crystal)
  • Re: changing the width of the font drop-down menu box?
    ... Open the toolbars customize dialog and leave it ... Click the font name control and ... with two arrows you can drag the right edge to resize this control. ...
    (microsoft.public.excel.misc)
  • Re: Knowledge management (for Embedded engineers)
    ... cost data that hadn't been required upon installation. ... that required getting the vendor's programmers out but much of it could ... the vendor or this enterprise system was how much we could customize ... to control the data that "has to be" controlled, ...
    (comp.arch.embedded)