Skip to content
This repository was archived by the owner on Nov 19, 2020. It is now read-only.
This repository was archived by the owner on Nov 19, 2020. It is now read-only.

ColorSlider not working in Accord.Controls #604

@perezale

Description

@perezale

Hi everyone!

Maybe someone could help us out.

When dragging the ColorSlider to an empty Form, it produces the next error:

"System.ArgumentException" in System.Drawing.dll , Null is not valid for stream.

Following the code, the problem is at this line:

Assembly assembly = this.GetType().Assembly;
arrow = new Bitmap(assembly.GetManifestResourceStream("Accord.Controls.Resources.arrow.bmp"));

Browsing Accord.Controls.dll at the Assembly Explorer we couldn't find the arrow.bmp. And through the repository we found it at framework/Sources/Accord.Controls.Imaging/AForge/Resources
We believe the namespace is wrong because the path is not matching with the actual folder structure.

is there any workaround or are we doing something wrong?

Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions