
C#
wangjingming01
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
The specified buffer index is not within the buffer capacity.
在对metro环境下对文件压缩测试的时候。下面的代码出现The specified buffer index is not within the buffer capacity.错误。 其中 fileToCompress 为 StorageFile。 byte[] buffer = WindowsRuntimeBufferExtensions.ToArray(await FileIO.Read原创 2013-03-20 16:08:07 · 1836 阅读 · 0 评论 -
C# ToString格式化类型
“G”和“F”格式说明符)、基础整数值(“D”格式说明符)还是十六进制值(“X”格式说明符) http://msdn.microsoft.com/zh-cn/library/26etazsy.aspx#FormatStrings 自定义日期和时间格式字符串 http://msdn.microsoft.com/zh-cn/library/8kb3ddd4.aspx 自定义数字格式字符串原创 2013-05-26 15:46:04 · 668 阅读 · 0 评论 -
Okra App Framework 框架导航过程
1,添加一个AppBootstrapper.cs 文件 public class AppBootstrapper : OkraBootstrapper { } 2,修改App.xaml.cs文件 sealed partial class App : OkraApplication { public App()原创 2013-09-25 17:41:44 · 833 阅读 · 0 评论