This commit is contained in:
devil_1nc 2023-05-22 20:38:42 +04:00
parent 908e02b8da
commit 215ab85559
3 changed files with 11 additions and 5 deletions

View File

@ -60,11 +60,11 @@ namespace SoftwareInstallationView
dataGridView.Rows.Clear();
foreach (var pc in _packageSoftwares)
{
dataGridView.Rows.Add(new object[]
{
pc.Key,
dataGridView.Rows.Add(new object[]
{
pc.Key,
pc.Value.Item1.
SoftwareName,
SoftwareName,
pc.Value.Item2 });
}
textBoxPrice.Text = CalcPrice().ToString();

View File

@ -105,4 +105,4 @@ namespace SoftwareInstallationView
}
}
}
}

View File

@ -9,6 +9,10 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="7.0.4">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="7.0.0" />
<PackageReference Include="NLog.Extensions.Logging" Version="5.2.1" />
@ -16,6 +20,8 @@
<ItemGroup>
<ProjectReference Include="..\AbstractSoftwareInstallationBusinessLogic\AbstractSoftwareInstallationBusinessLogic.csproj" />
<ProjectReference Include="..\AbstractSoftwareInstallationContracts\AbstractSoftwareInstallationContracts.csproj" />
<ProjectReference Include="..\AbstractSoftwareInstallationFileImplement\AbstractSoftwareInstallationFileImplement.csproj" />
<ProjectReference Include="..\AbstractSoftwareInstallationListImplement\AbstractSoftwareInstallationListImplement.csproj" />
</ItemGroup>