随笔分类 -  WinForm

摘要:C#使用printDocument1.Print打印时不显示正在打印对话框有两种方法 第一种,使用PrintController PrintController printController = new StandardPrintController(); printDocument1.Print 阅读全文
posted @ 2017-12-26 16:26 左正 阅读(2369) 评论(0) 推荐(0)
摘要:winform程序中的PictureBox载入了一张带有透明度的PNG图片,悬浮于其他控件之上,但是它的背景不是透明的,即使把它的BackColor设置为Color.Transparent,或者是0x00000000,它仍然具有背景色,它似乎仅对form的背景透明,对于其上的控件都没有作用。 解决方 阅读全文
posted @ 2017-12-26 16:21 左正 阅读(4123) 评论(0) 推荐(0)
摘要:using System;using System.IO;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;usi... 阅读全文
posted @ 2015-04-17 11:09 左正 阅读(2527) 评论(0) 推荐(0)