Esempio n. 1
0
        private void PrintReport(object sender, MouseButtonEventArgs e)
        {
            // WPF2PDF.CreateAndOpenPDF(ref DailyReportGD, "PayrollItemBreakDown");
            FrameworkElement rpt = (FrameworkElement)DailyReportGD;

            PrintClass.Print(ref rpt);
        }
Esempio n. 2
0
        private void PrintDeductions(object sender, MouseButtonEventArgs e)
        {
            //FrameworkElement rpt = (FrameworkElement)DailyReportGD;
            // WPF2PDF.CreateAndOpenPDF(ref DailyReportGD, "BranchEmployeeInstitutions");
            //if (DeductionsGrid.PrintCommand.CanExecute(DeductionsGrid))
            //DeductionsGrid.PrintCommand.Execute(DeductionsGrid);

            FrameworkElement rpt = (FrameworkElement)DailyReportGD;

            PrintClass.Print(ref rpt);
        }
Esempio n. 3
0
        private void PrintReport(object sender, MouseButtonEventArgs e)
        {
            FrameworkElement rpt = (FrameworkElement)LayoutRoot;

            PrintClass.Print(ref rpt);
        }