private void trackEditorPro_TrackRemoved(PEMidiTrackEditPanel sender, Sequence sequence, Track track, GuitarDifficulty difficulty) { if (DesignMode) { return; } TrackProperties.FirstOrDefault(x => x.Track == track).IfObjectNotNull(x => TrackProperties.Remove(x)); }
private void trackEditorPro_TrackRemoved(PEMidiTrackEditPanel sender, Sequence sequence, Track track, GuitarDifficulty difficulty) { if (DesignMode) return; TrackProperties.FirstOrDefault(x => x.Track == track).IfObjectNotNull(x => TrackProperties.Remove(x)); }
private void trackEditorPro_TrackClicked(PEMidiTrackEditPanel sender, Sequence sequence, Track track, GuitarDifficulty difficulty) { sender.SetTrack(track, difficulty); SelectTrack(sequence, track, difficulty); }