Skip to content

Load images to the Image Collection from a solution-wide resource assembly.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/winforms-imagecollection-load-images-from-assembly

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WinForms ImageCollection - Use images from a solution-wide resource assembly

Follow the steps below:

  • Create a new project in your solution (ClassLibrary1).

    Note

    It is not necessary to have an image class library project as part of your solution. You can have an assembly with images/icons and use it in different solutions using our ImageCollection component.

  • Copy your images/icons in the new project directory and include them in the project as Embedded Resource:

    WinForms ImageCollection - Use images from a solution-wide resource assembly

  • Reference your assembly (ClassLibrary1) in the project.

  • Drag the ImageCollection component from the Toolbox and drop it onto the form.

  • Invoke a smart tag menu and select From Referenced Assemblies.

    WinForms ImageCollection Smart Tag Menu

Files to Review

Does this example address your development requirements/objectives?

(you will be redirected to DevExpress.com to submit your response)