From 2b0bc907d1fae57d70f284b05ada6bbb9ceefff4 Mon Sep 17 00:00:00 2001 From: Anitonchik Date: Wed, 17 Apr 2024 21:16:20 +0400 Subject: [PATCH] =?UTF-8?q?=D0=9B=D0=B0=D0=B1=D0=BE=D1=80=D0=B0=D1=82?= =?UTF-8?q?=D0=BE=D1=80=D0=BD=D0=B0=D1=8F=20=D1=80=D0=B0=D0=B1=D0=BE=D1=82?= =?UTF-8?q?=D0=B0=20=E2=84=965?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ProjectDumpTruck/ProjectDumpTruck/FormTruckCollection.cs | 5 +++++ ProjectDumpTruck/ProjectDumpTruck/FormTruckConfig.cs | 5 ++--- 2 files changed, 7 insertions(+), 3 deletions(-) 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(); } } - - } }