Compare commits

..

No commits in common. "f6f705c9f2197d57a95d34870e79e596c73b6af4" and "ccc5ae522787c04460bbd808739e40ffd82b1bb7" have entirely different histories.

2 changed files with 2 additions and 3 deletions

View File

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

View File

@ -45,6 +45,7 @@ namespace HoistingCrane
{ {
_carDelegate += carDelegate; _carDelegate += carDelegate;
} }
} }
/// <summary> /// <summary>
/// Отрисовка объекта /// Отрисовка объекта
@ -104,7 +105,6 @@ 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,7 +118,6 @@ namespace HoistingCrane
Close(); Close();
} }
} }
/// <summary> /// <summary>
/// Прорисовка основным цветом /// Прорисовка основным цветом
/// </summary> /// </summary>