摘要: Invoke()的作用是:在应用程序的主线程上执行指定的委托。一般应用:在辅助线程中修改UI线程( 主线程 )中对象的属性时,调用this.Invoke(); 在多线程编程中,我们经常要在工作线程中去更新界面显示,而在多线程中直接调用界面控件的方法是错误的做法,Invoke 和 BeginInvok 阅读全文
posted @ 2016-05-10 09:10 熊大大- 阅读(2232) 评论(0) 推荐(0) 编辑
摘要: //LINQ 根据长度查询出来 string[] strs = new string[] { "1", "22", "333", "4444", "55555" }; var end = from str in strs where str.Length < 3 select str; var i 阅读全文
posted @ 2016-02-27 16:02 熊大大- 阅读(142) 评论(0) 推荐(0) 编辑
摘要: create trigger tgr_zl_update on zl_itm after update as begindeclare @LB varchar(50),@SJ varchar(50),@LS varchar(50),@ZH varchar(50)select @LB = LB,@SJ 阅读全文
posted @ 2016-02-24 17:21 熊大大- 阅读(143) 评论(0) 推荐(0) 编辑
摘要: Sulbime Text3 常用插件 1、Emmet(提高HTML & CSS3编写速度。) 安装方法: (1)打开Sublime Text 3,选择菜单:Preference-->Browse Package... 浏览插件 (2)把Package Control复制到此目录,重启 Sublime 阅读全文
posted @ 2016-02-20 23:23 熊大大- 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 1.git init git 初始化仓库 2.git add . git 添加全部文件 3.git add xxx.txt git 添加单独文件 4.git commit -m "提交的提示信息,最好有一定的意义" git 提交 5.git status git 状态查看 6.git diff gi 阅读全文
posted @ 2016-02-17 10:12 熊大大- 阅读(156) 评论(0) 推荐(0) 编辑
摘要: git,coding.net 阅读全文
posted @ 2016-01-27 09:59 熊大大- 阅读(239) 评论(0) 推荐(0) 编辑
摘要: 一、添加引用(using Newtonsoft.Json.Linq;)二、1.生成json字符串源码 1 List list = new List(); 2 list.Add("11111"); 3 list.Add("22222"); 4 ... 阅读全文
posted @ 2016-01-14 17:28 熊大大- 阅读(698) 评论(0) 推荐(0) 编辑
摘要: 1.返回盘符: 阅读全文
posted @ 2015-12-03 15:29 熊大大- 阅读(110) 评论(0) 推荐(0) 编辑
摘要: declare @i intset @i=1while @i<=1000begininsert into News_ITM(title,msg,subDateTime,author,imagePath) values('TITLE'+cast(@i as nvarchar(50)),'内容'+cas... 阅读全文
posted @ 2015-12-03 15:22 熊大大- 阅读(825) 评论(0) 推荐(0) 编辑
摘要: 不多说 上源码: 1 function formatDate(dateString) { 2 dateString = dateString.replace("/", "").replace("/", "").replace("Date", "").replace("(", "").repl... 阅读全文
posted @ 2015-11-25 09:02 熊大大- 阅读(206) 评论(0) 推荐(0) 编辑