Пример #1
0
 private void 打印ToolStripMenuItem_Click(object sender, EventArgs e)
 {           //打印预览
     m_printer.mainTitle = "货物清单";
     m_printer.subTitle  = "配送单";
     m_printer.SourceDGV = dataView;
     m_printer.PrintPreview();
 }