the total1 represents the first number of the equation. total1 would be 5 + total2 would be 5.. at least, that's how the instructor said to set it up.
Ok, you'll want to get a better understanding of what what total1 and total2 are representing. I would suggest rereading the text about these variables and get a better understanding of what they store.
the addition/subtraction/etc -should- occur when the equal sign is hit, shouldn't it?
Correct. It can be done a different way, but for now, this is how you should do it. You should know, that you aren't just performing a math operation when the buttons are pushed, rather, you are doing math operations every time a math button is pushed.
In other words, the +,-,*, and / buttons are all doing more than they should.
I mean, if I am not mistaken that is the concept behind the switch and case right? The switch in this case being theOperator, and each case under the btnEqual area would represent the addition/subtraction/etc.
Ok...now i'm all sorts of confused! LOL.. my brain hurts..haha
You are on the right track. Programming, especially in the early stages, will cause all sorts of brain strain.