Example #1
0
        private void ButtonFibonachi_Click(object sender, RoutedEventArgs e) // число из последовательности фибовани
        {
            a = Convert.ToDouble(textBoxA.Text);

            result             = FactorialFibonachi.Fibonachi(a);
            textBoxResult.Text = result.ToString();
        }
Example #2
0
        private void ButtonFactorial_Click(object sender, RoutedEventArgs e) // факториал числа а
        {
            try
            {
                a = Convert.ToDouble(textBoxA.Text);

                result             = FactorialFibonachi.Factorial(a);
                textBoxResult.Text = result.ToString();
            }
            catch (Exception ex)
            {
            }
        }