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