private void UpdateLCAP() { SeedRecipeData data = SeedRecipe.GetRecipesForSeed(Seed); lblAPMaterial1.Text = SeedRecipe.MaterialToString(data.AlchemicalPrecursor.Material1); lblAPMaterial3.Text = SeedRecipe.MaterialToString(data.AlchemicalPrecursor.Material2); lblAPMaterial2.Text = SeedRecipe.MaterialToString(data.AlchemicalPrecursor.Material3); lblLCMaterial1.Text = SeedRecipe.MaterialToString(data.LivelyConcoction.Material1); lblLCMaterial3.Text = SeedRecipe.MaterialToString(data.LivelyConcoction.Material2); lblLCMaterial2.Text = SeedRecipe.MaterialToString(data.LivelyConcoction.Material3); }
private void LCAPForm_Load(object sender, EventArgs e) { Analytics.TrackPage("LCAP Form", "/lcap-form"); SeedRecipeData data = SeedRecipe.GetRecipesForSeed(Seed); label1.Text = Seed.ToString(); lblAPMaterial1.Text = SeedRecipe.MaterialToString(data.AlchemicalPrecursor.Material1); lblAPMaterial3.Text = SeedRecipe.MaterialToString(data.AlchemicalPrecursor.Material2); lblAPMaterial2.Text = SeedRecipe.MaterialToString(data.AlchemicalPrecursor.Material3); lblLCMaterial1.Text = SeedRecipe.MaterialToString(data.LivelyConcoction.Material1); lblLCMaterial3.Text = SeedRecipe.MaterialToString(data.LivelyConcoction.Material2); lblLCMaterial2.Text = SeedRecipe.MaterialToString(data.LivelyConcoction.Material3); }