Пример #1
0
        /// <summary>
        /// Load the languages, and add them to the view
        /// </summary>
        /// <param name="vnInfoEntry"></param>
        private void LoadLanguages(ref VnInfo vnInfoEntry)
        {
            var langCollection = VndbDataHelper.LoadLanguages(ref vnInfoEntry);

            LanguageCollection.Clear();
            LanguageCollection.AddRange(langCollection);
        }
Пример #2
0
        /// <summary>
        /// Load Relation data
        /// </summary>
        private void LoadRelations()
        {
            var relations = VndbDataHelper.LoadRelations();

            VnRelations.AddRange(relations);
            RelationsDataVisibility = VnRelations.Count < 1 ? Visibility.Collapsed : Visibility.Visible;
        }
Пример #3
0
 private void LoadLinks()
 {
     WikiLink = VndbDataHelper.LoadLinks();
 }