diff --git a/DumpTruck/DumpTruck/CarsGenericStorage.cs b/DumpTruck/DumpTruck/CarsGenericStorage.cs index b2cbd98..4409f1d 100644 --- a/DumpTruck/DumpTruck/CarsGenericStorage.cs +++ b/DumpTruck/DumpTruck/CarsGenericStorage.cs @@ -77,10 +77,6 @@ namespace DumpTruck.Generics return null; } } - - - - } } diff --git a/DumpTruck/DumpTruck/DrawningCar.cs b/DumpTruck/DumpTruck/DrawningCar.cs index 4e83a63..55f28dc 100644 --- a/DumpTruck/DumpTruck/DrawningCar.cs +++ b/DumpTruck/DumpTruck/DrawningCar.cs @@ -154,8 +154,6 @@ width, int height, int carWidth, int carHeight) } - - public void setColor(Color color) { EntityCar.setColor(color); diff --git a/DumpTruck/DumpTruck/FormCarConfig.cs b/DumpTruck/DumpTruck/FormCarConfig.cs index 4a1f95e..29fcaf7 100644 --- a/DumpTruck/DumpTruck/FormCarConfig.cs +++ b/DumpTruck/DumpTruck/FormCarConfig.cs @@ -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,