Add the image as a resource to the project
From the project menu select properties
On the resource tab select add resource
Once selected it should be listed in the
solution explorer under the resources folder
Set the image property to embed
In the solution explorer find the image and
right click and go to properties
Add a reference to PresentationCore.dll
Once this is done you can use this code to retrieve
the image.