Groups | Blog | Home
all groups > dotnet windows forms designtime > february 2005 >

dotnet windows forms designtime : ComponentConverter Question


Tony
2/22/2005 2:10:45 PM
Hi all,

Curently I am writing an IExtenderProvider which provides all controls a
custom Porperty to reference a Control object. This property is of
ComponentConverter as it TypeConverter to allow user to choose control
reference from a dropdown. I found out that when this property is set to the
control itself, the code generated in the InitializeComponent is wrong. The
control reference is replaced by the refernce of SetProperty delegate. I am
wondering if there are people who also faced this problem before, or any
other approaches to archieve this.

I have the source code, if someone need it to evaluate the problem, I will
be glad to post it here.

Any ideas are greatly appreciated!! Thanks for help!!!

Cheers,
Tony Cheung
Software Developer

Tony
2/22/2005 2:47:00 PM
I figured out that the ComponentConverter doesn't produce this problem
alone. The suspented component should be the IExtenderProvider Interface.

Tony



[quoted text, click to view]

AddThis Social Bookmark Button