Ejemplo n.º 1
0
        public void executeAction()
        {
            chord.breakMultiEffects();
            measure.breakCrossMeasureEffectsAtPosition(EffectPosition.After);

            measure.Remove(chord);
            measure.ModelCollection.performActionOnSpecificItems(
                c => c.Position.Index > chord.Position.Index,
                c => c.Position.Index -= 1);
        }
Ejemplo n.º 2
0
        public void executeAction()
        {
            chords.First().breakMultiEffectsAtPosition(EffectPosition.Into);
            chords.Last().breakMultiEffectsAtPosition(EffectPosition.After);

            foreach (Chord chord in chords)
            {
                measure.Remove(chord);
            }
            measure.ModelCollection.performActionOnSpecificItems(
                c => c.Position.Index > chords.Last().Position.Index,
                c => c.Position.Index -= chords.Count);
        }