public AktivniClanoviIzvestaj(DateTime from, DateTime to) { fromDate = from.Date; toDate = to.Date; System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager("Soko.Resources.PreviewResursi", this.GetType().Assembly); Title = resourceManager.GetString("akt_clan_izvestaj_title"); SubTitle = fromDate.ToShortDateString() + " - " + toDate.ToShortDateString(); DocumentName = Title; Font itemFont = new Font("Courier New", 9); Font itemsHeaderFont = new Font("Courier New", 9); lista = new AktivniClanoviLista(fromDate, toDate, this, 1, 0f, itemFont, itemsHeaderFont); }
public AktivniClanoviIzvestaj(DateTime from, DateTime to, List <Grupa> grupe, FinansijskaCelina finCelina) { fromDate = from.Date; 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"); SubTitle = fromDate.ToShortDateString() + " - " + toDate.ToShortDateString(); DocumentName = Title; Font itemFont = new Font("Courier New", 9); Font itemsHeaderFont = new Font("Courier New", 9); lista = new AktivniClanoviLista(fromDate, toDate, grupe, this, 1, 0f, itemFont, itemsHeaderFont); }