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