From d6339e1f8bcb37bad8b6b05df67397189c7968f5 Mon Sep 17 00:00:00 2001 From: Daria Date: Thu, 18 Apr 2024 15:53:31 +0400 Subject: [PATCH] Eee --- .../CollectionGenericObjects/{ExcavatorService.cs => Garage.cs} | 2 +- Excavator/Excavator/FormTrackedVehicleCollection.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename Excavator/Excavator/CollectionGenericObjects/{ExcavatorService.cs => Garage.cs} (90%) diff --git a/Excavator/Excavator/CollectionGenericObjects/ExcavatorService.cs b/Excavator/Excavator/CollectionGenericObjects/Garage.cs similarity index 90% rename from Excavator/Excavator/CollectionGenericObjects/ExcavatorService.cs rename to Excavator/Excavator/CollectionGenericObjects/Garage.cs index b1288b0..9b80f79 100644 --- a/Excavator/Excavator/CollectionGenericObjects/ExcavatorService.cs +++ b/Excavator/Excavator/CollectionGenericObjects/Garage.cs @@ -11,7 +11,7 @@ namespace Excavator.CollectionGenericObjects; /// /// /// -public class ExcavatorService(int picWidth, int picHeight, ICollectionGenericObjects collection) : AbstractCompany(picWidth, picHeight, collection) +public class Garage(int picWidth, int picHeight, ICollectionGenericObjects collection) : AbstractCompany(picWidth, picHeight, collection) { Graphics g; diff --git a/Excavator/Excavator/FormTrackedVehicleCollection.cs b/Excavator/Excavator/FormTrackedVehicleCollection.cs index 550be4e..77fa004 100644 --- a/Excavator/Excavator/FormTrackedVehicleCollection.cs +++ b/Excavator/Excavator/FormTrackedVehicleCollection.cs @@ -32,7 +32,7 @@ public partial class FormTrackedVehicleCollection : Form switch (comboBoxSelectorCompany.Text) { case "Хранилище": - _company = new ExcavatorService(pictureBox.Width, pictureBox.Height, new MassiveGenericObjects()); + _company = new Garage(pictureBox.Width, pictureBox.Height, new MassiveGenericObjects()); break; } }