private void Add_btn_Click(object sender, EventArgs e)
 {
     Op_lbl.Text  = Add_btn.Text;
     Lhs_lbl.Text = textBox1.Text;
     Tape_txtBox.AppendText(Lhs_lbl.Text + "\n");
     textBox1.Clear();
     calc.Addition_entered();
 }
示例#2
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 + "+";
        }