src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml.cs
changeset 165 e78e40b9d761
parent 162 0b9f989bcb37
child 168 d70ee2002f75
equal deleted inserted replaced
164:09700eb26702 165:e78e40b9d761
    30             this.UserControlPlayer.initPlayer(path);
    30             this.UserControlPlayer.initPlayer(path);
    31             //Initialisation du Timer
    31             //Initialisation du Timer
    32             UCTimeLine.initTimer(col, projCutting);
    32             UCTimeLine.initTimer(col, projCutting);
    33             this.UserControlPlayer.playerPlay();
    33             this.UserControlPlayer.playerPlay();
    34             this.userControlTimeLine.OnSuccessAnnotation+=new EventHandler(userControlTimeLine_OnSuccessAnnotation);
    34             this.userControlTimeLine.OnSuccessAnnotation+=new EventHandler(userControlTimeLine_OnSuccessAnnotation);
       
    35             this.UserControlPlayer.PlayerStopOrPause +=new EventHandler(UserControlPlayer_PlayerStopOrPause);
    35         }
    36         }
    36 
    37 
    37         #region player
    38         #region player
    38         private void UserControlPlayer_PlayerOpened(object sender, EventArgs e)
    39         private void UserControlPlayer_PlayerOpened(object sender, EventArgs e)
    39         {
    40         {
    46 
    47 
    47         //Set a bursh color to the stack panel in the Player
    48         //Set a bursh color to the stack panel in the Player
    48         public void UserControlPlayer_DisplayAnnotation(int id, Brush b)
    49         public void UserControlPlayer_DisplayAnnotation(int id, Brush b)
    49         {
    50         {
    50             UserControlPlayer.displayStackPanelAnnotations(id, b);
    51             UserControlPlayer.displayStackPanelAnnotations(id, b);
       
    52 
       
    53         }
       
    54         public void UserControlPlayer_PlayerStopOrPause(object sender, EventArgs e)
       
    55         { 
       
    56             
    51         }
    57         }
    52         #endregion
    58         #endregion
    53 
    59 
    54         #region TimeLine
    60         #region TimeLine
    55 
    61