PIbd-11 Levchenko G.A. LabWork07 Base #7

Closed
Geo7312 wants to merge 3 commits from LabWork07 into LabWork06
Showing only changes of commit 62144f860d - Show all commits

View File

@ -33,7 +33,7 @@ public abstract class AbstractCompany
/// <summary>
/// Вычисление максимального кол-ва объектов которое можно разместить в окне
/// </summary>
private int GetMaxCount => _pictureWidth * _pictureHeight / (_placeSizeWidth * _placeSizeHeight);
private int GetMaxCount => _pictureWidth * _pictureHeight / (_placeSizeWidth * _placeSizeHeight) + 4;
/// <summary>
/// Конструктор