пара изменений
This commit is contained in:
parent
e946dbbd54
commit
433975003c
@ -40,9 +40,16 @@ public partial class FormMilitaryAircraftConfig : Form
|
||||
/// </summary>
|
||||
/// <param name="militaryAircraftDelegate"></param>
|
||||
public void AddEvent(Action<DrawningMilitaryAircraft> militaryAircraftDelegate)
|
||||
{
|
||||
if (MilitaryAircraftDelegate != null)
|
||||
{
|
||||
MilitaryAircraftDelegate = militaryAircraftDelegate;
|
||||
}
|
||||
else
|
||||
{
|
||||
MilitaryAircraftDelegate += militaryAircraftDelegate;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Прорисовка объекта
|
||||
|
Loading…
Reference in New Issue
Block a user