private void 打印ToolStripMenuItem_Click(object sender, EventArgs e) { bool ishow = true; reportForm = new ReportForm(); reportForm.InitializeDataSource(qtyTable, null); if (ishow == true) { reportForm.ShowDialog(); } }
private void 保存打印ToolStripMenuItem_Click(object sender, EventArgs e) { //DataTable qtyTable = PDFcheckdaadetail_Method(); bool ishow = true; reportForm = new ReportForm(); reportForm.InitializeDataSource(qtyTable, Loglist_Server); if (ishow == true) { reportForm.ShowDialog(); } }