Лабораторная работа №5

This commit is contained in:
Anitonchik 2024-04-17 21:16:20 +04:00
parent 8230c4d0fd
commit 2b0bc907d1
2 changed files with 7 additions and 3 deletions

View File

@ -54,6 +54,11 @@ public partial class FormTruckCollection : Form
form.Show();
}
private void Dop_1()
{
FormTruckConfig form = new();
}
/// <summary>
/// Добавление автомобиля в коллекцию
/// </summary>

View File

@ -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<DrawningTruck> truckDelegate)
{
DrawningTruckEvent += truckDelegate;
}
}
/// <summary>
@ -164,7 +165,5 @@ namespace ProjectDumpTruck
Close();
}
}
}
}