KhRo

Hi all.
Probably this question was already answered or it's increadibly easy to answer. But I'm turning crazy, because I can't find how to do this using c#. With vb.Net I simply double click a control, the "default" event appeared on code view, and then I can choose from the comboBox in Visual Studio the event I need. But in using c# it doesn't seem to work this way. There's got to be the list of the events that can be handled somewhere in Visual Studio (c#), I just can't find it.
Please help!!!

Thanks a lot.



Re: Windows Forms Designer How do I choose an event from a control using the designer (c#)

Peter Ritchie

Right click the control and select Properties to ensure the properties pane is visible. On that pane there is a events button (looks like a lightening bolt) press that to show the possible events for the selected control. Double-clicking an event will add/edit it.




Re: Windows Forms Designer How do I choose an event from a control using the designer (c#)

WillKacy

Is there a way to choose events for controls in Framework 3.0 The Events button is not there like it is in 2.0

Thanks,

Will Kacy





Re: Windows Forms Designer How do I choose an event from a control using the designer (c#)

Peter Ritchie

Are you using the Visual Studio 2005 Extensions for .NET Framework 3.0




Re: Windows Forms Designer How do I choose an event from a control using the designer (c#)

Will Kacy

Yes I am using the .NET Framework 3.0 extensions.