Начал реализацию отчета word
This commit is contained in:
parent
be8383f5b2
commit
29e97447b1
@ -215,6 +215,16 @@ namespace InternetShopForms
|
||||
{
|
||||
return;
|
||||
}
|
||||
var orders = _orderLogic.ReadList();
|
||||
try
|
||||
{
|
||||
bigTextWordNoVisibleComponent.CreateAndSaveDocument(exportFileName, "Îò÷åò ïî çàêàçàì", );
|
||||
MessageBox.Show("Îò÷åò óñïåøíî ñôîðìèðîâàí", "Ñîçäàíèå îò÷åòà", MessageBoxButtons.OK, MessageBoxIcon.Information);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
MessageBox.Show("Ïðîèçîøëà îøèáêà ïðè ñîçäàíèè îò÷åòà:\n" + ex.Message, "Ñîçäàíèå îò÷åòà", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
}
|
||||
}
|
||||
|
||||
private void CreateExcel()
|
||||
|
Loading…
Reference in New Issue
Block a user