ПИбд-23 Салин Олег Алексеевич Лабораторная работа №4 #12
@ -189,7 +189,7 @@ Program.ServiceProvider?.GetService(typeof(OrderForm));
|
||||
using var dialog = new SaveFileDialog { Filter = "docx|*.docx" };
|
||||
if (dialog.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
_reportLogic.SaveComponentsToWordFile(new ReportBindingModel
|
||||
_reportLogic.SaveIceCreamToWordFile(new ReportBindingModel
|
||||
{
|
||||
FileName = dialog.FileName
|
||||
});
|
||||
|
@ -74,7 +74,7 @@ namespace IceCreamShopBusinessLogic.BusinessLogic
|
||||
})
|
||||
.ToList();
|
||||
}
|
||||
public void SaveIceCreamsToWordFile(ReportBindingModel model)
|
||||
public void SaveIceCreamToWordFile(ReportBindingModel model)
|
||||
{
|
||||
_saveToWord.CreateDoc(new WordInfo
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user