01 2019 档案
摘要:[DllImport("user32.dll")] static extern IntPtr SetWindowsHookEx(int idHook, keyboardHookProc callback, IntPtr hInstance, uint threadId); /// /// 安装钩子 /// ...
阅读全文
摘要:/// /// 获得固定年月日,时和分不固定 : 2019-01-01 00:00:00 /// /// public DateTime GetFixedDateTime(string Hour = "", string Minute = "") { string time1 = Da...
阅读全文
摘要:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\xxx\Start = 1,2=自动,3,4=禁用
阅读全文
摘要://计算比率 decimal A =(decimal) 200.20; decimal B = (decimal)1000.20; decimal t = decimal.Parse((A/B).ToString("0.000")) ; //保留3位小数 // ...
阅读全文
摘要:var table = document.getElementById("table1"); var t1 = GetTableData(table); var newstr = JSON.stringify(t1); //返回一个新字符串
阅读全文
摘要:public class A//先定义A类 { } public static class Extension//必须先声明一个静态类,类名随意 { public static int ToInt32(this string In)//扩建的方法必须是静态方法,参数里面必须含有this关键字,this关键字后面的类型 { ...
阅读全文
摘要:; !function (win) { var tt1 = 10; //内部私有 , var tt2 = 20; //内部私有 //test.prototype.tt1 = 0;//共有变量 var test = function () {}; test.prototyp...
阅读全文
摘要:十进制 十六进制 二进制 右移>>4 十进制值 15 F 0000 1111 0000 0 16 10 0001 0000 0001 1 31 1F 0001 1111 0001 1 32...
阅读全文
摘要:第二种 会出现问题
阅读全文
摘要:-*-分页查询 SELECT * FROM ( SELECT temp.*, ROWNUM RN FROM (SELECT * FROM 表名) temp ) WHERE RN BETWEEN 1 AND 2 -*-* 连表查询 select count(*) as 总次数 from T_HANDL
阅读全文
摘要:public void GetWMDay() { List list = new List(); string year = "2019"; DateTime counYear = Convert.ToDateTime(year + "-01-01"); // DateTime ne...
阅读全文
摘要:calendarset.do?start=1548518400&end=1552147200&_=1546421856958calendarset.do?start=1550937600&end=1554566400&_=1546421856959calendarset.do?start=15539
阅读全文
摘要:引用某大神回答 Array是数组,动态的 int[]也是数组,但是是静态的。。 http://www.runoob.com/csharp/csharp-array-class.html Array 类是 C# 中所有数组的基类,它是在 System 命名空间中定义。Array 类提供了各种用于数组的
阅读全文