Exemple #1
0
 public PlayerWindow(string path)
 {
     //MyContainer myContainer = new MyContainer();
     scenesList = getScenesList(path);
     if (scenesList.Count > 0)
     {
         MyContainer myContainer = new MyContainer();
         CreateLayout.showScene(myContainer, scenesList[0]);
         this.Content = myContainer;
         int time = myContainer.layoutData.sceneTime;
         setTimer(time, 0);
     }
 }
Exemple #2
0
 private void playNextScene(int i)
 {
     if (scenesList.Count > i + 1)
     {
         MyContainer myContainer = new MyContainer();
         CreateLayout.showScene(myContainer, scenesList[i + 1]);
         this.Content = myContainer;
         int time = myContainer.layoutData.sceneTime;
         setTimer(time, i + 1);
     }
     else
     {
         //deleteTempFolder();
     }
 }