coding
Question: I have creaded a form with 3 lables and each one with its respected text box. I also included 2 control buttons, one that reads calculate and one that reads clear.
I have to start writing the code for the following:
based on number of hours (txthours.text) and pay rate (txtrate.text) calculate the total pay by clicking the (cmdCalculate) button and placing the result in the total pay (txttotal.text) box.
I could do that, but my problem would be if I have overtime.....houw do I integrate that into the code.
Thanks for your help.
JR
Question: I have creaded a form with 3 lables and each one with its respected text box. I also included 2 control buttons, one that reads calculate and one that reads clear.
I have to start writing the code for the following:
based on number of hours (txthours.text) and pay rate (txtrate.text) calculate the total pay by clicking the (cmdCalculate) button and placing the result in the total pay (txttotal.text) box.
I could do that, but my problem would be if I have overtime.....houw do I integrate that into the code.
Thanks for your help.
JR