private void UpdateGemStoreList() { _gemSaleList = WebReq.UpdateGemSaleList(); foreach (var item in _gemSaleList) { var text = new TextBlock(); text.Text = $"{item.Name} - {item.GemCost}"; GemStoreStackPanel.Children.Add(text); } }
private void Window_Loaded(object sender, RoutedEventArgs e) { var outfitList = WebReq.UpdateOutfitList(); UpdateGemStoreList(); }