//文件拖放完成时执行voidRectangle rect = new Rectangle(PointToScreen(tvFileList.Location), tvFileList.Size); if (rect.Contains(MousePosition)) ...
分类:
Windows开发 时间:
2015-01-30 15:29:26
收藏:
0 评论:
0 赞:
0 阅读:
293
vs按F5启动调试,项目不会编译的解决办法工具 -> 选项 -> 项目和解决方案 -> 运行时, 当项目过期(下拉框) -> 不要选【从不生成】附英文版的:
分类:
Windows开发 时间:
2015-01-30 15:27:46
收藏:
0 评论:
0 赞:
0 阅读:
300
起初,做了个小程序,用来检测磁盘中所有的文件package mainimport("fmt""io/ioutil""os")var dirpath ="D:\\"func main(){CheckDir(dirpath)}func CheckDir(dirpath string){ dirs, er...
分类:
Windows开发 时间:
2015-01-30 15:21:26
收藏:
0 评论:
0 赞:
0 阅读:
414
project下载地址:http://download.csdn.net/detail/wangshuxuncom/6430191 说明: 本project用于展示怎样使用 HTML5 webSocket API实现即时通讯的功能。 本project编码方式:UTF-8 ...
分类:
Windows开发 时间:
2015-01-30 15:14:06
收藏:
0 评论:
0 赞:
0 阅读:
357
1 /推荐使用新浪的: 2 $ch = curl_init(); 3 $url = "http://ip.dpool.sina.com.cn/iplookup/iplookup.php?format=json&ip=202.102.3.141"; //测试202.102.3.141 江苏省常...
分类:
Windows开发 时间:
2015-01-30 15:09:06
收藏:
0 评论:
0 赞:
0 阅读:
327
Q:在C#里,我们如何表达枚举类型?A:你可以使用enum关键字(keyword)来声明一个枚举类型(enum type)://Code#01 publicenumAlignment { Left, Center, Right } ----------------------------------...
分类:
Windows开发 时间:
2015-01-30 15:05:06
收藏:
0 评论:
0 赞:
0 阅读:
259
1 "status": "OK", //状态信息。正常返回时值为"OK",异常时返回具体错误信息。 2 "weather": [{ //城市天气数组。同时查询多个城市时,该数组则包含多个对象。 ...
分类:
Windows开发 时间:
2015-01-30 15:02:56
收藏:
0 评论:
0 赞:
0 阅读:
455
原文地址:http://www.c-sharpcorner.com/uploadfile/736ca4/token-based-authentication-in-web-api-2/IntroductionThis article explains the OWIN OAuth 2.0 Autho...
分类:
Windows开发 时间:
2015-01-30 14:55:06
收藏:
0 评论:
0 赞:
0 阅读:
483
location是javascript里边管理地址栏的内置对象,比如location.href就管理页面的url,用location.href=url就可以直接将页面重定向url。而location.hash则可以用来获取或设置页面的标签值。比如http://domain/#admin的locati...
分类:
Windows开发 时间:
2015-01-30 14:54:36
收藏:
0 评论:
0 赞:
0 阅读:
390
可根据Control.ModifierKeys来判断用户是否按下了组合键。1 if ((Control.ModifierKeys & Keys.Control) == Keys.Control)2 {3 //MessageBox.Show("Ctrl健被按下"); 4 }5 else6...
分类:
Windows开发 时间:
2015-01-30 14:49:46
收藏:
0 评论:
0 赞:
0 阅读:
254
基础(2、Activty\Windows\View关系)
分类:
Windows开发 时间:
2015-01-30 14:42:46
收藏:
0 评论:
0 赞:
0 阅读:
253
这是我发了不少时间整理的C# 的正则表达式 ,新手朋友注意一定要手册一下哦,这样可以节省很多写代码的时间,中国自学编程网为新手朋友整理发布。 只能输入数字:"^[0-9]*$"。 只能输入n位的数字:"^/d{n}$"。 只能输入至少n位的数字:"^/d{n,}$"。 只能输入m~n位的数字...
分类:
Windows开发 时间:
2015-01-30 14:42:06
收藏:
0 评论:
0 赞:
0 阅读:
253
如果本本预装的是win8,而且是较新款的机型,那么当你想要格掉win8,装win7系统时就会遇到问题。主要有两个:1)安装win7时,笔记本无法识别系统光盘或u盘启动盘 ,提示:屏幕显示“image failed to verify with access denied”2)安装进程卡死在windo...
分类:
Windows开发 时间:
2015-01-30 14:38:36
收藏:
0 评论:
0 赞:
0 阅读:
510
/// /// 对DataTable进行分页,起始页为1 /// /// /// /// /// public static DataTable ...
分类:
Windows开发 时间:
2015-01-30 10:32:44
收藏:
0 评论:
0 赞:
0 阅读:
360
int 转换 string转换有两种:一种是隐式,int a = 2; string b = a.ToString();一种是显示。sting b=Convert.ToString();
分类:
Windows开发 时间:
2015-01-30 10:24:04
收藏:
0 评论:
0 赞:
0 阅读:
288
一、什么是HOOK? "hook"这个单词的意思是“钩子”,"Windows Hook"是Windows消息处理机制的一个重要扩展,程序猿能够通过它来钩住(截获)感兴趣的消息,并用事先编好的一个函数(钩子过程)来处理这些消息!当然,这个处理是在消息到达目标窗体之前进行的。 钩子过程(hook p.....
分类:
Windows开发 时间:
2015-01-30 10:22:04
收藏:
0 评论:
0 赞:
0 阅读:
301
http://www.cnblogs.com/lxconan/archive/2012/09/09/2677957.html
最近从架构的角度做了一个 Windows 8 下 Metro Style 应用程序开发介绍的讲座。以下是讲稿。
如有问题欢迎指正。
下载地址:
幻灯片附加说明
1 概述
这篇的标题叫做Windows RT Introduction而非W...
分类:
Windows开发 时间:
2015-01-30 09:07:44
收藏:
0 评论:
0 赞:
0 阅读:
375
【1】涉及的知识点1) windows消息处理函数?1protected override void WndProc(ref Message m)捕获Message的系统硬件改变发出的系统消息2) 硬件信息类?1DriveInfo【2】核心函数消息常量:?1234567891011121314151...
分类:
Windows开发 时间:
2015-01-30 08:56:44
收藏:
0 评论:
0 赞:
0 阅读:
382
ubuntu默认字符集---->utf8 windows默认字符集gbk 方法一: sudo gedit /var/lib/locales/supported.d/local 添加一行 zh_CN.GBK GBK sudo locale-gen 生成 locale 方法二: 修改用户目录下.profile文件,增加 ??...
分类:
Windows开发 时间:
2015-01-30 06:45:34
收藏:
0 评论:
0 赞:
0 阅读:
449
要求:域功能级别Windows
Server2008以上部署颗粒化密码策略的步骤:1.先创建PasswordPolicyObject(adsiedit.msc-加载域分区-System-PasswordSettingsContainer
-右击新建对象2.设置具体的密码策略:第一个“值”=OU策略名第二个“值【密码设置优先级:当一个用户同时属于多个..
分类:
Windows开发 时间:
2015-01-30 01:29:24
收藏:
0 评论:
0 赞:
0 阅读:
301