예제 #1
0
 /// <summary>
 /// Constructor of the class
 /// </summary>
 public CalcBackend(TextBlock displ)
 {
     display             = displ;
     Math                = new Math_Library.Math();
     insert_mode         = true;
     operand1            = 0;
     firstTime_click     = true;
     was_firstTime_click = false;
     lastOperator        = "";
     display.Text        = "0";
 }