Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax question on interfaces
Message
From
19/01/2004 09:59:12
 
 
To
19/01/2004 00:51:03
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00868001
Message ID:
00868125
Views:
17
**Simply adding the interface to an already existing class does not automatically add the properties. If you create a new class from scratch, and specify then that it implements an Interface, you'll get some Intellisense that tells you to press TAB and it will fill in the Interfaces properties & methods. **

Bonnie...thanks for responding. I'm a tad confused, because I thought (I guess incorrectly) that creating an interface precluded the need to add the additional properties to each class.

All I'm really doing is adding a few properties to each Winforms control that I've subclassed. I'm writing a generic binding manager, one that will examine these new properties on each control.

I can certainly just add the properties to each of my subclasses, though I thought that merely specifying the interface (which has the new properties) was all I needed to do.

So I guess I need to re-read my tutorial on interfaces!

Thanks,
Kevin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform