宝木Dong
本是青灯不归客 却因浊酒留红尘!!!!!

引用DLL : FastReport.dll

 

 

 FastReport.Report sender = new FastReport.Report();
            try
            { 
             sender.Load("fastreport 编写的打印模板frx");
             FastReport.Utils.Config.ReportSettings.ShowProgress = false;
                    //设置不可预览模式
                    sender.PrintSettings.ShowDialog = false;
                   // sender.Show();
                    sender.Print();
            }
            catch (Exception ex)
            {
                return false;
            }
            finally
            {
                sender.Dispose();
            }        

 

posted on 2019-08-23 16:14  宝木Dong  阅读(1088)  评论(0编辑  收藏  举报