редактирование установки объекта в базу
This commit is contained in:
parent
29a246d8f3
commit
3de0a2be47
@ -12,12 +12,12 @@ public abstract class AbstractCompany
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Размер места (ширина)
|
/// Размер места (ширина)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected readonly int _placeSizeWidth = 210;
|
protected readonly int _placeSizeWidth = 180;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Размер места (высота)
|
/// Размер места (высота)
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected readonly int _placeSizeHeight = 80;
|
protected readonly int _placeSizeHeight = 100;
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Ширина окна
|
/// Ширина окна
|
||||||
|
@ -50,8 +50,8 @@ public class CarBase : AbstractCompany
|
|||||||
}
|
}
|
||||||
if (_collection?.Get(i) != null)
|
if (_collection?.Get(i) != null)
|
||||||
{
|
{
|
||||||
_collection?.Get(i)?.SetPictureSize(_pictureWidth, _pictureHeight);
|
_collection?.Get(i)?.SetPictureSize(_pictureWidth , _pictureHeight);
|
||||||
_collection?.Get(i)?.SetPosition(_placeSizeWidth * nowWidth + 30, nowHeight * _placeSizeHeight * 2 + 20);
|
_collection?.Get(i)?.SetPosition(_placeSizeWidth * nowWidth + 10, nowHeight * _placeSizeHeight * 2 );
|
||||||
}
|
}
|
||||||
|
|
||||||
if (nowWidth < _pictureWidth / _placeSizeWidth - 1) nowWidth++;
|
if (nowWidth < _pictureWidth / _placeSizeWidth - 1) nowWidth++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user