Exemplo n.º 1
0
 protected override void DoInitialize_1_BeforeLoadData()
 {
     base.DoInitialize_1_BeforeLoadData();
     var collection = new ActCollection();
     collection.BindWithSteps(CreateManager<ActManager>().Controller.GetByOfficeEx(CurrentOffice.ID));
     dvReport.Report = new StepReport { DataSource = collection };
 }
Exemplo n.º 2
0
 protected override void DoInitialize_1_BeforeLoadData()
 {
     base.DoInitialize_1_BeforeLoadData();
     var collection = new ActCollection();
     List<Act> list = CreateManager<ActManager>().Controller.GetByOfficeEx(CurrentOffice.ID);
     collection.BindWithDocuments(list);
     var report = new ActMainReport
     {
         DataSource = collection,
         OfficeID = CurrentOffice.ID
     };
     dvReport.Report = report;
     dvReport.DataBind();
 }