private void equal_Click(object sender, EventArgs e) { In_valR = double.Parse(textBox1.Text); Culc cul = new Culc(ope, In_val, In_valR); textBox1.Text = Convert.ToString(cul.DoCulc()); ope = ""; Numin = false; }
public void OpeInChk(string ope) { if (ope != "") { In_valR = double.Parse(textBox1.Text); Culc cul = new Culc(ope, In_val, In_valR); textBox1.Text = Convert.ToString(cul.DoCulc()); } Numin = false; }