Пример #1
0
        public NoteToolsViewModel(PianoRollViewModel vm)
        {
            ViewModel = vm ?? throw new ArgumentNullException(nameof(vm));

            if (ViewModel.SelectedItems.Count() != 0)
            {
                OrderByStart(ViewModel.SelectedItems.Cast <NoteViewModel>());
            }
            else
            {
                OrderByStart(ViewModel.Notes);
            }
        }
Пример #2
0
 public ChopperViewModel(PianoRollViewModel vm)
     : base(vm)
 {
 }