protected virtual void OnNotifySwitchItem(SwitchItem e) { NotifySwitchItem?.Invoke(this, e); }
private void OnNotifySwitchItem() { NotifySwitchItem?.Invoke(this, EventArgs.Empty); }