WPF: How to embed an Icon in an Assembly
You can easily integrate resources in your Windows Presentation Foundation application by using the WPF designer for Visual Studio and "pack:" URI scheme provided by XAML to reference resources in your application's XAML.
for more information have a look to MSDN article.