Пример #1
0
        private void buttonMult_Click(object sender, EventArgs e)
        {
            if (CanPress())
            {
                calc.Put_A(Convert.ToDouble(labelNumber.Text));

                buttonMult.Enabled = false;

                labelNumber.Text = "0";
            }
        }
Пример #2
0
 private void buttonMul_Click(object sender, EventArgs e)
 {
     if (Press())
     {
         C.Put_A(Convert.ToDouble(label1.Text));
         buttonMul.Enabled = false;
         label1.Text       = "0";
     }
 }