private void Variable_Y_Click(object sender, RoutedEventArgs e) { if (DefineXY.IsChecked == true) { Y = Answer; Y_Text.Text = "X = " + Y.ToString(); } else { TermDisplay.AppendText(Y.ToString()); } }
private void Divide_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("/"); }
private void Multiply_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("*"); }
private void Subtract_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("-"); }
private void Add_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("+"); }
private void Digit_0_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("0"); }
private void Faculty_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("!"); }
private void RightBracket_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText(")"); }
private void RootOf_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("V"); }
private void PowerrOf_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("^"); }
private void Negative_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText("-"); }
private void Decimalpoint_Click(object sender, RoutedEventArgs e) { TermDisplay.AppendText(","); }