Beispiel #1
0
 void Calculation_Failed(object sender, ScreenUpdatedEventArgs e)
 {
     lblScreen.Text  = e.DisplayText;
     _isInErrorState = true;
 }
Beispiel #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;
 }