//Used by descendants that wants to raise the event protected virtual void OnSettingsApplied() { OnSettingsAppliedA?.Invoke(this, new PanelEventArgs() { UniqueId = InstanceId, SaitekPanelEnum = _typeOfSaitekPanel }); }
public static void SettingsApplied(object sender, string hidInstance, GamingPanelEnum gamingPanelEnum) { OnSettingsAppliedA?.Invoke(sender, new PanelInfoArgs { HidInstance = hidInstance, PanelType = gamingPanelEnum }); }