public AktivniClanoviGrupeIzvestaj(DateTime from, DateTime to, List<Grupa> grupe) { this.fromDate = from.Date; this.toDate = to.Date; this.grupe = grupe; System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager("Soko.Resources.PreviewResursi", this.GetType().Assembly); Title = resourceManager.GetString("akt_clan_izvestaj_title") + " po grupama"; SubTitle = fromDate.ToShortDateString() + " - " + toDate.ToShortDateString(); DocumentName = Title; ukupnoClanovaCaptionFont = new Font("Arial", 10); ukupnoClanovaBrojFont = new Font("Courier New", 10, FontStyle.Bold); Font itemFont = new Font("Courier New", 9); Font itemsHeaderFont = null; Font groupTitleFont = new Font("Courier New", 10, FontStyle.Bold); lista = new AktivniClanoviGrupeLista(fromDate, toDate, grupe, this, 1, 0f, itemFont, itemsHeaderFont, groupTitleFont); }
public AktivniClanoviGrupeIzvestaj(DateTime from, DateTime to, List <Grupa> grupe, FinansijskaCelina finCelina) { this.fromDate = from.Date; this.toDate = to.Date; this.finCelina = finCelina; System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager("Soko.Resources.PreviewResursi", this.GetType().Assembly); Title = resourceManager.GetString("akt_clan_izvestaj_title") + " po grupama"; SubTitle = fromDate.ToShortDateString() + " - " + toDate.ToShortDateString(); DocumentName = Title; ukupnoClanovaCaptionFont = new Font("Arial", 10); ukupnoClanovaBrojFont = new Font("Courier New", 10, FontStyle.Bold); Font itemFont = new Font("Courier New", 9); Font itemsHeaderFont = null; Font groupTitleFont = new Font("Courier New", 10, FontStyle.Bold); lista = new AktivniClanoviGrupeLista(fromDate, toDate, grupe, this, 1, 0f, itemFont, itemsHeaderFont, groupTitleFont); }