private void Init()
 {
     _cargos                     = new AnnotationResourceCollection();
     _cargos.ItemChanged        += OnCargoChanged;
     _cargos.CollectionChanged  += OnCargosChanged;
     _anchors                    = new AnnotationResourceCollection();
     _anchors.ItemChanged       += OnAnchorChanged;
     _anchors.CollectionChanged += OnAnchorsChanged;
     _authors                    = new ObservableCollection <string>();
     _authors.CollectionChanged += OnAuthorsChanged;
 }
Example #2
0
 private void Init()
 {
     _cargos = new AnnotationResourceCollection();
     _cargos.ItemChanged += OnCargoChanged;
     _cargos.CollectionChanged += OnCargosChanged;
     _anchors = new AnnotationResourceCollection();
     _anchors.ItemChanged += OnAnchorChanged;
     _anchors.CollectionChanged += OnAnchorsChanged;
     _authors = new ObservableCollection<string>();
     _authors.CollectionChanged += OnAuthorsChanged;
 }