Esempio n. 1
0
        public void CreatePDFMonatCommand_Click()
        {
            SortableBindingList <MStunden> result = new SortableBindingList <MStunden>();

            Dialog.DMonatsAuswahl dm = new Dialog.DMonatsAuswahl();
            if (dm.ShowDialog() == true)
            {
                foreach (MStunden std in ValueStunden)
                {
                    string[] r = std.Start.Split('.');
                    if (r[1] == dm.Month)
                    {
                        result.Add(std);
                    }
                }
            }
            PDFStunden pdf = new PDFStunden(FinalName: Selected.VName + "_" + Selected.NName);

            pdf.CreateTableStundenNachweiß(ref result, Selected.FullName);
        }
Esempio n. 2
0
        public void CreatePDFCommand_Click()
        {
            PDFStunden pdf = new PDFStunden(FinalName: Selected.VName + "_" + Selected.NName);

            pdf.CreateTableStundenNachweiß(ref _ValueStunde, Selected.FullName);
        }