会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
春树
博客园
首页
新随笔
联系
管理
订阅
2016年1月8日
正则表达式C#
摘要: 目前为止,许多编程语言和工具都包含对正则表达式的支持,C#也不例外,C#基础类库中包含有一个命名空间(System.Text.RegularExpressions)和一系列可以充分发挥规则表达式威力的类(Regex、Match、Group等)。那么,什么是正则表达式,怎么定义正则表达式呢?一、正则表...
阅读全文
posted @ 2016-01-08 08:49 春树
阅读(166)
评论(0)
推荐(0)
2015年5月13日
c# Message const
摘要: typeTMsg = packed recordhwnd: HWND; //窗口句柄message: UINT;//消息常量标识符wParam: WPARAM ;// 32位消息的特定附加信息lParam: LPARAM ;// 32位消息的特定附加信息time: DWORD;//消息创建时的时间p...
阅读全文
posted @ 2015-05-13 11:19 春树
阅读(336)
评论(0)
推荐(0)
2015年5月11日
Windows API List
摘要: 1. API之网络函数WNetAddConnection 创建同一个网络资源的永久性连接WNetAddConnection2 创建同一个网络资源的连接WNetAddConnection3 创建同一个网络资源的连接WNetCancelConnection 结束一个网络连接WNetCancelConne...
阅读全文
posted @ 2015-05-11 15:38 春树
阅读(334)
评论(0)
推荐(0)
C# API GetDeviceCaps
摘要: [DllImport("gdi32.dll")] public static extern int GetDeviceCaps( IntPtr hdc, // handle to DC int nIndex // index of capability );nIndex:const int ...
阅读全文
posted @ 2015-05-11 15:11 春树
阅读(1897)
评论(0)
推荐(0)
c# api GetSystemMetrics
摘要: [DllImport("user32")]public static extern int GetSystemMetrics(int nIndex);nIndex值:SM_CXSCREEN = 0 '屏幕宽度SM_CYSCREEN = 1 '屏幕高度SM_CXVSCROLL = 2 '垂直滚动条的宽...
阅读全文
posted @ 2015-05-11 12:39 春树
阅读(1413)
评论(0)
推荐(0)
2015年4月30日
C# Hook About - WH_CALLWNDPROC
摘要: 1using System; 2using System.Collections.Generic; 3using System.ComponentModel; 4using System.Data; 5using System.Drawing; 6using System.Text; 7using...
阅读全文
posted @ 2015-04-30 09:30 春树
阅读(1840)
评论(0)
推荐(0)
公告