Eee
This commit is contained in:
parent
3c1945065a
commit
d6339e1f8b
@ -11,7 +11,7 @@ namespace Excavator.CollectionGenericObjects;
|
||||
/// <param name="picWidth"></param>
|
||||
/// <param name="picHeight"></param>
|
||||
/// <param name="collection"></param>
|
||||
public class ExcavatorService(int picWidth, int picHeight, ICollectionGenericObjects<DrawningTrackedVehicle> collection) : AbstractCompany(picWidth, picHeight, collection)
|
||||
public class Garage(int picWidth, int picHeight, ICollectionGenericObjects<DrawningTrackedVehicle> collection) : AbstractCompany(picWidth, picHeight, collection)
|
||||
{
|
||||
Graphics g;
|
||||
|
@ -32,7 +32,7 @@ public partial class FormTrackedVehicleCollection : Form
|
||||
switch (comboBoxSelectorCompany.Text)
|
||||
{
|
||||
case "Хранилище":
|
||||
_company = new ExcavatorService(pictureBox.Width, pictureBox.Height, new MassiveGenericObjects<DrawningTrackedVehicle>());
|
||||
_company = new Garage(pictureBox.Width, pictureBox.Height, new MassiveGenericObjects<DrawningTrackedVehicle>());
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user