上一页 1 2 3 4 5 6 ··· 17 下一页
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Configuration; using System.Data; using System.Data.SqlClient; name... 阅读全文
posted @ 2018-04-26 22:06 冲天小肥牛 阅读(267) 评论(0) 推荐(0) 编辑
摘要: //绑定和解绑事件 //绑定事件方式1 $("#btn1").bind("click", function () { //操作 }); //绑定事件方式2 $("#btn1").click(function () { //操作 }); //解除所有的事件 $("#btn1").unbin... 阅读全文
posted @ 2018-04-24 22:53 冲天小肥牛 阅读(120) 评论(0) 推荐(0) 编辑
摘要: //1.$.each var arrint = [1, 2, 3, 4]; $.each(arrint, function (key, value) {//数组: key:索引 value:值 if (key == 3) { return false;//在eah中,跳出循环不能用break。 } console.log(key + ":" + value... 阅读全文
posted @ 2018-04-20 00:13 冲天小肥牛 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 'use strict'; let name1=Symbol('name'); let name2=Symbol('name'); console.log(name1 name2);//false console.log(Symbol.keyFor(name1));//underfined let 阅读全文
posted @ 2018-04-02 16:38 冲天小肥牛 阅读(90) 评论(0) 推荐(0) 编辑
摘要: 实例1: 'use strict'; class User { constructor(name, pwd) { this.name = name; this.pwd = pwd; }; validateName(cb) { let name = this.name; return new Prom 阅读全文
posted @ 2018-04-02 10:45 冲天小肥牛 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 'use strict'; //语法塘 class User{ //构造函数 constructor(name,age){ this.name=name; this.age=age; } //静态方法 static getClasName(){ return 'user'; } //构造方法 ch... 阅读全文
posted @ 2018-04-02 08:33 冲天小肥牛 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 一个功能,三个表达方式 阅读全文
posted @ 2018-03-13 23:52 冲天小肥牛 阅读(175) 评论(0) 推荐(0) 编辑
摘要: 以上有个bug:当线程数大于64个之后抛出异常 解决方法 封装一个MutipleThreadResetEvent类, (1)封装MutipleThreadResetEvent类 using System; using System.Threading; namespace ConsoleApp5 { 阅读全文
posted @ 2018-03-13 23:35 冲天小肥牛 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 方法一: 1.ListView的HideSelection属性设置为True。 2.ListView的Validated事件处理 /// <summary> /// 失去焦点事件 /// </summary> /// <param name="sender"></param> /// <param 阅读全文
posted @ 2018-02-23 15:12 冲天小肥牛 阅读(275) 评论(0) 推荐(0) 编辑
摘要: 1.匿名函数(3种) 阅读全文
posted @ 2018-01-26 17:58 冲天小肥牛 阅读(102) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 17 下一页