예제 #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;
 }
예제 #2
0
 /// <summary>
 /// Open the specified fileSet.
 /// </summary>
 public void OpenFileSet(MediaFileSetVM fileset, bool play = false)
 {
     Player.Open(fileset?.Model, play);
 }