Ejemplo n.º 1
0
 /// <summary>
 /// Handles the Click event of the Result control.
 /// </summary>
 /// <param name="sender">The source of the event.</param>
 /// <param name="e">The <see cref="EventArgs"/> instance containing the event data.</param>
 protected void Result_Click(object sender, EventArgs e)
 {
     using (var service = new CalculatorServiceClient())
     {
         tbResult.Text = service.CalculateValue(tbResult.Text);
     }
     CanAppendText    = false;
     CanAppendCommand = true;
     CanTrimLast      = false;
 }