//------------------------------<Clear Buttons>------------------------------ private void buttonClearAll_Click(object sender, RoutedEventArgs e) { calculator.ClearAll(); textBlockDisplay.Text = calculator.Display; textBlockEquation.Text = calculator.Equation; }