会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
糊涂小猪
DO the right things or do the things right?
博客园
首页
新随笔
联系
订阅
管理
2007年4月11日
C#取得当前窗体图片
摘要: Yesterday,客户对需求提出了一些变更,其中有提到一点就是要打印当前的确窗体.想到的一个解决方案就是模拟按下ALT+PRNT的组合键,然后从CLIPBOARD中取的要打印的图形.当然,第一步是要取得你当前的窗体..实现方法如下: [DllImport("user32.dll")] private static extern IntPtr GetDC(IntPtr hwnd); [...
阅读全文
posted @ 2007-04-11 15:55 糊涂小猪
阅读(1750)
评论(0)
推荐(0)
编辑
公告