public DnevniPrihodiKategorijeIzvestaj(DateTime dat) { datum = dat.Date; System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager("Soko.Resources.PreviewResursi", this.GetType().Assembly); Title = resourceManager.GetString("prihodi_izvestaj_dnevni_kategorije_title"); SubTitle = datum.ToShortDateString(); DocumentName = Title; Font itemFont = new Font("Times New Roman", 15); Font itemsHeaderFont = new Font("Times New Roman", 12); lista = new DnevniPrihodiKategorijeLista(datum, this, 1, 0f, itemFont, itemsHeaderFont); createFormats(); createFonts(); }
public DnevniPrihodiKategorijeIzvestaj(DateTime dat, List <Grupa> grupe, FinansijskaCelina finCelina) { datum = dat.Date; this.grupe = grupe; this.finCelina = finCelina; System.Resources.ResourceManager resourceManager = new System.Resources.ResourceManager("Soko.Resources.PreviewResursi", this.GetType().Assembly); Title = resourceManager.GetString("prihodi_izvestaj_dnevni_kategorije_title"); SubTitle = datum.ToShortDateString(); DocumentName = Title; Font itemFont = new Font("Times New Roman", 15); Font itemsHeaderFont = new Font("Times New Roman", 12); lista = new DnevniPrihodiKategorijeLista(datum, grupe, this, 1, 0f, itemFont, itemsHeaderFont); createFormats(); createFonts(); }