private async void txtAxleEquivalencyFactor_TextChanged(object sender, TextChangedEventArgs e) { if (await IsNumeric(txtAxleEquivalencyFactor)) { CalcHelper.SetAxleEquivalencyFactor(txtAxleEquivalencyFactor.Text); } }
private void lvFactorsSpecific_SelectionChanged(object sender, SelectionChangedEventArgs e) { lvFactorsGeneral.SelectedIndex = -1; if (lvFactorsSpecific.SelectedIndex > -1) { CalcHelper.SetAxleEquivalencyFactor(((AxleEquivalencyFactorData2)lvFactorsSpecific.SelectedItem).F); } }