Calculating textbox with two selected combobox items
问题 My problem: Id like to , after two combobox variables are selected, to divide these two and set the Textbox to the result of the calculation. The two Comboboxes: Körpergröße & Gewicht The textbox: BMI First of all, the code im using ( which apparently isnt working now) private void fillTextBox(float value1, float value2) { BMI.Text = (value1 / value2).ToString(); } private void Körpergröße_SelectionChanged(object sender, SelectionChangedEventArgs e) { float a; float b; //In this way you can