Логирование рабочее

This commit is contained in:
Arklightning 2022-12-19 20:07:10 +04:00
parent 393c33071c
commit 28682f5779
2 changed files with 3 additions and 6 deletions

View File

@ -41,11 +41,6 @@ namespace Trolleybus
listBoxMaps.Items.Add(_mapsCollection.Keys[i]);
}
foreach (string map in _mapsCollection.Keys)
{
listBoxMaps.Items.Add(map);
}
if (listBoxMaps.Items.Count > 0 && (index == -1 || index >= listBoxMaps.Items.Count))
{
listBoxMaps.SelectedIndex = 0;

View File

@ -169,7 +169,9 @@
<DependentUpon>Resources.resx</DependentUpon>
<DesignTime>True</DesignTime>
</Compile>
<None Include="nlog.config" />
<EmbeddedResource Include="nlog.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</EmbeddedResource>
<None Include="packages.config" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>