【发布时间】:2015-03-24 07:17:48
【问题描述】:
我正在尝试设置图像的来源。这里的问题是正在接收的图像的 Uri。数据来自设备锁屏。 uri是
res://UIXMobileAssets{ScreenResolution}!lock.sms.dualsim1.png
常规代码
Image imgLogo = new Image();
imgNotificationThreeLogo.Source = new BitmapImage(new Uri(spliNotifications[1], UriKind.RelativeOrAbsolute));
抛出异常“无法解析主机名”。有没有人有这方面的经验。请帮忙。
TIA。 感谢您的帮助!
【问题讨论】:
标签: c# image silverlight windows-phone-8.1 lockscreen