Aleikin A.M. LabWork05 #5

Closed
aleyckin wants to merge 4 commits from LabWork05 into LabWork04
Showing only changes of commit 67d28053af - Show all commits

View File

@ -14,7 +14,7 @@ namespace AirBomber
{
DrawningBomber _airBomber = null;
private event AirBomberDelegate EventAddAirBomber;
private Action<DrawningBomber> EventAddAirBomber;
public FormAirBomberConfig()
{
InitializeComponent();
@ -39,11 +39,11 @@ namespace AirBomber
pictureBoxObject.Image = bmp;
}
public void AddEvent(AirBomberDelegate ev)
public void AddEvent(Action<DrawningBomber> ev)
{
if (EventAddAirBomber == null)
{
EventAddAirBomber = new AirBomberDelegate(ev);
EventAddAirBomber = ev;
}
else
{