public static void ConnectionActive(object sender) { OnDcsConnectionActive?.Invoke(sender, new DCSBIOSConnectionEventArgs()); // Informs main UI that data is coming }
public static bool OnDcsConnectionActiveEventSubscribed() { return(OnDcsConnectionActive != null && OnDcsConnectionActive.GetInvocationList().Length > 0); }