изменен способ сохранения в отчет (убрала комментарий просто)

This commit is contained in:
ekallin 2024-04-09 20:34:37 +03:00
parent 2b09563d00
commit 73ff095c26

View File

@ -21,7 +21,6 @@ namespace SushiBarView.Reports
};
var path = Directory.GetParent(Directory.GetCurrentDirectory())?.Parent?.Parent?.ToString() + "\\ReportOrders.rdlc";
reportViewer.LocalReport.LoadReportDefinition(new FileStream(path, FileMode.Open));
//reportViewer.LocalReport.LoadReportDefinition(new FileStream("ReportOrders.rdlc", FileMode.Open));
Controls.Clear();
Controls.Add(reportViewer);
Controls.Add(panel);