Selecting Events

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I'm new to C# and I can't find events for my controls in the drop down box
in the leftside like in vb.net!!!?


Thanks
 
Hello Mike,
I'm new to C# and I can't find events for my controls in the drop down box
in the leftside like in vb.net!!!?

Select the control and click the "yellow lightning icon" in the property
explorer.
If you then doubleclick on the empty value of one of
these events, the EventHandler will automatically be inserted
into the code.


ciao Frank
 
Look for a lightning bolt on the Properties window, through the designer. If
you select this lightning bolt you will be able to see a list of the events.
Double-clicking an event will wire up an event handler.
 

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

Back
Top