Exemplo n.º 1
0
 public PageInfo(bool bshowdetail, int grouplevels)
 {
     _rowbalance = new RowBalance();
     _accumulate = new AccumulateData(grouplevels, bshowdetail);
     _balance    = new BalanceData(grouplevels, bshowdetail);
     _complex    = new ComplexData(grouplevels, bshowdetail);
     _pageindex  = 0;
 }
Exemplo n.º 2
0
 public PageInfo(int pageindex, PageInfo pi)
 {
     _pageindex = pageindex;
     if (pi.GlobalValues != null)
     {
         foreach (string key in pi.GlobalValues.Keys)
         {
             AddGlobal(key, pi.GlobalValues[key]);
         }
     }
     _rowbalance = new RowBalance(pi.RowBalance);
     pi.Accmulate.RestoreState();
     _accumulate = new AccumulateData(pi.Accmulate);
     pi.Balance.RestoreState();
     _balance = new BalanceData(pi.Balance);
     pi.Complex.RestoreState();
     _complex = new ComplexData(pi.Complex);
     _rawdata = pi.RawData;
 }
Exemplo n.º 3
0
 public RowBalance(RowBalance rb)
     : base(rb)
 {
     _startindex   = rb.StartIndex;
     _currnetindex = rb.CurrentIndex;
 }