public void getDataCategory() { Common common = new Common(); string data = common.ReadFile("Data/Category.txt"); lstCategory = JsonConvert.DeserializeObject<List<Category>>(data); }
private void addParaItem() { PanoramaItem panoItem = new PanoramaItem(); WebBrowser webBrower = new WebBrowser(); Common common = new Common(); common.SaveFilesToIsoStore(category.pageURL); for(int i = 0; i < category.pageName.Count; i++) { panoItem = new PanoramaItem(); panoItem.Header = category.pageName[i]; PageView.Items.Add(panoItem); webBrower = new WebBrowser(); webBrower.Navigate(new Uri(category.pageURL[i], UriKind.Relative)); panoItem.Content = webBrower; } //panoItem.Header = }