示例#1
0
 public Section() : base()
 {
     _cells        = new Cells();
     _sectionlines = new SectionLines();
     SetOrderID();
     SetSectionType();
 }
示例#2
0
 public Section(Section section) : base(section)
 {
     _orderid     = section.OrderID;
     _level       = section.Level;
     _sectiontype = section.SectionType;
     _cells       = section.Cells.Clone() as Cells;
     //_cells=new Cells();
     _sectionlines = new SectionLines();
     _x            = 0;
 }
示例#3
0
 protected Section(SerializationInfo info, StreamingContext context) : base(info, context)
 {
     _orderid      = info.GetInt32("OrderID");
     _sectiontype  = (SectionType)info.GetValue("SectionType", typeof(SectionType));
     _cells        = (Cells)info.GetValue("Cells", typeof(Cells));
     _x            = 0;
     _level        = info.GetInt32("Level");
     _sectionlines = new SectionLines();
     if (!ClientReportContext.bInServerProcess)
     {
         InterpretSectionCaption();
     }
 }
示例#4
0
 public override void Dispose()
 {
     if (_sectionlines != null)
     {
         _sectionlines.Dispose();
         _sectionlines = null;
     }
     if (_cells != null)
     {
         _cells.Dispose();
         _cells = null;
     }
     base.Dispose();
 }
        public IndicatorDetailBuilder(string viewid, IndicatorDetail indicatordetail, Detail detail, SemiRowsContainer semirowscontainer)
        {
            _viewid = viewid;
            indicatordetail.AsignToSectionLines();
            _currentcells = indicatordetail.Cells;
            _currentlines = indicatordetail.SectionLines;

            _detail            = detail;
            _detail.UnderState = ReportStates.Browse;
            _semirowscontainer = semirowscontainer;
            _rows = new Rows();

            for (int i = 0; i < _currentlines.Count; i++)
            {
                _newline = new SectionLine(_detail);
                _detail.SectionLines.Add(_newline);
            }

            _data = new DataSet();
        }