Saya memprogram untuk Windows Phone 8.1. Saya menggunakan cara ini untuk membuat gambar dan mengatur sumber gambar:
Dim AgreeBitmapImage As BitmapImage = New BitmapImage()
AgreeBitmapImage.setsource(New Uri("Assets/Image/Agree.png", UriKind.Relative))
//Above line gives an error
imgAccept = New Image
imgAccept.Height = 40
imgAccept.Width = 40
imgAccept.Source = AgreeBitmapImage
Ketika saya memulai emulator, itu tidak berfungsi. Mengapa? (Katakanlah kesalahan)