惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
月光博客
月光博客
爱范儿
爱范儿
有赞技术团队
有赞技术团队
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
aimingoo的专栏
aimingoo的专栏
GbyAI
GbyAI
腾讯CDC
The Cloudflare Blog
人人都是产品经理
人人都是产品经理
MongoDB | Blog
MongoDB | Blog
Microsoft Azure Blog
Microsoft Azure Blog
IT之家
IT之家
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
云风的 BLOG
云风的 BLOG
U
Unit 42
博客园 - 三生石上(FineUI控件)
A
About on SuperTechFans
N
Netflix TechBlog - Medium
Google DeepMind News
Google DeepMind News
雷峰网
雷峰网
L
LangChain Blog

博客园 - Austin leng

teststsafsdfsdafsdfsdsda Austin leng - 博客园 .net中的正则表达式使用高级技巧 Ta Muid(Dreams 梦幻) regular javascript installshield文档 安装程序 制作安装程序时鼠标右键菜单 iis admin and create a virtual directory picture change web.config's value install new installer password textbox setup 子父窗口吃传值 ,函数调用 vbscript 函数 serch engine optimize javascript 数组对象
C#打印,不显示取消对话框 创建打印画布
Austin leng · 2006-07-10 · via 博客园 - Austin leng


   PrintDocument pd 
= new PrintDocument();

    
//隐藏 取消对话框
   PrintController printController = new StandardPrintController();
   pd.PrintController 
= printController;

    
//创建打印画布
   Graphics g = pd.PrinterSettings.CreateMeasurementGraphics();
   g.DrawImage(pictureBox1.Image,
0,0);

   pd.Print();