Compare commits
2 Commits
ccc5ae5227
...
f6f705c9f2
Author | SHA1 | Date | |
---|---|---|---|
|
f6f705c9f2 | ||
04c45def82 |
@ -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)
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user