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

            PrintClass.Print(ref rpt);
        }
Ejemplo 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);
        }
Ejemplo n.º 3
0
        private void PrintReport(object sender, MouseButtonEventArgs e)
        {
            FrameworkElement rpt = (FrameworkElement)LayoutRoot;

            PrintClass.Print(ref rpt);
        }