Esempio n. 1
0
        private static FormContext NewList(params FormContext[] forms)
        {
            var list = new ListContext(null, 0);

            foreach (var element in forms)
            {
                list.AddChild(element);
                element.Parent = list;
            }
            var form = new FormContext(null, 0);

            form.AddChild(list);
            return(form);
        }