Ejemplo n.º 1
0
 private void btnCalc_Click(object sender, EventArgs e)
 {
     btnOperationClick = true;
     if (isReadyForCalc())
     {
         setSecondNumber();
         Calculation calc = new Calculation(firstNumber, secondNumber, operation);
         clearResultsDisplay();
         setResultsDisplay(calc.getResult().ToString());
     }
 }