private void button1_Click(object sender, EventArgs e)
{
printForm1.PrintAction = System.Drawing.Printing.PrintAction.PrintToPreview;
//在PrintAction可選擇 PrintToFile、PrintToPreview(列印預覽)、PrintToPrinter(列印到印表機)
printForm1.Form = this;
printForm1.Print();
}