Лабораторная работа №5
This commit is contained in:
parent
8230c4d0fd
commit
2b0bc907d1
@ -54,6 +54,11 @@ public partial class FormTruckCollection : Form
|
||||
form.Show();
|
||||
}
|
||||
|
||||
private void Dop_1()
|
||||
{
|
||||
FormTruckConfig form = new();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Добавление автомобиля в коллекцию
|
||||
/// </summary>
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user