Ejemplo n.º 1
0
 public void AddMeasureHeader(MeasureHeader header)
 {
     //header.Song = this;
     MeasureHeaders.Add(header);
     if (header.IsRepeatOpen || (header.RepeatAlternatives.Count > 0 && CurrentRepeatGroup.IsClosed && header.RepeatAlternatives[0] <= 0))
     {
         CurrentRepeatGroup = new RepeatGroup();
     }
     CurrentRepeatGroup.AddMeasureHeader(header);
 }
Ejemplo n.º 2
0
 public void addMeasureHeader(MeasureHeader header)
 {
     header.song = this;
     measureHeaders.Add(header);
     if (header.isRepeatOpen || (header.repeatAlternatives.Count > 0 && _currentRepeatGroup.isClosed && header.repeatAlternatives[0] <= 0))
     {
         _currentRepeatGroup = new RepeatGroup();
     }
     _currentRepeatGroup.addMeasureHeader(header);
 }