private void MULTI_Click(object sender, EventArgs e) { Fnum = double.Parse(TEXTENT.Text); action = "*"; TEXTENT.Text = TEXTENT.Text + "*"; TEXTENT.Clear(); }
private void MINUS_Click(object sender, EventArgs e) { Fnum = Convert.ToDouble(TEXTENT.Text); action = "-"; TEXTENT.Text = TEXTENT.Text + "-"; TEXTENT.Clear(); }
private void PLUS_Click(object sender, EventArgs e) { Fnum = double.Parse(TEXTENT.Text); TEXTENT.Text += "+"; sNum += Fnum; action = "+"; TEXTENT.Clear(); }
private void CLEAR_Click(object sender, EventArgs e) { TEXTENT.Clear(); sNum = 0; Fnum = 0; }