public void OnPrint(string str, Dictionary <string, string> qparams) { bool result = rptViewer.PrintRptFile(str, qparams, true); if (!result) { this.ShowInfo(rptViewer.GetLastMsg()); } }