[Solved] how to add this image in resource ? - CodeProject

PHOTO EMBED

Tue Sep 12 2023 19:33:56 GMT+0000 (Coordinated Universal Time)

Saved by @javicinhio #csharp

System.Reflection.Assembly thisExe = System.Reflection.Assembly.GetExecutingAssembly();
System.IO.Stream file = 
    thisExe.GetManifestResourceStream("ZedGraph.Demo.ngc4414.jpg");

// If the resource is not present it will be null or empty
if (null != file) {
    Image image = Image.FromStream(file);
}
content_copyCOPY

https://www.codeproject.com/Questions/878619/how-to-add-this-image-in-resource