c# - multiply textbox value by factor from combobox? -


i have textbox numeric input. , combobox, list of factors 'behind' it.

i want have combobox multiply value visible in textbox factor chosen list, each time change combobox choice. way go here?

sorry, not clear: say, value in tb 3. chose cb item (the 1 says "10") , tb value multiplied 10. next time chose cb item (the 1 says "100"), original value of tb box multiplied 100.

use convert input textbox int:

int = int32.parse(textbox1.text); 

maybe paste code in? can better way


Comments

Popular posts from this blog

html - Difficulties with background-image property -

visual studio code - What does the isShellCommand property actually do and how should you use it? -

ios - Segue not passing data between ViewControllers -