Compare commits

...

2 Commits

2 changed files with 3 additions and 2 deletions

View File

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

View File

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