diff -r de06fa7242ae -r ab3057b82260 client/src/Iri.Modernisation.Controls/ViewModel/AnnotationMaker/AnnotationMakerVM.cs --- a/client/src/Iri.Modernisation.Controls/ViewModel/AnnotationMaker/AnnotationMakerVM.cs Fri Feb 12 12:24:46 2010 +0100 +++ b/client/src/Iri.Modernisation.Controls/ViewModel/AnnotationMaker/AnnotationMakerVM.cs Fri Feb 12 15:57:01 2010 +0100 @@ -55,6 +55,7 @@ OnPropertyChanged(String.Empty); //OnPropertyChanged("RefElement"); //OnPropertyChanged("IsControlEnable"); + Commands.AnnotationMaker.FixAnnotationTime.Execute(); } } @@ -481,17 +482,18 @@ /// Element référant public AnnotationMakerVM(PolemicElement refAParam) { - RefElement = refAParam; + InitializeCommands(); + _refElement = refAParam; _newAnnotation = new Annotation(RefElement.Chapter); _basicRelation = new PolemicLink() { FromElement = RefElement, ToElement = _newAnnotation, Type = null}; _polemicRelation = new PolemicLink(); - PolemicRelation.FromElement = _newAnnotation; - InitializeCommands(); - Begin = RefElement.TimerIn.TotalMilliseconds; - End = RefElement.TimerOut.TotalMilliseconds; - - + _polemicRelation.FromElement = _newAnnotation; + + // _begin = RefElement.TimerIn; + // _end = RefElement.TimerOut; + + OnPropertyChanged(String.Empty); }