コード例 #1
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;
 }
コード例 #2
0
ファイル: Annotation.cs プロジェクト: JianwenSun/cc
 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;
 }