private void Value_Changed(object sender, KeyPressEventArgs e) { skillCost.Text = XPCalculator.CalculateSkillXPNeeded((int)startNumeric.Value, (int)targetNumeric.Value).ToString(); charCost.Text = XPCalculator.CalculateCharXPNeeded((int)startNumeric.Value, (int)targetNumeric.Value).ToString(); }
private void Value_Changed(object sender, KeyPressEventArgs e) { skillAdv.Text = XPCalculator.CalculateSkillAdvancesPossible((int)startNumeric.Value, (int)XPNumeric.Value).ToString(); charAdv.Text = XPCalculator.CalculateCharAdvancesPossible((int)startNumeric.Value, (int)XPNumeric.Value).ToString(); }