Exemplo n.º 1
0
        public void Draws()
        {
            BuildGraph      buildGraph      = new BuildGraph(pictureBox1.Height, pictureBox1.Width, pictureBox1, 26);
            EquationConvert equationConvert = new EquationConvert(Funcion);
            List <string>   ter             = equationConvert.GetArrayEquationConvert();

            labelEquation.Text = string.Join(":", ter);
        }
Exemplo n.º 2
0
        private void ExtractRootStrings()
        {
            string pattern1 = @"sqrt[(](x?|[0-9]{0,})(x?|[0-9]{0,2}).+[)]$";
            Regex  rg       = new Regex(pattern1);
            Match  mt       = rg.Match(Equation);

            if (mt.Success)
            {
                string t = mt.Value;
                Equation = Equation.Replace(t, "");
                MessageBox.Show(Equation);
                EquationConvert eq = new EquationConvert("dont start");
                eq.MethodAdd(t);
            }
            ///////////////////
        }