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);
        }
Example #2
0
 public AlgorithmGroupObject(AlgorithmGroupObject groupobject) : base(groupobject)
 {
     _algorithm      = groupobject.Algorithm;
     _calculateindex = groupobject.CalculateIndex;
     _formatstring   = groupobject.FormatString;
 }