private void MenuClickTyreCalculator(object sender, EventArgs e) { FormTyreCalc frmTyreCalc = new FormTyreCalc(cfg.cfgTyreOrigin, cfg.cfgTyreCurrent); if (frmTyreCalc.ShowDialog() == System.Windows.Forms.DialogResult.OK) { cfg.cfgTyreOrigin = frmTyreCalc._tOrigin; cfg.cfgTyreCurrent = frmTyreCalc._tNew; ConversionFunctions.SpeedCorrectCoefficient = TyreParams.CalcK(frmTyreCalc._tOrigin, frmTyreCalc._tNew); } }