I currently have a button, which has an icon/image on it. I have configured the button and image in XAML:
Try this code
window.Icon = BitmapFrame.Create(Application.GetResourceStream(new Uri("LiveJewel.png", UriKind.RelativeOrAbsolute)).Stream);