예제 #1
0
 private async void txtLaneDistributionFactor_TextChanged(object sender, TextChangedEventArgs e)
 {
     if (await IsNumeric(txtLaneDistributionFactor))
     {
         CalcHelper.SetLaneDistributionFactor(txtLaneDistributionFactor.Text);
         UpdateGuiControls();
     }
 }
예제 #2
0
 private void lvFactors_SelectionChanged(object sender, SelectionChangedEventArgs e)
 {
     CalcHelper.SetLaneDistributionFactor(((LaneDistributionData)lvFactors.SelectedItem).DistributionFactor);
 }