24 lines
476 B
C#
24 lines
476 B
C#
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> CommonEvents;
|
|
|
|
public static void OnEvent(object sender, CommonEvents e)
|
|
{
|
|
if (CommonEvents != null)
|
|
{
|
|
CommonEvents.Invoke(sender, e);
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|