Exemplo n.º 1
0
        private Cell GroupControl(string type)
        {
            Cell cell = null;

            switch (type.ToLower())
            {
            case "groupobject":
                cell = new GroupObject();
                break;

            case "calculategroupobject":
                cell = new CalculateGroupObject();
                break;

            case "algorithmgroupobject":
                cell = new AlgorithmGroupObject();
                break;
            }
            return(cell);
        }
Exemplo n.º 2
0
 public AlgorithmGroupObject(AlgorithmGroupObject groupobject) : base(groupobject)
 {
     _algorithm      = groupobject.Algorithm;
     _calculateindex = groupobject.CalculateIndex;
     _formatstring   = groupobject.FormatString;
 }