Doubt with checkedListBox in c # (Visual studio)

0

First of all thank you for reading ... I am new programming.

Everything is in a windowsForm:

I have 2 textbox to enter figures. I need to do the operations of addition, subtraction, multiplication and division with a checkedListBox. Every time you select the option in the checkedListBox you have to automatically calculate the result in a textbox but you can not do it. If you could help me, I'd appreciate it.

I did it with a checkbox and there you can calculate without problems:

textBox3.Text = (Convert.ToDouble(textBox1.Text) * Convert.ToDouble(textBox2.Text)).ToString();

but with the checkedListBox I do not know how to get the option or assign the operations or anything like that

    
asked by alexis almaran 05.02.2018 в 00:10
source

0 answers