исправление
This commit is contained in:
parent
7318377e3f
commit
9a51457f08
@ -14,7 +14,8 @@ public partial class FormCarConfig : Form
|
||||
/// <summary>
|
||||
/// Событие для передачи объекта
|
||||
/// </summary>
|
||||
private event TrackedCarDelegate? TrackedCarDelegate;
|
||||
private event Action<DrawningTrackedCar>? TrackedCarDelegate;
|
||||
|
||||
/// <summary>
|
||||
/// конструктор
|
||||
/// </summary>
|
||||
@ -36,7 +37,7 @@ public partial class FormCarConfig : Form
|
||||
/// Привязка внешнего метода к событию
|
||||
/// </summary>
|
||||
/// <param name="TrackedcarDelegate"></param>
|
||||
public void AddEvent(TrackedCarDelegate TrackedcarDelegate)
|
||||
public void AddEvent(Action<DrawningTrackedCar> TrackedcarDelegate)
|
||||
{
|
||||
TrackedCarDelegate += TrackedcarDelegate;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user