diff --git a/ProjectElectricLocomotive/ProjectElectricLocomotive/FormLocomotiveCollections.cs b/ProjectElectricLocomotive/ProjectElectricLocomotive/FormLocomotiveCollections.cs
index dd4a7ca..587b075 100644
--- a/ProjectElectricLocomotive/ProjectElectricLocomotive/FormLocomotiveCollections.cs
+++ b/ProjectElectricLocomotive/ProjectElectricLocomotive/FormLocomotiveCollections.cs
@@ -1,8 +1,9 @@
-using ElectricLocomotive;
+using Microsoft.Extensions.Logging;
+//using ElectricLocomotive;
using ProjectElectricLocomotive.DrawingObjects;
using ProjectElectricLocomotive.Exceptions;
using ProjectElectricLocomotive.Generics;
-using ProjectElectricLocomotive.MovementStrategy;
+/*using ProjectElectricLocomotive.MovementStrategy;
using System;
using System.Collections.Generic;
using System.ComponentModel;
@@ -10,7 +11,7 @@ using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
-using System.Threading.Tasks;
+using System.Threading.Tasks;*/
using System.Windows.Forms;
@@ -19,10 +20,15 @@ namespace ProjectElectricLocomotive
public partial class FormLocomotiveCollections : Form
{
private readonly LocomotiveGenericStorage _storage;
- public FormLocomotiveCollections()
+ ///
+ /// Логер
+ ///
+ private readonly ILogger _logger;
+ public FormLocomotiveCollections(ILogger logger)
{
InitializeComponent();
_storage = new LocomotiveGenericStorage(pictureBoxCollections.Width, pictureBoxCollections.Height);
+ _logger = logger;
}
///
diff --git a/ProjectElectricLocomotive/ProjectElectricLocomotive/ProjectElectricLocomotive.csproj b/ProjectElectricLocomotive/ProjectElectricLocomotive/ProjectElectricLocomotive.csproj
index 13ee123..eb2b961 100644
--- a/ProjectElectricLocomotive/ProjectElectricLocomotive/ProjectElectricLocomotive.csproj
+++ b/ProjectElectricLocomotive/ProjectElectricLocomotive/ProjectElectricLocomotive.csproj
@@ -8,6 +8,11 @@
enable
+
+
+
+
+
True