src/FingersDance.Control.SyncSource/UserControlSyncSource.xaml.cs
changeset 203 2948b34324bb
parent 195 48b3139bb182
child 206 89813df17ec2
equal deleted inserted replaced
202:e15e7110ef6d 203:2948b34324bb
     8 using System.Windows.Media.Animation;
     8 using System.Windows.Media.Animation;
     9 using System.Windows.Navigation;
     9 using System.Windows.Navigation;
    10 using FingersDance.Control.TimeLine;
    10 using FingersDance.Control.TimeLine;
    11 using FingersDance.Data;
    11 using FingersDance.Data;
    12 using FingersDance.Factory;
    12 using FingersDance.Factory;
       
    13 using GestureControl;
    13 
    14 
    14 namespace FingersDance.Control.SyncSource
    15 namespace FingersDance.Control.SyncSource
    15 {
    16 {
    16 	public partial class UserControlSyncSource
    17 	public partial class UserControlSyncSource
    17 	{
    18 	{
    33             UCTimeLine.initTimer(col, cut);
    34             UCTimeLine.initTimer(col, cut);
    34             this.UserControlPlayer.playerPlay();
    35             this.UserControlPlayer.playerPlay();
    35             this.userControlTimeLine.OnSuccessAnnotation += new EventHandler(userControlTimeLine_OnSuccessAnnotation);
    36             this.userControlTimeLine.OnSuccessAnnotation += new EventHandler(userControlTimeLine_OnSuccessAnnotation);
    36             this.userControlTimeLine.AnnotationAdded += new EventHandler(userControlTimeLine_AnnotationAdded);
    37             this.userControlTimeLine.AnnotationAdded += new EventHandler(userControlTimeLine_AnnotationAdded);
    37             this.userControlTimeLine.AnnotationRemoved += new EventHandler(userControlTimeLine_AnnotationRemoved);
    38             this.userControlTimeLine.AnnotationRemoved += new EventHandler(userControlTimeLine_AnnotationRemoved);
    38             this.UserControlPlayer.PlayerStopOrPause +=new EventHandler(UserControlPlayer_PlayerStopOrPause);
    39             this.UserControlPlayer.PlayerStopOrPause += new EventHandler(UserControlPlayer_PlayerStopOrPause);
       
    40             UserControlPlayer.NewGestureRegognized += new EventHandler(UCTimeLine.UserControlPlayer_NewGestureRegognized);
    39         }
    41         }
    40 
    42 
    41         void userControlTimeLine_AnnotationRemoved(object sender, EventArgs e)
    43         void userControlTimeLine_AnnotationRemoved(object sender, EventArgs e)
    42         {
    44         {
    43             try
    45             try