Você está na página 1de 2

Nome: João Paulo Moura de Oliveira | Série: 2°D.S | Trabalho de D.

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Calculadora
{
public partial class Form1 : Form
{

public Form1()
{
InitializeComponent();
}
private void button000_Click(object sender, EventArgs e)
{
txtResultado.Text += "0";
}

private void button001_Click(object sender, EventArgs e)


{
txtResultado.Text += "1";
}

private void button002_Click(object sender, EventArgs e)


{
txtResultado.Text += "2";
}

private void button003_Click(object sender, EventArgs e)


{
txtResultado.Text += "3";
}

private void button004_Click(object sender, EventArgs e)


{
txtResultado.Text += "4";
}

private void button005_Click(object sender, EventArgs e)


{
txtResultado.Text += "5";
}

private void button006_Click(object sender, EventArgs e)


{
txtResultado.Text += "6";
}

private void button007_Click(object sender, EventArgs e)


{
txtResultado.Text += "7";
}

private void button008_Click(object sender, EventArgs e)


{
txtResultado.Text += "8";
}

private void button009_Click(object sender, EventArgs e)


{
txtResultado.Text += "9";
}

private void button26_Click(object sender, EventArgs e)


{
txtResultado.Text += ",";
}

private void button26_Click(object sender, EventArgs e)


{
txtResultado.Text += "*";
}

private void button26_Click(object sender, EventArgs e)


{
txtResultado.Text += "/";
}

private void button27_Click(object sender, EventArgs e)


{
txtResultado.Text += "+";
}

private void button28_Click(object sender, EventArgs e)


{
txtResultado.Text += "-";
}

}
}

Você também pode gostar