public ActionItemInstance(ReportProcessing.ProcessingContext pc, ActionItem actionItemDef)
        {
            ParameterValueList drillthroughParameters = actionItemDef.DrillthroughParameters;

            if (drillthroughParameters != null)
            {
                this.m_drillthroughParametersValues = new object[drillthroughParameters.Count];
                this.m_drillthroughParametersOmits  = new BoolList(drillthroughParameters.Count);
                this.m_dataSetTokenIDs = new IntList(drillthroughParameters.Count);
                for (int i = 0; i < drillthroughParameters.Count; i++)
                {
                    if (drillthroughParameters[i].Value != null && drillthroughParameters[i].Value.Type == ExpressionInfo.Types.Token)
                    {
                        this.m_dataSetTokenIDs.Add(drillthroughParameters[i].Value.IntValue);
                    }
                    else
                    {
                        this.m_dataSetTokenIDs.Add(-1);
                    }
                }
            }
        }
 public SubReport(int id, ReportItem parent)
     : base(id, parent)
 {
     this.m_parameters = new ParameterValueList();
 }
Esempio n. 3
0
 public ActiveXControl(int id, ReportItem parent)
     : base(id, parent)
 {
     this.m_parameters = new ParameterValueList();
 }