done fix
This commit is contained in:
parent
dad5aefdd0
commit
dbace1908e
@ -73,7 +73,7 @@ DragDropEffects.Move | DragDropEffects.Copy);
|
|||||||
if (_car is DrawningDumpTruck car)
|
if (_car is DrawningDumpTruck car)
|
||||||
{
|
{
|
||||||
labelAddColor.BackColor = (Color)e.Data.GetData(typeof(Color));
|
labelAddColor.BackColor = (Color)e.Data.GetData(typeof(Color));
|
||||||
car.setAddColor((Color)e.Data.GetData(typeof(Color)));
|
((DrawningDumpTruck)_car).setAddColor((Color)e.Data.GetData(typeof(Color)));
|
||||||
}
|
}
|
||||||
DrawCar();
|
DrawCar();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user