private void button5_Click(object sender, EventArgs e) { libHitpan5.Model.DocumentModel.ReportService rs = new libHitpan5.Model.DocumentModel.ReportService(); rs.ImageWriter(Environment.GetFolderPath(Environment.SpecialFolder.CommonDesktopDirectory) + "\\test.jpg", reportViewer1); }
private void button4_Click(object sender, EventArgs e) { ReportService rs = new ReportService(); rs.Print(reportViewer1,comboBox1.Text); }