private void UpdateTotalUnfPotsMade(object sender, EventArgs e) { totalUnfPotsMadeOutput.Value = CalculatorLogic.TotalUnfPotsMade(herbsUsedInput.Value, portableWellCheck.Checked, wastelessHerbloreCheck.Checked); if (selfmadeUnfsCheck.Checked == true) { unfPotsToProcessInput.Value = CalculatorLogic.TotalUnfPotsMade(herbsUsedInput.Value, portableWellCheck.Checked, wastelessHerbloreCheck.Checked); } else { } }
private void UpdateSellAllFourDoseOutput(object sender, EventArgs e) { sellingAllFourDoseOutput.Value = CalculatorLogic.ValueSellingAllFourDose(fourDoseValueInput.Value, totalFourDoseMadeOutput.Value); }
private void UpdateResourceCostOutput(object sender, EventArgs e) { resourceCostOutput.Value = CalculatorLogic.TotalResourceCost(herbCostInput.Value, vialOfWaterCostInput.Value, ingredientsCostInput.Value, herbsUsedInput.Value); }
private void UpdateFourDoseValueOutput(object sender, EventArgs e) { totalFourDoseMadeOutput.Value = CalculatorLogic.TotalFourDosePotionYield(totalThreeDoseMadeOutput.Value); }
private void UpdatePricePerPotionOutput(object sender, EventArgs e) { pricePerPotionOutput.Value = CalculatorLogic.ResourceCostPerPotion(herbCostInput.Value, ingredientsCostInput.Value, vialOfWaterCostInput.Value); }
private void UpdateTotalThreeDosePotMadeOutput(object sender, EventArgs e) { totalThreeDoseMadeOutput.Value = CalculatorLogic.TotalThreeDosePotsMade(unfPotsToProcessInput.Value, portableWellCheck.Checked, wastelessHerbloreCheck.Checked); }
private void UpdateCostPerUnfOutput(object sender, EventArgs e) //passes information over to the Logic class when you leave the herbcostinput or vialofwatercostinput boxes { costPerUnfOutput.Value = CalculatorLogic.UnfinishedPotionCost(herbCostInput.Value, vialOfWaterCostInput.Value); }
private void UpdateDoseOutputs(object sender, EventArgs e) //passes information over to the Logic class when you leave the ingredientsCostInput or costPerUnfOutput boxes { costPer3DoseOutput.Value = CalculatorLogic.FinishedThreeDoseCalc(ingredientsCostInput.Value, costPerUnfOutput.Value); costPer1DoseOutput.Value = CalculatorLogic.FinishedOneDoseCalc(costPer3DoseOutput.Value); }
private void UpdateProfitLossFourDose(object sender, EventArgs e) { profitLossFourDoseOutput.Value = CalculatorLogic.ProfitLossSellingFourDose(resourceCostOutput.Value, sellingAllFourDoseOutput.Value); }