iblog 5

苹果有iphone,我有iblog

导航

WPF中Image控件动态加载图片

Posted on 2012-07-02 16:10  cbtech  阅读(3105)  评论(0编辑  收藏  举报

Uri uri = new Uri(@"images/tree.jpg", UriKind.Relative); 

image1.Source = new BitmapImage(uri);