08 2016 档案
摘要:1 static class Program 2 { 3 static void Main(string[] args) 4 { 5 6 Test2(); 7 Console.ReadKey(); 8 } 9 10 public static string FormatWith(this strin
阅读全文
摘要:刚开始使用vs2012的时候,创建项目失败,后来找到原因 ,是KB2840642V2的原因,于是 卸载之。vs正常 昨天 vs自动更新后 vs 创建项目失败,打开项目失败 遂查看 看看昨天 ,vs做了哪些更新 原来还是KB的原因,卸载之 完事 OK
阅读全文
摘要:下面来讨论 异步回调函数 #region 当这样调用 时delFunc.BeginInvoke(5, 6, MyAsyncCallback, "123"); //123是参数 //1、拿到异步委托执行的结果 AsyncResult result = (AsyncResult)ar; var del1
阅读全文
摘要:输出结果顺序是不定的。 等等 2)ParameterizedThreadStart多个参数的传递 可以把多个值封装到一个类里进行传递 1 class Program 2 { 3 static void Main(string[] args) 4 { 5 6 ParameterizedThreadSt
阅读全文
摘要:zt: http://www.x2blog.cn/jinhong618/?tid=22389 问: f (this.InvokeRequired) { this.BeginInvoke(new MethodInvoker(LoadGlobalImage)); return; } 是什么意思 答: c
阅读全文
摘要:1.线程间操作无效: 从不是创建控件“”的线程访问它
阅读全文

浙公网安备 33010602011771号