private void Button_Click_Backspace(object sender, RoutedEventArgs e)
 {
     if (InputBox.Text.Length > 0)
     {
         CalcController.OverwriteInput(
             InputBox.Text.Remove(InputBox.Text.Length - 1)
             );
     }
 }
 private void Button_Click_Factorial(object sender, RoutedEventArgs e)
 {
     // Also factorial max out at 3500... Because anything higher breaks stuff (I.e. that loop down their loops many many many times. Also overflows so)
     if (CalcController.InputBoxIsNotEmpty(InputBox) && int.Parse(InputBox.Text) > 3500)
     {
         CalcController.OverwriteInput("NaN");
     }
     else if (CalcController.CanPlaceOperator())
     {
         CalcController.AddTextOperatorBox("", $"!({InputBox.Text})");
         CalcController.ClearInputBox();
     }
 }
        private void Button_Click_Equals(object sender, RoutedEventArgs e)
        {
            var equation = OperationBox.Text + InputBox.Text;

            var result = CalcController.CalculateResult(equation);

            if (result != null)
            {
                CalcController.OverwriteInput(result);
                CalcController.ClearOperationBox();
            }
            else
            {
                CalcController.ClearAll();
            }
        }