diff --git a/ProjectCatamaran/ProjectCatamaran/CollectionGenericObjects/AbstractCompany.cs b/ProjectCatamaran/ProjectCatamaran/CollectionGenericObjects/AbstractCompany.cs
index b04e705..d979cde 100644
--- a/ProjectCatamaran/ProjectCatamaran/CollectionGenericObjects/AbstractCompany.cs
+++ b/ProjectCatamaran/ProjectCatamaran/CollectionGenericObjects/AbstractCompany.cs
@@ -89,7 +89,7 @@ public abstract class AbstractCompany
{
Bitmap bitmap = new(_pictureWidth, _pictureHeight);
Graphics graphics = Graphics.FromImage(bitmap);
- DrawBackgound(graphics);
+ DrawBackground(graphics);
SetObjectsPosition();
for (int i = 0; i < (_collection?.Count ?? 0); ++i)
@@ -105,7 +105,7 @@ public abstract class AbstractCompany
/// Вывод заднего фона
///
///
- protected abstract void DrawBackgound(Graphics g);
+ protected abstract void DrawBackground(Graphics g);
///
/// Расстановка объектов
diff --git a/ProjectCatamaran/ProjectCatamaran/CollectionGenericObjects/BoatSharingService.cs b/ProjectCatamaran/ProjectCatamaran/CollectionGenericObjects/BoatSharingService.cs
index 1ac1de2..057451f 100644
--- a/ProjectCatamaran/ProjectCatamaran/CollectionGenericObjects/BoatSharingService.cs
+++ b/ProjectCatamaran/ProjectCatamaran/CollectionGenericObjects/BoatSharingService.cs
@@ -14,7 +14,7 @@ public class BoatSharingService : AbstractCompany
{
}
- protected override void DrawBackgound(Graphics g)
+ protected override void DrawBackground(Graphics g)
{
Color backgroundColor = Color.SkyBlue;
using (Brush brush = new SolidBrush(backgroundColor))
@@ -56,7 +56,7 @@ public class BoatSharingService : AbstractCompany
for (int i = 0; i < _collection?.Count; i++, col--)
{
_collection?.Get(i)?.SetPictureSize(_pictureWidth, _pictureHeight);
- _collection?.Get(i)?.SetPosition(locCoord[row * numCols - col].Item1 + 5, locCoord[row * numCols - col].Item2 + 5);
+ _collection?.Get(i)?.SetPosition(locCoord[row * numCols - col].Item1 + 5, locCoord[row * numCols - col].Item2 + 9);
if (col == 1)
{
col = numCols + 1;