Why don't you just get the numUpDown control type, loop through and add, then do your division.
Anything with a 0 would be 0 * value = 0;
4 + 0 + 3 + ...
You also shouldn't need checkboxes, just multiply anything with 0 by the value and add together.
Also, type casting (int) or (double) to convert numericUpDown values.
eg. (int)numericUpDown1.Value;
If you add a custom event, you can make this realtime and apply the caluclations to the program whenever a value is changed so no "get" button is needed.
---------------
Didn't feel like managing the controls but this is an idea:
You must login or register to view this content.