diff --git a/AirBomber/AirBomber/FormAirBomberConfig.cs b/AirBomber/AirBomber/FormAirBomberConfig.cs index 754d5b8..51e0803 100644 --- a/AirBomber/AirBomber/FormAirBomberConfig.cs +++ b/AirBomber/AirBomber/FormAirBomberConfig.cs @@ -14,7 +14,7 @@ namespace AirBomber { DrawningBomber _airBomber = null; - private event AirBomberDelegate EventAddAirBomber; + private Action EventAddAirBomber; public FormAirBomberConfig() { InitializeComponent(); @@ -39,11 +39,11 @@ namespace AirBomber pictureBoxObject.Image = bmp; } - public void AddEvent(AirBomberDelegate ev) + public void AddEvent(Action ev) { if (EventAddAirBomber == null) { - EventAddAirBomber = new AirBomberDelegate(ev); + EventAddAirBomber = ev; } else {