INIT
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
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]();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user