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; }
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; }