private void OnLoaded(object sender, RoutedEventArgs e) { if (_loaded) return; _loaded = true; AcError.Target.AcObjectOutdated += Target_AcObjectOutdated; AcError.Target.Errors.CollectionChanged += Errors_CollectionChanged; }