摘要: 1、文件选择FileOpenPicker filePicker = new FileOpenPicker() { ViewMode = PickerViewMode.Thumbnail }; //只有图片 filePicker.SuggestedStartLocation = PickerLocationId.PicturesLibrary; FillDecoderExtensions(filePicker.FileTypeFilter); StorageFile imageFile = await filePicke... 阅读全文
posted @ 2012-11-07 16:07 xiaofoyuan 阅读(1881) 评论(0) 推荐(1) 编辑
摘要: private StorageFile _storageFile;/// <summary> /// 上传文件 /// </summary> /// <param name="url"></param> /// <returns></returns> public async Task<object> UpLoad(string url) { try { //读取文件流 Stream _stream = aw... 阅读全文
posted @ 2012-11-07 15:22 xiaofoyuan 阅读(1121) 评论(0) 推荐(1) 编辑