A text-box is two things: it's an interactive control on the screen into which a user can type and it's a piece of state: the text that they have entered.
As you want to be able to add what the user has typed in to the previous value, you will need to store the previous value, so you will need a variable in which to keep the running total. (A variable declared as a member of a class is called a field.)
You will also need to decide how you will know when the update the value in the text box. Should this be when the user hits Return or will you have a separate GUI button that they have to press? Either way, you will then need to add the current value of the text-box to the value in your field and then update the text in the text-box with the calculated sum. Don't forget to update the field with the new sum.