еще правки в 4 лабе
This commit is contained in:
parent
fa1e222b91
commit
8a71a24eee
BIN
COP/PluginsApp/Plugins/ComponentsLibraryNet60.dll
Normal file
BIN
COP/PluginsApp/Plugins/ComponentsLibraryNet60.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/ControlsLibraryNet60.dll
Normal file
BIN
COP/PluginsApp/Plugins/ControlsLibraryNet60.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/DocumentFormat.OpenXml.dll
Normal file
BIN
COP/PluginsApp/Plugins/DocumentFormat.OpenXml.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Humanizer.dll
Normal file
BIN
COP/PluginsApp/Plugins/Humanizer.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Design.dll
Normal file
BIN
COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.Design.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.dll
Normal file
BIN
COP/PluginsApp/Plugins/Microsoft.EntityFrameworkCore.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Caching.Memory.dll
Normal file
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Caching.Memory.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Configuration.dll
Normal file
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Configuration.dll
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyModel.dll
Normal file
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.DependencyModel.dll
Normal file
Binary file not shown.
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Logging.dll
Normal file
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Logging.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Options.dll
Normal file
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Options.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Primitives.dll
Normal file
BIN
COP/PluginsApp/Plugins/Microsoft.Extensions.Primitives.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/MigraDoc.DocumentObjectModel.dll
Normal file
BIN
COP/PluginsApp/Plugins/MigraDoc.DocumentObjectModel.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/MigraDoc.Rendering.dll
Normal file
BIN
COP/PluginsApp/Plugins/MigraDoc.Rendering.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Mono.TextTemplating.dll
Normal file
BIN
COP/PluginsApp/Plugins/Mono.TextTemplating.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Npgsql.EntityFrameworkCore.PostgreSQL.dll
Normal file
BIN
COP/PluginsApp/Plugins/Npgsql.EntityFrameworkCore.PostgreSQL.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/Npgsql.dll
Normal file
BIN
COP/PluginsApp/Plugins/Npgsql.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/PdfSharp.Charting.dll
Normal file
BIN
COP/PluginsApp/Plugins/PdfSharp.Charting.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/PdfSharp.dll
Normal file
BIN
COP/PluginsApp/Plugins/PdfSharp.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/PluginsConventionLibrary.dll
Normal file
BIN
COP/PluginsApp/Plugins/PluginsConventionLibrary.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/PortalAccountsBusinessLogic.dll
Normal file
BIN
COP/PluginsApp/Plugins/PortalAccountsBusinessLogic.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/PortalAccountsContracts.dll
Normal file
BIN
COP/PluginsApp/Plugins/PortalAccountsContracts.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/PortalAccountsDataModels.dll
Normal file
BIN
COP/PluginsApp/Plugins/PortalAccountsDataModels.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/PortalAccountsDatabaseImplement.dll
Normal file
BIN
COP/PluginsApp/Plugins/PortalAccountsDatabaseImplement.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/PortalAccountsView.dll
Normal file
BIN
COP/PluginsApp/Plugins/PortalAccountsView.dll
Normal file
Binary file not shown.
BIN
COP/PluginsApp/Plugins/RodionovLibrary.dll
Normal file
BIN
COP/PluginsApp/Plugins/RodionovLibrary.dll
Normal file
Binary file not shown.
@ -9,11 +9,11 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\PluginsConventionLibrary\PluginsConventionLibrary.csproj" />
|
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Folder Include="Plugins\" />
|
<ProjectReference Include="..\PluginsConventionLibrary\PluginsConventionLibrary.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
@ -4,6 +4,7 @@ using PortalAccountsContracts.BindingModels;
|
|||||||
using PortalAccountsContracts.BusinessLogicsContracts;
|
using PortalAccountsContracts.BusinessLogicsContracts;
|
||||||
using PortalAccountsContracts.ViewModels;
|
using PortalAccountsContracts.ViewModels;
|
||||||
using RodionovLibrary.NonVisualComponents.HelperModels;
|
using RodionovLibrary.NonVisualComponents.HelperModels;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
namespace PortalAccountsView
|
namespace PortalAccountsView
|
||||||
{
|
{
|
||||||
@ -176,6 +177,7 @@ namespace PortalAccountsView
|
|||||||
|
|
||||||
private void ÄîêóìåíòÑÒàáëèöåéToolStripMenuItem_Click(object sender, EventArgs e)
|
private void ÄîêóìåíòÑÒàáëèöåéToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
|
Encoding.RegisterProvider(CodePagesEncodingProvider.Instance);
|
||||||
using var dialog = new SaveFileDialog
|
using var dialog = new SaveFileDialog
|
||||||
{
|
{
|
||||||
Filter = "PDF Files|*.pdf"
|
Filter = "PDF Files|*.pdf"
|
||||||
@ -201,7 +203,7 @@ namespace PortalAccountsView
|
|||||||
(2, 0, "Ðîëü", "RoleName"),
|
(2, 0, "Ðîëü", "RoleName"),
|
||||||
(3, 0, "Ðåéòèíã", "OutputRating")
|
(3, 0, "Ðåéòèíã", "OutputRating")
|
||||||
},
|
},
|
||||||
Data = accounts
|
Data = accounts.OrderBy(x => x.Id).ToList()
|
||||||
});
|
});
|
||||||
MessageBox.Show("Ãîòîâî!");
|
MessageBox.Show("Ãîòîâî!");
|
||||||
}
|
}
|
||||||
|
@ -122,12 +122,10 @@ namespace PortalAccountsView
|
|||||||
Title = "Аккаунты без рейтинга",
|
Title = "Аккаунты без рейтинга",
|
||||||
Paragraphs = paragraphs.ToArray()
|
Paragraphs = paragraphs.ToArray()
|
||||||
});
|
});
|
||||||
MessageBox.Show("Готово!");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Произошла ошибка: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -156,12 +154,10 @@ namespace PortalAccountsView
|
|||||||
},
|
},
|
||||||
Data = accounts.OrderBy(x => x.Id).ToList()
|
Data = accounts.OrderBy(x => x.Id).ToList()
|
||||||
});
|
});
|
||||||
MessageBox.Show("Готово!");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Произошла ошибка: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -196,12 +192,10 @@ namespace PortalAccountsView
|
|||||||
LegendLocation = Location.Bottom,
|
LegendLocation = Location.Bottom,
|
||||||
Data = data
|
Data = data
|
||||||
});
|
});
|
||||||
MessageBox.Show("Готово!");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception)
|
||||||
{
|
{
|
||||||
MessageBox.Show("Произошла ошибка: " + ex.Message, "Ошибка", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
</PackageReference>
|
</PackageReference>
|
||||||
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
|
||||||
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
|
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="8.0.1" />
|
||||||
|
<PackageReference Include="System.Text.Encoding.CodePages" Version="7.0.0" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
Loading…
Reference in New Issue
Block a user