(68)C#打印机
2021-01-20 13:15
标签:code cli col 页面 doc document public form oid System.Drawing.Printing下得用来完成打印功能 空打印 1.打印设置 2.页面设置 3.打印预览 4.打印 (68)C#打印机 标签:code cli col 页面 doc document public form oid 原文地址:https://www.cnblogs.com/buchizaodian/p/11652742.html public partial class Form1 : Form
{
PrintDocument printDocument = new PrintDocument();
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
printDocument.Print();
}
}