Exemplo n.º 1
0
 void Calculation_Failed(object sender, ScreenUpdatedEventArgs e)
 {
     lblScreen.Text  = e.DisplayText;
     _isInErrorState = true;
 }
Exemplo n.º 2
0
 // First two methods are eventhandlers for when the backing calculator is done
 void Calculation_Succeeded(object sender, ScreenUpdatedEventArgs e)
 {
     lblScreen.Text = e.DisplayText;
 }