Esempio n. 1
0
 public ProjectVM()
 {
     Timers     = new CollectionViewModel <Timer, TimerVM>();
     Timeline   = new TimelineVM();
     Playlists  = new PlaylistCollectionVM();
     EventTypes = new CollectionViewModel <EventType, EventTypeVM>();
     FileSet    = new MediaFileSetVM();
     Periods    = new CollectionViewModel <Period, PeriodVM>();
     Dashboard  = new DashboardVM();
     Visible    = true;
 }
Esempio n. 2
0
 /// <summary>
 /// Open the specified fileSet.
 /// </summary>
 public void OpenFileSet(MediaFileSetVM fileset, bool play = false)
 {
     Player.Open(fileset?.Model, play);
 }