示例#1
0
 //Задать фигуру
 public void SetShape(Shape shape)
 {
     Shape = shape;
     if (shape.Type == MsoShapeType.msoGroup)
     {
         var parsing = new ShapeViewParsing();
         Node    = (ProgNode)parsing.Parse(Shape, Formula);
         ErrMess = parsing.Keeper.ErrMess;
     }
 }
示例#2
0
        private void ButCondition_Click(object sender, EventArgs e)
        {
            var parsing = new ShapeViewParsing();

            Result.Text = parsing.Parse(null, Formula.Text).ToTestString();
            if (!parsing.Keeper.ErrMess.IsEmpty())
            {
                Result.Text += parsing.Keeper.ErrMess;
            }
        }