Правки

This commit is contained in:
Glliza 2024-06-17 14:29:40 +04:00
parent d426a096f9
commit d4bff870ad
2 changed files with 1 additions and 3 deletions

View File

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

View File

@ -231,6 +231,5 @@ CreateCollection(CollectionType collectionType)
CollectionType.List => new ListGenericObjects<T>(),
_ => null,
};
}
}