public MainViewModel() { Settings = SaveSystem.LoadSettings(); _settingsPanelViewModel = new SettingsPanelViewModel(this); _downloadsPanelViewModel = new DownloadsPanelViewModel(this); _notificationsViewModel = new NotificationsViewModel(); _menuViewModel = new MenuViewModel(this); _findByViewModel = new FindByViewModel(this, HtmlPageLoader); _mangaViewModel = new MangaViewModel(this); _readerViewModel = new ReaderViewModel(this); _downloadsViewerViewModel = new DownloadsViewerViewModel(this); HtmlPageLoader = new HtmlPageLoader(this, _mangaViewModel); //HtmlPageLoader.LoadData("https://mangakakalot.com/manga/moshi_fanren"); //HtmlPageLoader.ApplyData(); }
public DownloadedItemViewModel(DownloadsViewerViewModel parent, string text) { _text = text.Split('\\').Last(); Parent = parent; Read = new RelayCommand(View); }