Iulian
Sat Oct 25 09:47:43 CDT 2003
Oh, I figured it out... I can't believe I felt in this
trap... I keep my assemblies' versions fixed (like
1.0.0.0) and yesterday I played with a demo version of an
installer trying to create some install projects. I
tested a few and one of them installed one of the
assemblies in the GAC... And it seemed like there was
something very strange... Pieces of code were executing
from the new assembly (in some dir on the development
hdd) while other things were taken from the GAC one.
That's why I was puzzeled as the Editor seemed to be
completely ignored. The reality was that the property was
accessed in the other assembly... Darn... I had to create
a new version for my assembly because now I cannot remove
the other one from the GAC for some reason, but that's
another story...
Thankx anyway!!
iulian
>-----Original Message-----
>Hi,
>Can you post the code for your editor please. It may be
a problem in there.
>
>--
>Bob Powell [MVP]
>C#, System.Drawing
>
>The October edition of Well Formed is now available.
>Find out how to use DirectX in a Windows Forms control
>
http://www.bobpowell.net/currentissue.htm
>
>Answer those GDI+ questions with the GDI+ FAQ
>
http://www.bobpowell.net/gdiplus_faq.htm
>
>Blog
http://bobpowelldotnet.blogspot.com
>
>"Iulian Ionescu"
<iulian.ionescu@REMOVE_CAPSearthlink.net> wrote in message
>news:004701c39aa6$36c6c230$a001280a@phx.gbl...
>> Is there anything special with the Color type or any
>> other value type for that matter? I designed a custom
>> color picker and apply it to a property like this:
>>
>> [Editor(typeof(myColorEditor), typeof(UITypeEditor))]
>> public Color SelectedColor
>> {
>> get {return this.selectedColor;}
>> set {this.selectedColor=value;}
>> }
>>
>> and my editor is totally ignored. The default editor is
>> opened... Why??
>>
>> Thank you!!
>>
>>
>
>
>.
>