Where are controls events ?

  • Thread starter Thread starter yzfoot
  • Start date Start date
Y

yzfoot

I'm trying to become familiar with WFP and have generated a simple
program with buttons and text boxes. I have added the event handle
'button1_Click( ... ) by clicking on the button in the designer
page. Now I'd like to add other events. I'm a C++ MFC programmer
so normaly I'd open properties for the control, select the events
icon and choose an event, and that works in this package.
On the c# side, when I open the properties page there is no events
icon for any of the controls (I've tried a few).

I'm using Visual Studio 2008 Standard and have started a C# WPF
Application project.
Is there something I need to enable to get an events icon ? Is it
somewhere else ?
 
I'm trying to become familiar with WFP and have generated a simple
program with buttons and text boxes.  I have added the event handle
'button1_Click( ... )  by clicking on the button in the designer
page.    Now I'd like to add other events.    I'm a C++ MFC programmer
so normaly I'd  open properties for the control, select the events
icon and choose an event, and that works in this package.
  On the c# side, when I open the properties page there is no events
icon for any of the controls (I've tried a few).

I'm using Visual Studio 2008 Standard and have started a C#  WPF
Application project.
  Is there something I need to enable to get an events icon ?  Is it
somewhere else ?

You need VS 2008 Service Pack 1 installed. In SP1 this is fixed. See
the link:

http://www.microsoft.com/downloads/...48-7106-44A7-9649-6D9F6D58056E&displaylang=en

Regards,

Aneesh P
 
Back
Top