コード例 #1
0
 private void AddLedgerLines(NoteSection section, int xoffset)
 {
     CreateTrailingLinesForSection(section)
     .ForEach(note => NotesInLedger.Add(
                  new NoteViewModel(note.Note)
     {
         X = xoffset,
         Y = NoteHeight * NotesIndexInClef(note.Note)
     })
              );
 }
コード例 #2
0
 internal void ClearNotes()
 {
     Sections.Clear();
     NotesInClef.Clear();
     NotesInLedger.Clear();
 }