引用DLL : FastReport.dll ...
引用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(); }