Where are controls events ?

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

Aneesh Pulukkul [http://dotnet-revolutions.blogspo

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top