src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml.cs
changeset 150 569925b65604
parent 143 9f157d9c725b
child 152 46577fd0a294
equal deleted inserted replaced
149:df197df887d3 150:569925b65604
    18 			this.InitializeComponent();
    18 			this.InitializeComponent();
    19 
    19 
    20 			// Insert code required on object creation below this point.
    20 			// Insert code required on object creation below this point.
    21 		}
    21 		}
    22 
    22 
    23         public void Load(string path)
    23         public void Load(string path, UInt32 intColor)
    24         {
    24         {
    25             this.UserControlPlayer.initPlayer(path);
    25             this.UserControlPlayer.initPlayer(path);
       
    26             //Initialisation du Timer
       
    27             UCTimeLine.initTimer(intColor);
    26             this.UserControlPlayer.playerPlay();
    28             this.UserControlPlayer.playerPlay();
    27         }
    29         }
    28 
    30 
    29         #region player
    31         #region player
    30         private void UserControlPlayer_PlayerOpened(object sender, EventArgs e)
    32         private void UserControlPlayer_PlayerOpened(object sender, EventArgs e)
    31         {
    33         {
    32             //Initialisation du Timer
       
    33             UCTimeLine.initTimer();
       
    34             //Initialisation du slider
    34             //Initialisation du slider
    35             UCTimeLine.initslider(UserControlPlayer.TotalMilliseconds);
    35             UCTimeLine.initslider(UserControlPlayer.TotalMilliseconds);
    36             //Demarrage du Timer
    36             //Demarrage du Timer
    37             UCTimeLine.timerStart();
    37             UCTimeLine.timerStart();
    38 
    38