摘要: var start = 2222; var ps = IPGlobalProperties.GetIPGlobalProperties().GetActiveTcpListeners().Select(e => e.Port).Where(e => e > start).OrderBy(e => e).ToList(); var port = ps.Take(ps.Count - 1).Where 阅读全文
posted @ 2019-11-25 15:53 大胡子毛绒老头 阅读(305) 评论(0) 推荐(0) 编辑
摘要: 开发人员写代码就行了,想用你写代码,安装配置费死个劲! 我不是针对你,除了visual studio ,所有的IDE都是垃圾。 阅读全文
posted @ 2019-06-08 14:09 大胡子毛绒老头 阅读(446) 评论(0) 推荐(0) 编辑
摘要: 在将img转换为canvas时,在firefox中,如果img引用的svg使用了fill=(#id),此fill是无效的,可能导致整个转换失效,html2canvas.js也不行。chrome有效,其它浏览器没测。 阅读全文
posted @ 2018-04-27 12:36 大胡子毛绒老头 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 使用方法: 或者: 阅读全文
posted @ 2017-09-26 17:51 大胡子毛绒老头 阅读(168) 评论(0) 推荐(0) 编辑
摘要: public class Loader { public IEnumerable AllTypes { get; set; } private List allInstances = new List(); public event EventHandler LoadingError; public void Load... 阅读全文
posted @ 2017-05-29 18:24 大胡子毛绒老头 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 2017-02-27 WPF的中文注释文档翻译得很烂。太多了,列举不过来。 这个是 System.Threading.Tasks.Task.Exception: 获取导致 System.AggregateException 提前结束的 System.Threading.Tasks.Task。 如果 阅读全文
posted @ 2017-02-27 10:51 大胡子毛绒老头 阅读(105) 评论(0) 推荐(0) 编辑
摘要: public static int ToInt32(params byte[] v) { var r = 0; var len = v.Length; if (len > 4) { len = 4; } for (var i = ... 阅读全文
posted @ 2017-02-22 11:41 大胡子毛绒老头 阅读(1221) 评论(0) 推荐(0) 编辑
摘要: //调一调颜色和 box 的 Rotate,就会出现小星星! 阅读全文
posted @ 2017-02-01 00:02 大胡子毛绒老头 阅读(810) 评论(0) 推荐(0) 编辑
摘要: radius density areaRange 阅读全文
posted @ 2017-01-18 17:51 大胡子毛绒老头 阅读(413) 评论(0) 推荐(0) 编辑
摘要: using System; using System.Collections.Generic; using System.Data.SqlClient; using System.Dynamic; namespace ConsoleApplication1 { public class QuickDB { static void Main() { ... 阅读全文
posted @ 2017-01-12 17:41 大胡子毛绒老头 阅读(193) 评论(0) 推荐(0) 编辑