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