Esempio n. 1
0
        private void UpdateItems()
        {
            _updating = true;
            c1FlexGrid1.Rows.RemoveRange(1, c1FlexGrid1.Rows.Count - 1);

            var functions = _engine.GetExpressionItems().Where(x => x.ItemType > ItemType.Operator);

            int idx = 1;

            foreach (var function in functions)
            {
                var row = c1FlexGrid1.Rows.Add();
                row[0] = idx++;
                row[1] = function.Syntax;
                row[2] = function.Description;
            }
            _updating = false;

            c1FlexGrid1.Row = 1;
        }