S
ShakeDoctor
Hi,
I have a custom control which I'm trying to get working with the designer.
I have 2 public properties - an Image property, and a Map property.
The Image property sets and gets a System.Drawing.Image object. In the
designer this automatically shows up in the property window allowing you to
select an image file, and then it embeds the image binary data in the forms
..resx file. I haven't done any code to allow this, Visual Studio has just
done this itself.
I want the Map property to be an XML file which again you can select and
choose in the property window (just like the Image property) and it will
automatically embed the XML file in the forms .resx file.
Is this even possible? and if so how?
TIA.
I have a custom control which I'm trying to get working with the designer.
I have 2 public properties - an Image property, and a Map property.
The Image property sets and gets a System.Drawing.Image object. In the
designer this automatically shows up in the property window allowing you to
select an image file, and then it embeds the image binary data in the forms
..resx file. I haven't done any code to allow this, Visual Studio has just
done this itself.
I want the Map property to be an XML file which again you can select and
choose in the property window (just like the Image property) and it will
automatically embed the XML file in the forms .resx file.
Is this even possible? and if so how?
TIA.