C#

Moderators: None (Apply to moderate this forum)
Number of threads: 2720
Number of posts: 5746

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Adding events in C# Posted by jmreynolds on 6 Feb 2009 at 10:51 AM
Back in my VB days when I wanted to add an event to the code, all I had to do was click on the drop down at the top left of the code view and choose the control I wanted to add an event to. The drop down on the right side would then be populated with a list of available events. I could choose any of these events and if the event existed it would take me to that event in the code. If the event didn't have a definition yet, it would create one and take me there.

Anybody know why C# (vs 2008) doesn't have this same functionality? Is there a way to get it there?

Thanks,
John
Report
Re: Adding events in C# Posted by MulleDK19 on 7 Feb 2009 at 9:20 AM
Hello.

In the design view, select the control you would like to create an event for, then in the properties list on the right, click on "Events" (The little lightning), then double click on the event name you want to add.
Report
Re: Adding events in C# Posted by chanduy9999 on 9 Feb 2009 at 4:00 AM
ya its wrkng but some problem
Report
Re: Adding events in C# Posted by MulleDK19 on 9 Feb 2009 at 1:03 PM
Huh? What problem?
Report
Re: Adding events in C# Posted by chanduy9999 on 9 Feb 2009 at 4:02 AM
k......
me too



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.