Answer the question
In order to leave comments, you need to log in
Wpf replacement in code place numericUpDown?
if (numericUpDown1.Value == 10 && numericUpDown2.Value != 10)
textBox2.Text = ToN(textBox1.Text, numericUpDown2.Value.ToString());
else if (numericUpDown2.Value == 10 && numericUpDown1.Value != 10)
textBox2.Text = FromN(textBox1.Text, numericUpDown1.Value.ToString());
else if (numericUpDown2.Value != 10 && numericUpDown1.Value != 10)
textBox2.Text = FromTo(textBox1.Text, numericUpDown1.Value.ToString(), numericUpDown2.Value.ToString());
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question