src/FingersDance.Control.TimeLine/UserControlTimeLine.xaml.cs
changeset 213 110067a19ec8
parent 211 50e6fe2c2ea2
child 215 d13dbcf861d7
equal deleted inserted replaced
212:bbac5d25dbb2 213:110067a19ec8
   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         {