07 2014 档案

摘要:using System;using System.Runtime.InteropServices;namespace ConsoleApplication1{ class Program { [DllImport("kernel32.dll")] publi... 阅读全文
posted @ 2014-07-28 15:28 oszhouzhb 阅读(728) 评论(0) 推荐(0)
摘要:项目右键属性——资源——添加资源展开——添加现有文件paint方法中: private void Form1_Paint(object sender, PaintEventArgs e) { using (Graphics g = e.Graphics) ... 阅读全文
posted @ 2014-07-23 21:14 oszhouzhb 阅读(232) 评论(0) 推荐(0)
摘要:extern void DrawWindowFrame(HWND hWnd)//画窗口边框{ RECT rc; HWND DeskHwnd = ::GetDesktopWindow(); //取得桌面句柄 HDC DeskDC = ::GetWindowDC(DeskHwnd); ... 阅读全文
posted @ 2014-07-21 15:55 oszhouzhb 阅读(273) 评论(0) 推荐(0)
摘要:/images/lodding1.gif" id="lodding" style="margin-right:10px;margin-top:0px;"/>正在处理,请稍候... 阅读全文
posted @ 2014-07-14 12:53 oszhouzhb 阅读(649) 评论(0) 推荐(0)
摘要:[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 阅读(525) 评论(0) 推荐(0)
摘要: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 阅读(272) 评论(0) 推荐(0)