I did this: write a number in textBox1, when you click on the buttons +, -, *, / it resets textBox1. What I want: I wrote a number, clicked on one of these buttons so that he remembers this number and zeroed it, then I enter the next number and then when I clicked on = he gave me the answer, for example, the sum of the memory number and the number entered, .e: entered "3", clicked on the "+" textbox was reset, became clean, I enter "5" and when I click "=" it gives me their sum, 8.
|