equal
deleted
inserted
replaced
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 |