public void InitializeEpicLayout() { var epicPack = LsProducts.FirstOrDefault(el => el.ProductId == ("epic_pack")); if (epicPack != null) { PackEpicTitle.Text = epicPack.Title.Replace("(Seekios)", string.Empty); PackEpicPrice.Text = epicPack.Price; PackEpicRefillAmount.Text = epicPack.Description; } }
public void InitializeAdventureLayout() { var adventurePack = LsProducts.FirstOrDefault(el => el.ProductId == ("adventure_pack")); if (adventurePack != null) { PackAdvTitle.Text = adventurePack.Title.Replace("(Seekios)", string.Empty); PackAdvPrice.Text = adventurePack.Price; PackAdvRefillAmount.Text = adventurePack.Description; } }
public void InitializeExplorationLayout() { var explorationPack = LsProducts.FirstOrDefault(el => el.ProductId == ("exploration_pack")); if (explorationPack != null) { PackExploTitle.Text = explorationPack.Title.Replace("(Seekios)", string.Empty); PackExploPrice.Text = explorationPack.Price; PackExploRefillAmount.Text = explorationPack.Description; } }
public void InitializeDiscoveryLayout() { var discoveryPack = LsProducts.FirstOrDefault(el => el.ProductId == ("discovery_pack")); if (discoveryPack != null) { PackDiscoTitle.Text = discoveryPack.Title.Replace("(Seekios)", string.Empty); PackDiscoPrice.Text = discoveryPack.Price; PackDiscoRefillAmount.Text = discoveryPack.Description; } }
public void InitializeObservationLayout() { var observationPack = LsProducts.FirstOrDefault(el => el.ProductId == ("observation_pack")); if (observationPack != null) { PackObsTitle.Text = observationPack.Title.Replace("(Seekios)", string.Empty); PackObsPrice.Text = observationPack.Price; PackObsRefillAmount.Text = observationPack.Description; } }
private void OnClickBuyEpicPack(object sender, EventArgs args) { BillingHandler.BuyProduct(LsProducts.FirstOrDefault(el => el.ProductId == "epic_pack")); }