double num1, num2, result;
int op;
private void button8_Click(object sender, EventArgs e)
{
if (textBox1.Text == "")
{
textBox1.Text = "1";
}
else
{
textBox1.Text += "1";
}
}
private void button9_Click(object sender, EventArgs e)
{
if (textBox1.Text == "")
{
textBox1.Text = "2";
}
else
{
textBox1.Text += "2";
}
}
private void button10_Click(object sender, EventArgs e)
{
if (textBox1.Text == "")
{
textBox1.Text = "3";
}
else
{
textBox1.Text += "3";
}
}
private void button5_Click(object sender, EventArgs e)
{
if (textBox1.Text == "")
{
textBox1.Text = "4";
}
else
{
textBox1.Text += "4";
}
}
private void button6_Click(object sender, EventArgs e)
{
if (textBox1.Text == "")
{
textBox1.Text = "5";
}
else
{
textBox1.Text += "5";
}