Exemplo n.º 1
0
        private void Add_Click(object sender, EventArgs e)
        {
            string numberEntered = calculator.Number_entered(Convert.ToDouble(display.Text));

            resultValue       += numberEntered;
            display.Text       = calculator.Addition_entered();
            isNewNumberEntered = true;
            temp_History      += display.Text + "+";
        }
 private void number1_Click(object sender, EventArgs e)
 {
     textBox1.Text += number_1.Text;
     calc.Number_entered(double.Parse(textBox1.Text));
 }