摘要: 我写了一个打印文本文件的类库,功能包括:打印预览、打印。打印时可以选择打印机,可以指定页码范围。调用方法非常简单:TextFilePrinter p = new TextFilePrinter(tbxFileName.Text);p.View(); // 打印预览p.Print(); // 打印文件 阅读全文
posted @ 2013-08-27 17:34 无恨星晨 阅读(5100) 评论(0) 推荐(0)
摘要: using System;using System.Collections;using System.Text;using System.Runtime.InteropServices; using System.Security; using System.ComponentModel; usin 阅读全文
posted @ 2013-08-27 14:38 无恨星晨 阅读(1651) 评论(2) 推荐(1)