Пример #1
0
        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;
        }
Пример #2
0
 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;
 }