Ejemplo n.º 1
0
 private void square_root_Click(object sender, EventArgs e)
 {
     temp_History       = calculator.Number_entered(Convert.ToDouble(display.Text));
     display.Text       = calculator.Square_root_entered();
     isNewNumberEntered = true;
     history.Text      += "√ " + temp_History + "=" + display.Text + "\n";
     temp_History       = "";
 }
 private void Sqroot_btn_Click(object sender, EventArgs e)
 {
     Op_lbl.Text  = Sqroot_btn.Text;
     Lhs_lbl.Text = textBox1.Text;
     Tape_txtBox.AppendText(Lhs_lbl.Text + "\n");
     textBox1.Clear();
     calc.Square_root_entered();
     Ans_lbl.Text = calc.Equals().ToString();
 }