Skip to content

ImageSourceEditor Doesn't Show PNG and GIF in DLL #618

Description

@itg-assistant

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    GeneralQuestions, how-tos and everything else.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions