|
-
May 3rd, 2003, 10:14 AM
#1
Thread Starter
yay gay
had anyone tried yet adding event handlers in vs2003?
u'll have a wonderfull surprise as double tab will not only automaticly put the full delegate as it will create the function for you and scroll down so u can start coding in the moment!
finally some cool thing in the C# IDE...vb.net IDE is full of cool things that we dont have
\m/  \m/
-
May 3rd, 2003, 11:45 AM
#2
PowerPoster
Maybe I am missing something, but VS.Net 2002 does that also...
-
May 3rd, 2003, 11:51 AM
#3
Thread Starter
yay gay
no it doesnt! just double checked in vs2002 again and it doesnt do it
\m/  \m/
-
May 3rd, 2003, 12:10 PM
#4
Frenzied Member
Yes this is cool little trick. This also happens when you implements an interface, and when you are overriding. VS will add the outline for all the stuff you have to implement.
Very cool
BTW these feature are new to VS.NET 2003.
Dont gain the world and lose your soul
-
May 3rd, 2003, 02:26 PM
#5
PowerPoster
Then what do you mean by double tapping? I was assuming you were talking about controls like a button or something. What is it your talking about then?
Also, where did you get your 2003 upgrade at? I am getting pissed at Amazon because they haven't shipped it yet, and it has been over a week.
-
May 3rd, 2003, 03:07 PM
#6
Frenzied Member
Why did'nt you order from MS hellswraith?
Dont gain the world and lose your soul
-
May 3rd, 2003, 03:12 PM
#7
PowerPoster
Because they said they were on back order till the 19th. So I went to amazon and they said it would ship in 2-3 days, so I went for that.... that was a bad idea....lol.
Oh well. Next week I have a VS.Net 2003 launch event in Salt Lake City I am going to, I can wait a little bit.
-
May 3rd, 2003, 03:14 PM
#8
Thread Starter
yay gay
hmm DevGrp i didnt know that C# ide did automaticly implement interfaces..ive worked with some in vs.net 2003 and it didnt implement them by itself i think..althogh ive tried with vb.net IDE and yes it does the trick..
well hellswraith..my vs.net 2003 was given by a friend im a bit too new to afford to buy it anyway 
what i meant in my frist post is make the following:
Button button = new Button();
button.Click += //NOW it if u TAB it will put
button.Click += new System.blablabla //NOW if u tab again it will create the function like
private void blablabla(args) {
}
edit: YES devgrp as always u're right if i tab right when i write the interface name it will put the things as regions..it rox
Last edited by PT Exorcist; May 3rd, 2003 at 03:21 PM.
\m/  \m/
-
May 3rd, 2003, 03:25 PM
#9
PowerPoster
I still would like to know what you are all talking about... It sounds very interesting.
-
May 3rd, 2003, 03:27 PM
#10
PowerPoster
Ohh, ok, that makes sense. I just thought you were talking about double clicking a button and the IDE doing all the work for you by assigning the eventhandler and such. Cool. Nice to know.
-
May 3rd, 2003, 03:31 PM
#11
Thread Starter
yay gay
now its cool, i've always found a pain in the ass have to put the damn delegates in the events!
\m/  \m/
-
May 3rd, 2003, 05:19 PM
#12
Frenzied Member
The override feature is a life saver. Before VS.NET 2003, when I want to override a property or a method, I would always do it thru the class view. I would have to drill down thru all those base classes. Now all I have to do in the code editor is type
protected void override and a list pops up of all the stuff you can override, pressing tab will wire everything up.
Dont gain the world and lose your soul
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|