I am trying to create image property that will work in the designer. I want
the image to be written to the resource file for the class.
Here is what I have so far, but I am running into a wall here. The property
comes up okay in the designer with the drill button and the file selector.
But after I choose an Image file, nothing happens. The property remains
(none).
If you have any info on how to achieve this it would be greatly appreciated.
Code snippit:
[Category("Behavior"),
Browsable(true),
TypeConverter(typeof(ImageConverter)),
EditorAttribute(typeof(ImageEditor),typeof(UITypeE ditor))]
public System.Drawing.Image Image{
get { return mImage; }
set { mImage = null; }
}