14 lines
436 B
C#
14 lines
436 B
C#
using DevExpress.XtraReports.UI;
|
|
|
|
namespace EnvelopeGenerator.ReceiverUI.PredefinedReports {
|
|
public static class ReportsFactory
|
|
{
|
|
public static readonly Dictionary<string, Func<XtraReport>> Reports = new() {
|
|
["LargeDatasetReport"] = () => new PredefinedReports.Report()
|
|
};
|
|
|
|
public static XtraReport GetReport(string reportName) {
|
|
return Reports[reportName]();
|
|
}
|
|
}
|
|
} |