Cris asked 2017-02-07 18:40:49 UTC
Hi,
I was trying to create a package for PNG files the way you did with several IconPack you provided in Extensions page. They are located in 4 folders and put them under Resources and set them as Embedded Resource. And for testing purposes, I included 1 SVG and 1 gif files in one of the folders. I then referenced the resulting DLL in my project.
However, when I opened the ImageResourceEditor to pick an image for a button, it only showed the SVG file. (see image # 01). I then tried to access it at runtime using code like:
button1.ImageSource = "resource.wx/STBS.IconPack/<folder name>/cashflow.png";, but no image was added to button1.
I have to remove the <folder name> to make it work.
button1.ImageSource = "resource.wx/STBS.IconPack/cashflow.png";
Is it a restriction or I am just missing something.
Thanks
Cris asked 2017-02-07 18:40:49 UTC
Hi,
I was trying to create a package for PNG files the way you did with several IconPack you provided in Extensions page. They are located in 4 folders and put them under Resources and set them as Embedded Resource. And for testing purposes, I included 1 SVG and 1 gif files in one of the folders. I then referenced the resulting DLL in my project.
However, when I opened the ImageResourceEditor to pick an image for a button, it only showed the SVG file. (see image # 01). I then tried to access it at runtime using code like: