I create a calculator. But here I met such a problem: I click on the buttons with numbers and at the same time the number (one) is highlighted in the TextBox, but when I click on another button, the old one is deleted and a new one (one) is displayed instead. For the first time I encounter such a problem. What's the matter???
Here is the code:
private void button25_Click(object sender, EventArgs e) { textBox1.Text = "1"; } private void button24_Click(object sender, EventArgs e) { textBox1.Text = "2"; }