using FLSystem.Events; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace FLSystem { public class MainEvent { public static event EventHandler CommonEvents; public static void OnEvent(object sender, CommonEvents e) { if (CommonEvents != null) { CommonEvents.Invoke(sender, e); } } } }