src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs
changeset 211 50e6fe2c2ea2
parent 207 6405d0b7d085
child 215 d13dbcf861d7
equal deleted inserted replaced
210:574041f3b2c9 211:50e6fe2c2ea2
   153             //cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), 100 - (1 * AnnotWidth), 70, "Mvt Cam 2"));
   153             //cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), 100 - (1 * AnnotWidth), 70, "Mvt Cam 2"));
   154             //cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), 200 - (2 * AnnotWidth), 50, "Saut 3"));
   154             //cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), 200 - (2 * AnnotWidth), 50, "Saut 3"));
   155             //cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), 100 - (3 * AnnotWidth), 20, "Saut 4"));
   155             //cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), 100 - (3 * AnnotWidth), 20, "Saut 4"));
   156             //cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), 120 - (4 * AnnotWidth), 50, "Saut 5"));
   156             //cut.AnnotList.Add(new Annotation("s_" + System.Guid.NewGuid(), 120 - (4 * AnnotWidth), 50, "Saut 5"));
   157 
   157 
   158             tv.DataContext = new CuttingViewModel(cut, AnnotWidth);
   158             if(cut!=null)
       
   159                 tv.DataContext = new CuttingViewModel(cut, AnnotWidth);
   159 
   160 
   160         }
   161         }
   161 
   162 
   162         public void timerStart()
   163         public void timerStart()
   163         {
   164         {