Example #1
0
        private void Digit_Click(object sender, RoutedEventArgs e)
        {
            var button = sender as Button;

            AddDigit(button.Content.ToString());
            Equals_btn.Focus();
        }
Example #2
0
        private void Operator_Click(object sender, RoutedEventArgs e)
        {
            var button = sender as Button;

            Operatation(button.Content.ToString());

            Equals_btn.Focus();
        }
Example #3
0
 private void Equals_Click(object sender, RoutedEventArgs e)
 {
     Equals();
     Equals_btn.Focus();
 }
Example #4
0
 private void ClearEntry_Click(object sender, RoutedEventArgs e)
 {
     ClearEntry();
     Equals_btn.Focus();
 }
Example #5
0
 private void Clear_Click(object sender, RoutedEventArgs e)
 {
     Reset();
     Equals_btn.Focus();
 }
Example #6
0
 private void Backspace_Click(object sender, RoutedEventArgs e)
 {
     Backspace();
     Equals_btn.Focus();
 }
Example #7
0
 private void DecimalSeparator_Click(object sender, RoutedEventArgs e)
 {
     AddSeparator(DecimalSeparator.Content.ToString());
     Equals_btn.Focus();
 }
Example #8
0
 private void Negate_Click(object sender, RoutedEventArgs e)
 {
     Negate();
     Equals_btn.Focus();
 }