public void ViewReport(SectionReport ar) { reportType = ar.GetType().ToString(); rprt = ar; viewer1.Document = rprt.Document; rprt.Run(); }
public void ViewDrawingLogWithExcel(SectionReport ar) { reportType = ar.GetType().ToString(); rprt = ar; viewer1.Document = rprt.Document; rprt.Run(); }
public void ViewReport(SectionReport ar) { rprt = ar; reportType = ar.GetType().ToString(); ////******************Added and Commented for M-File button*****11/18 //viewer1.Document = rprt.Document; //rprt.Run(); //Cursor.Current = Cursors.Default; }