A .NET 2.0 tooltip provider

The ProvideProperty attribute and the IExtenderProvider interface allows a provider Component to provide properties for other Components. These added properties will then appear on the Visual Studio Designer to be set and even localized just like any other property. This is very useful to create helper components such as a tooltip provider because it needs to provide a different tooltip text for every Component. Continue Reading →

Inner label in ComboBox

You’ve seen this kind of label on a dropdown menu before right? (the example is from Ebay.com)

A dropdown menu with an inner label from the homepage of Ebay.com

Yes, of course you did. And so did your customer. So you are not at all surprised when he says he wants that in his Windows Forms application. Easy enough, you should be done within a few minutes, yet you refrain from telling him that (but that’s matter for another post). Continue Reading →