work hard work smart

专注于Java后端开发。 不断总结,举一反三。
随笔 - 1158, 文章 - 0, 评论 - 153, 阅读 - 186万
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

11 2012 档案

摘要:Metro style app一.图片Scale ,Crop操作 public class PhotoEdit { public async static Task<WriteableBitmap> ScaleAndCorpPhoto(IStorageFile file) { if (file == null) return null; // create a stream from the file and decode the image var fileStream = await ... 阅读全文

posted @ 2012-11-28 15:34 work hard work smart 阅读(1044) 评论(1) 推荐(0) 编辑

摘要:这个例子,是一个完整的Metro解压缩ZIP文件的例子,首先选择要解压缩的Zip文件,然后自选保存目录。 private async void UnZipFile(object sender, RoutedEventArgs e) { FileOpenPicker fop = new FileOpenPicker(); fop.FileTypeFilter.Add(".zip"); fop.SuggestedStartLocation = PickerLocationId.Desktop; ... 阅读全文

posted @ 2012-11-21 17:11 work hard work smart 阅读(490) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示