Exemplo n.º 1
0
        private void Rascher_Button_Click(object sender, RoutedEventArgs e)
        {
            double p = Convert.ToDouble(TextBoxPole.Text.Trim());

            p = 11;
            List <double> arraydivider  = new List <double>();
            List <double> arraydividend = new List <double>();

            Converter_PolinomClass converter_PolinomClass = new Converter_PolinomClass();

            arraydivider       = converter_PolinomClass.Converter(list_Reciprocal_divider_Class);
            arraydividend      = converter_PolinomClass.Converter(list_Reciprocal_dividend_Class);
            TextBoxResult.Text = PolinomBool.PolinomResulter(arraydivider, arraydividend, p, CheckBox_EXCEL.IsChecked);
        }
Exemplo n.º 2
0
        private void Test_Click2(object sender, RoutedEventArgs e)
        {
            if (TextBoxPole2.Text == "")
            {
                MessageBox.Show("Поле пустое");
            }
            else
            {
                #region//правая часть
                double p = Convert.ToDouble(TextBoxPole2.Text.Trim());
                //p = 11;
                List <double> arraydivider  = new List <double>();
                List <double> arraydividend = new List <double>();

                Converter_PolinomClass converter_PolinomClass = new Converter_PolinomClass();

                arraydivider       = converter_PolinomClass.Converter(list_Reciprocal_divider_Class);
                arraydividend      = converter_PolinomClass.Converter(list_Reciprocal_dividend_Class);
                TextBoxResult.Text = PolinomBool.PolinomResulter(arraydivider, arraydividend, p, CheckBox_EXCEL.IsChecked);
                #endregion
            }
        }