会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
小小高
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
30
31
32
33
34
35
36
37
38
···
46
下一页
2016年5月18日
读写app.config AppSettings,保留注释与不保留注释
摘要: 不保留 不删注释:
阅读全文
posted @ 2016-05-18 14:38 小小高
阅读(2907)
评论(0)
推荐(0)
2016年5月15日
Jquery全选反选
摘要: 使用方法 全选按钮的单击事件绑定以下方法
阅读全文
posted @ 2016-05-15 16:37 小小高
阅读(138)
评论(0)
推荐(0)
2016年5月12日
C#获取CPU编号
摘要: //System.Management;//需要添加引用(系统自带) /// /// 获取cpu编号 /// /// public String GetCpuID() { try { ManagementClass ...
阅读全文
posted @ 2016-05-12 16:24 小小高
阅读(1807)
评论(0)
推荐(0)
2016年5月11日
通过鼠标的位置获取窗口的类名和窗口名
摘要: using System;using System.Collections.Generic;using System.Linq;using System.Runtime.InteropServices;using System.Text;using System.Threading;using Sy
阅读全文
posted @ 2016-05-11 20:07 小小高
阅读(5112)
评论(0)
推荐(0)
根据类名和窗口名操作窗体
摘要: /// /// 根据类名和窗口名获取句柄 /// /// /// /// [DllImport("user32.dll")] public static extern IntPtr FindWindow(string lpClassName, string lpWindowN...
阅读全文
posted @ 2016-05-11 20:05 小小高
阅读(499)
评论(0)
推荐(0)
2016年5月10日
jquery设置cors跨域
摘要: 老版写法 $.support.cors = true; 新版写法 crossDomain: true
阅读全文
posted @ 2016-05-10 14:32 小小高
阅读(10090)
评论(0)
推荐(0)
2016年5月9日
c#用run32dll打开系统dll(如系统图片查看器,并置最顶层)
摘要: [DllImport("user32.dll", EntryPoint = "SetWindowPos",CharSet = CharSet.Auto)] static extern bool SetWindowPos( IntPtr hWnd, IntPtr hWndInsertAfter, int X, in...
阅读全文
posted @ 2016-05-09 21:38 小小高
阅读(756)
评论(0)
推荐(0)
2016年5月6日
模拟form表单请求上传文件
摘要: 发请求 处理请求:
阅读全文
posted @ 2016-05-06 13:44 小小高
阅读(741)
评论(0)
推荐(0)
c#并行扫描端口控制台程序
摘要: static void Main(string[] args) { Console.WriteLine("请输入ip"); string ip = Console.ReadLine(); Parallel.For(1, 65535, i => scan(ip, i, 200)); ...
阅读全文
posted @ 2016-05-06 09:04 小小高
阅读(548)
评论(0)
推荐(0)
2016年4月29日
c#后台List转为js对象(在前台操作)
摘要: <!-- 用html标签防止html转义 (html.raw方法转双引号中的双引号时不会转义) --><input id="json" type="hidden" value="@JsonConvert.SerializeObject(Model)" />
阅读全文
posted @ 2016-04-29 12:02 小小高
阅读(1298)
评论(0)
推荐(0)
上一页
1
···
30
31
32
33
34
35
36
37
38
···
46
下一页
公告