Compare commits

...

2 Commits

2 changed files with 3 additions and 2 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

@ -45,7 +45,6 @@ namespace HoistingCrane
{
_carDelegate += carDelegate;
}
}
/// <summary>
/// Отрисовка объекта
@ -105,6 +104,7 @@ namespace HoistingCrane
{
(sender as Panel)?.DoDragDrop((sender as Panel)?.BackColor ?? Color.White, DragDropEffects.Move | DragDropEffects.Copy);
}
/// <summary>
/// Передача объекта
/// </summary>
@ -118,6 +118,7 @@ namespace HoistingCrane
Close();
}
}
/// <summary>
/// Прорисовка основным цветом
/// </summary>