private void PrintNetSalary(object sender, MouseButtonEventArgs e) { WPF2PDF.CreateAndOpenPDF(ref NetSalaryGrd, "Net Salary"); }
private void PrintReport(object sender, MouseButtonEventArgs e) { //FrameworkElement rpt = (FrameworkElement)DailyReportGD; //PrintClass.Print(ref rpt); WPF2PDF.CreateAndOpenPDF(ref DailyReportGD, "AccountSummary"); }