done done

This commit is contained in:
ValAnn 2023-12-09 11:51:08 +04:00
parent cbeceed949
commit a250cf671d
3 changed files with 0 additions and 18 deletions

View File

@ -77,10 +77,6 @@ namespace DumpTruck.Generics
return null;
}
}
}
}

View File

@ -154,8 +154,6 @@ width, int height, int carWidth, int carHeight)
}
public void setColor(Color color)
{
EntityCar.setColor(color);

View File

@ -81,18 +81,6 @@ DragDropEffects.Move | DragDropEffects.Copy);
}
}
private void LabelAddColor_DragDrop(object sender, DragEventArgs e)
{
if (_car is DrawningDumpTruck car)
{
labelAddColor.BackColor = (Color)e.Data.GetData(typeof(Color));
((DrawningDumpTruck)_car).setAddColor((Color)e.Data.GetData(typeof(Color)));
}
DrawCar();
}
private void LabelObject_MouseDown(object sender, MouseEventArgs e)
{
(sender as Label)?.DoDragDrop((sender as Label)?.Name,