PC Review


Reply
Thread Tools Rate Thread

automatically generate event handler code?

 
 
gouqizi.lvcha@gmail.com
Guest
Posts: n/a
 
      4th Jan 2008
Does VS2005 has the ability to generate event handler code in the code
behind? For example, I cannot find the UI to help me to create event
like Page_Init().

Tom
 
Reply With Quote
 
 
 
 
Peter Bucher [MVP]
Guest
Posts: n/a
 
      4th Jan 2008
Hello tom

> Does VS2005 has the ability to generate event handler code in the code
> behind? For example, I cannot find the UI to help me to create event
> like Page_Init().

write: "myObj.myEvent += " and press two times on <TAB>,

then, your eventhandler beiing created.

--
Gruss, Peter Bucher
Microsoft MVP - Visual Developer ASP / ASP.NET, Switzerland
http://www.aspnetzone.de/ - ASP.NET Zone, die ASP.NET Community
http://www.aspnetzone.de/blogs/peterbucher/ - Auf den Spuren von .NET
 
Reply With Quote
 
Wes Davis
Guest
Posts: n/a
 
      4th Jan 2008
Peter:
> write: "myObj.myEvent += " and press two times on <TAB>,
>
> then, your eventhandler beiing created.


Doesn't that also have to be in (or no later than) a certain place relative
to the page event sequence / lifecycle? Or in the page class constructor?

I just thought it's worth asking.
--
Sr. Software Developer
SAIC
Sierra Vista, AZ

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I debug event handler code in the IDE? =?Utf-8?B?RGF2ZSBKZW5raW5z?= Microsoft Powerpoint 8 12th Aug 2007 02:49 AM
creating event handler in unmanaged c++ code for event in managed code Mayur Microsoft C# .NET 0 30th Aug 2006 02:01 PM
creating event handler in unmanaged c++ code for event in managed code Mayur Microsoft VC .NET 0 30th Aug 2006 01:22 PM
meaning of event handler code Beth Microsoft C# .NET 3 28th Nov 2005 12:51 AM
Message Box in An event handler code =?Utf-8?B?QW5pbA==?= Microsoft C# .NET 2 24th Jan 2004 08:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:14 PM.