diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTruckCollection.cs b/ProjectDumpTruck/ProjectDumpTruck/FormTruckCollection.cs index 17b50fc..2891422 100644 --- a/ProjectDumpTruck/ProjectDumpTruck/FormTruckCollection.cs +++ b/ProjectDumpTruck/ProjectDumpTruck/FormTruckCollection.cs @@ -54,6 +54,11 @@ public partial class FormTruckCollection : Form form.Show(); } + private void Dop_1() + { + FormTruckConfig form = new(); + } + /// /// Добавление автомобиля в коллекцию /// diff --git a/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.cs b/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.cs index 8b24e71..8916c15 100644 --- a/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.cs +++ b/ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.cs @@ -35,6 +35,7 @@ namespace ProjectDumpTruck panelWhite.MouseDown += Panel_MouseDown; panelBlack.MouseDown += Panel_MouseDown; panelPurple.MouseDown += Panel_MouseDown; + panelGray.MouseDown += Panel_MouseDown; buttonCancel.Click += (object sender, EventArgs e) => Close(); } @@ -46,7 +47,7 @@ namespace ProjectDumpTruck public void AddEvent(Action truckDelegate) { DrawningTruckEvent += truckDelegate; - } + } /// @@ -164,7 +165,5 @@ namespace ProjectDumpTruck Close(); } } - - } }