Compare commits
2 Commits
21f4acf2d5
...
7f4d7dfdce
Author | SHA1 | Date | |
---|---|---|---|
|
7f4d7dfdce | ||
592fd5bea5 |
@ -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)
|
||||
|
@ -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 проверка, что не превышено максимальное количество элементов
|
||||
|
@ -73,7 +73,6 @@ namespace HoistingCrane.CollectionGenericObjects
|
||||
}
|
||||
|
||||
return -1;
|
||||
|
||||
}
|
||||
|
||||
public T? Remove(int position)
|
||||
|
Loading…
Reference in New Issue
Block a user