//------------------------------<Operation Buttons>------------------------------ private void buttonOperation_Click(object sender, RoutedEventArgs e) { calculator.Operation(((Button)sender).Content.ToString()); textBlockDisplay.Text = calculator.Display; textBlockEquation.Text = calculator.Equation; }