弹来弹去跑马灯!

09 2020 档案

摘要:1. 在项目根目录创建Strings文件夹,再Strings文件夹创建需要的语言名子目录,再添加资源文件Resources.resw,目录构如: Strings\en-US\Resources.resw ,Strings\zh-CN\Resources.resw 2. 在各语言的Resources. 阅读全文
posted @ 2020-09-22 14:12 wgscd 阅读(287) 评论(2) 推荐(1) 编辑
摘要://老版本的方法: // var check= CurrentAppSimulator.LicenseInformation.IsActive && CurrentAppSimulator.LicenseInformation.IsTrial; private StoreContext contex 阅读全文
posted @ 2020-09-17 10:26 wgscd 阅读(236) 评论(0) 推荐(0) 编辑
摘要:List<Pics> pics = new List<Pics>(); for (int i = 0; i < 2000; i++) { pics.Add(new Pics() { cat="滴滴滴", catid="2", cover="333333333333333333333333333333 阅读全文
posted @ 2020-09-17 09:51 wgscd 阅读(279) 评论(0) 推荐(0) 编辑
摘要:看到一个老代码里的方法,是判断两个string 数组是否存在相同的元素: 快一百行代码了。。。。。 public bool HasRole(string[] roleList) { bool result; string[] roleListStored, roleListInput; string 阅读全文
posted @ 2020-09-16 16:15 wgscd 阅读(268) 评论(0) 推荐(0) 编辑
摘要:参考文字: https://mtaulty.com/2016/08/10/windows-10-uwp-and-composition-light-and-shade/ <Grid Background="{ThemeResource ApplicationPageBackgroundThemeBr 阅读全文
posted @ 2020-09-15 18:06 wgscd 阅读(354) 评论(0) 推荐(0) 编辑
摘要:c# Progress<T> 用于显示进度。。。。。。。。主要是利用IProgress<T> 的Report(T)方法: private void BtnDownload_Click(object sender, RoutedEventArgs e) { var pp = new Progress< 阅读全文
posted @ 2020-09-08 17:45 wgscd 阅读(1246) 评论(0) 推荐(0) 编辑
摘要:uwp 下载文件显示进度并解压文件 阅读全文
posted @ 2020-09-08 15:53 wgscd 阅读(411) 评论(0) 推荐(0) 编辑
摘要:async void test() { Color replaceBlack = Color.FromArgb(224,233,55,6); Color replaceWhite = Color.FromArgb(224, 233, 222, 222); // BitmapImage bmpimg 阅读全文
posted @ 2020-09-04 17:34 wgscd 阅读(274) 评论(0) 推荐(0) 编辑

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