Re: adding event handlers for windows controls

From: Peter Foot [MVP] (feedback_at_nospam-inthehand.com)
Date: 04/22/04


Date: Thu, 22 Apr 2004 16:10:25 +0100


>From the Form designer with the Property pane visible, click the Events
button (lightning strike). This will show the supported events on the
selected control. You can double click a blank event here and have the
method created and hooked up for you.

Peter

-- 
Peter Foot
Windows Embedded MVP
OpenNETCF.org Senior Advisor
www.inthehand.com | www.opennetcf.org
"Joanne" <jimpierce@mobiledynamo.com> wrote in message 
news:OtCeXnHKEHA.3944@tk2msftngp13.phx.gbl...
> Is there an easy / automatic way to add new events & handlers to a C# CF 
> app
> form designer?
>
> If I double click on a control in the form designer it will open the code
> window and automatically add the event handler and delegate but only for 
> the
> default control event. Is there a way I can force VS to create other 
> events
> such as the key down event without having to add it manually?
>
> Thanks
> Joanne
>
>