Compare commits

..

2 Commits

3 changed files with 2 additions and 5 deletions

View File

@ -31,7 +31,7 @@ namespace HoistingCrane.CollectionGenericObjects
{
get
{
return (pictureWidth * pictureHeight) / (_placeSizeHeight * _placeSizeWidth)-3;
return (pictureWidth * pictureHeight) / (_placeSizeHeight * _placeSizeWidth);
}
}
public AbstractCompany(int picWidth, int picHeight, ICollectionGenericObjects<DrawningTrackedVehicle> array)

View File

@ -1,5 +1,6 @@
using System;
using System.CodeDom.Compiler;
using System.Windows.Forms.VisualStyles;
namespace HoistingCrane.CollectionGenericObjects
{
@ -24,7 +25,6 @@ namespace HoistingCrane.CollectionGenericObjects
{
get { return list.Count; }
}
public int SetMaxCount
{
set
@ -42,8 +42,6 @@ namespace HoistingCrane.CollectionGenericObjects
if (position >= Count || position < 0) return null;
return list[position];
}
public int Insert(T obj)
{
// TODO проверка, что не превышено максимальное количество элементов

View File

@ -73,7 +73,6 @@ namespace HoistingCrane.CollectionGenericObjects
}
return -1;
}
public T? Remove(int position)