摘要: 保存图片至IsolatedStorage:private void btnSave_Click(object sender, RoutedEventArgs e) { WebClient wc = new WebClient(); wc.OpenReadCompleted += new OpenReadCompletedEventHandler(wc_OpenReadCompleted); wc.OpenReadAsync(new Uri("http://php.weather.sina.com.cn/images/yb3/180_180/qing_0.png", UriK 阅读全文
posted @ 2011-12-07 13:14 asnow 阅读(560) 评论(0) 推荐(0) 编辑
摘要: 转载自:http://www.zdave.net/archives/369:保存图片到隔离存储空间示例中首先检查文件是否已经存在,然后把图片保存到隔离存储空间(转换WriteableBitmap对象到JPEG stream)。String tempJPEG = "logo.jpg"; using (IsolatedStorageFile myIsolatedStorage = IsolatedStorageFile.GetUserStoreForApplication()) { if (myIsolatedStorage.FileExists(tempJPEG)) { my 阅读全文
posted @ 2011-12-07 13:01 asnow 阅读(370) 评论(0) 推荐(0) 编辑