public MainWindowViewModel() { AnimeXmlData xmlData = new AnimeXmlData(); allAnimes = xmlData.Animes; AnimeListforView = new ObservableCollection<AnimeData>(allAnimes); SelectChWindow selWin = new SelectChWindow(); selWin.ShowDialog(); }
public MainWindowViewModel() { AnimeXmlData xmlData = new AnimeXmlData(); allAnimes = xmlData.Animes; AnimeListforView = new ObservableCollection<AnimeData>(allAnimes); MyChNameList = new List<string>(); animeFilter = new AnimeFilter(allAnimes); if (!File.Exists(Path.CONFIG_PATH)) { SelectChWindow selWin = new SelectChWindow(); selWin.ShowDialog(); } LoadMyChName(); AnimeListforView = animeFilter.FilterByCh(MyChNameList); }
public MainWindowViewModel() { AnimeXmlData xmlData = new AnimeXmlData(); allAnimes = xmlData.Animes; AnimeListforView = new ObservableCollection <AnimeData>(allAnimes); MyChNameList = new List <string>(); animeFilter = new AnimeFilter(allAnimes); if (!File.Exists(Path.CONFIG_PATH)) { SelectChWindow selWin = new SelectChWindow(); selWin.ShowDialog(); } LoadMyChName(); AnimeListforView = animeFilter.FilterByCh(MyChNameList); }