弹来弹去跑马灯!

上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 38 下一页
摘要: 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 阅读(284) 评论(0) 推荐(0)
摘要: 看到一个老代码里的方法,是判断两个string 数组是否存在相同的元素: 快一百行代码了。。。。。 public bool HasRole(string[] roleList) { bool result; string[] roleListStored, roleListInput; string 阅读全文
posted @ 2020-09-16 16:15 wgscd 阅读(276) 评论(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 阅读(360) 评论(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 阅读(1349) 评论(0) 推荐(0)
摘要: uwp 下载文件显示进度并解压文件 阅读全文
posted @ 2020-09-08 15:53 wgscd 阅读(419) 评论(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 阅读(278) 评论(0) 推荐(0)
摘要: . 远程调用 1. 创建一个远程的可序列化的类,这个类可以在远程调用中用于传输来去,似乎是个公共的类: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System 阅读全文
posted @ 2020-08-27 14:55 wgscd 阅读(1202) 评论(1) 推荐(0)
摘要: c# 3.0 get set 默认值 .NET Framework 3.5 使用的是 C# 3.0,C# 3.0 有一些新的语言特性,其中有一项就是快捷属性。 之前的写法: private int _id = 0; public int Id { get { return _id; } set { 阅读全文
posted @ 2020-08-24 16:14 wgscd 阅读(1227) 评论(0) 推荐(0)
摘要: 一、SignalR是什么 Asp.net SignalR是微软为实现实时通信的一个类库。一般情况下,SignalR会使用JavaScript的长轮询(long polling)的方式来实现客户端和服务器通信,随着Html5中WebSockets出现,SignalR也支持WebSockets通信。另外 阅读全文
posted @ 2020-08-20 11:02 wgscd 阅读(1279) 评论(0) 推荐(0)
摘要: // <Window x:Class="WpfApp1.MainWindow" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/ 阅读全文
posted @ 2020-08-11 16:44 wgscd 阅读(318) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 38 下一页