protected void OnSetActiveFx(object sender, ActiveFxEventArgs eventArgs) { EventHandler <ActiveFxEventArgs> temp = SetActiveFx; if (temp != null) { temp(sender, eventArgs); } }
private void patEditor_SetActiveFx(object sender, ActiveFxEventArgs e) { foreach (Effect effect in this.currentSong.Effects) { if (effect.ID == e.Id) { this.lstFX.SelectedItem = effect; break; } } }
private void patView_SetActiveFx(object sender, ActiveFxEventArgs e) { this.OnSetActiveFx(sender, e); }
private void patEditor_SetActiveFx(object sender, ActiveFxEventArgs e) { foreach (Effect effect in this.currentSong.Effects) { if (effect.ID == e.Id) { this.lstFX.SelectedItem = effect; break; } } }
protected void OnSetActiveFx(object sender, ActiveFxEventArgs eventArgs) { EventHandler<ActiveFxEventArgs> temp = SetActiveFx; if (temp != null) { temp(sender, eventArgs); } }
protected void OnSetActiveFx(object sender, ActiveFxEventArgs eventArgs) { SetActiveFx?.Invoke(sender, eventArgs); }