At least I think this is just a syntax question...
I'm subclassing all the Winforms controls, and want to add 3 properties to each control. I read that defining an interface was the best way to do it.
So I created a simple interface with three properties...the name of the interface is IbindingInfo.
When I go to my first subclassed control (a textbox), the current class syntax is...
public class MyTextBox : System.Windows.Forms.TextBox
My question is...how specifically do I set up the reference to the interface? All the sample code I've seen for interfaces are for non-visual classes.
Everything I try (adding another colon and the name of the interface, adding a comma and then the name, etc.) generates compiler errors.
Any ideas? Thanks,
Kevin