会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一碗两块
博客园
首页
新随笔
管理
1
2
3
4
5
下一页
2014年8月14日
C#网络通信
摘要: Server:using System.Net;using System.Net.Sockets;using System;using System.Collections.Generic;using System.Linq;using System.Text;namespace ServerCon...
阅读全文
posted @ 2014-08-14 16:15 oszhouzhb
阅读(128)
评论(0)
推荐(0)
2014年7月28日
API删除文件
摘要: using System;using System.Runtime.InteropServices;namespace ConsoleApplication1{ class Program { [DllImport("kernel32.dll")] publi...
阅读全文
posted @ 2014-07-28 15:28 oszhouzhb
阅读(725)
评论(0)
推荐(0)
2014年7月23日
添加资源图片,获取图片实例并绘制到窗体
摘要: 项目右键属性——资源——添加资源展开——添加现有文件paint方法中: private void Form1_Paint(object sender, PaintEventArgs e) { using (Graphics g = e.Graphics) ...
阅读全文
posted @ 2014-07-23 21:14 oszhouzhb
阅读(227)
评论(0)
推荐(0)
2014年7月21日
DrawWindowFrame
摘要: extern void DrawWindowFrame(HWND hWnd)//画窗口边框{ RECT rc; HWND DeskHwnd = ::GetDesktopWindow(); //取得桌面句柄 HDC DeskDC = ::GetWindowDC(DeskHwnd); ...
阅读全文
posted @ 2014-07-21 15:55 oszhouzhb
阅读(269)
评论(0)
推荐(0)
2014年7月14日
ShowMask
摘要: /images/lodding1.gif" id="lodding" style="margin-right:10px;margin-top:0px;"/>正在处理,请稍候...
阅读全文
posted @ 2014-07-14 12:53 oszhouzhb
阅读(647)
评论(0)
推荐(0)
2014年7月11日
sendMessage
摘要: [DllImport("user32.dll", EntryPoint="SendMessageA")] private static extern int SendMessage(IntPtr hwnd, uint wMsg, uint wParam, uint lParam); ...
阅读全文
posted @ 2014-07-11 15:49 oszhouzhb
阅读(522)
评论(0)
推荐(0)
Utils
摘要: using System;using System.Drawing;using System.Windows.Forms;namespace zhbCapture{ /// /// Description of Utils. /// public class Utils { public st...
阅读全文
posted @ 2014-07-11 15:39 oszhouzhb
阅读(270)
评论(0)
推荐(0)
2014年4月20日
正则表达式简明参考
摘要: 一个正则表达式就是由普通字符(例如字符 a 到 z)以及特殊字符(称为元字符)组成的文字模式。该模式描述在查找文字主体时待匹配的一个或多个字符串。正则表达式作为一个模板,将某个字符模式与所搜索的字符串进行匹配。这里有一些可能会遇到的正则表达式示例:JScriptVBScript匹配/^\[ \t]*...
阅读全文
posted @ 2014-04-20 20:32 oszhouzhb
阅读(175)
评论(0)
推荐(0)
009.EscapeRegExChars
摘要: 类型:function可见性:public所在单元:RegularExpressionsCore父类:TPerlRegEx把转义字符变成原意字符例如\d意为0~9某个数字,通过此函数转换后则变成\d字符,不存在转义,效果和\\d一样测试代码:program Project1;{$APPTYPE CO...
阅读全文
posted @ 2014-04-20 20:23 oszhouzhb
阅读(209)
评论(0)
推荐(0)
008.ComputeReplacement
摘要: Delphifunction ComputeReplacement: UTF8String;类型:function可见性:public所在单元:System.RegularExpressionsCore父类:TPerlRegEx取出替换内容,不修改Subject测试代码:program Match;...
阅读全文
posted @ 2014-04-20 20:00 oszhouzhb
阅读(133)
评论(0)
推荐(0)
1
2
3
4
5
下一页