public void PrintGrid(object param, string fileID, string firstName, string lastName, string assignedAttorney)
        {
            try
            {
                PrintDialog printDialog = new PrintDialog();

                if (printDialog.ShowDialog() == false)
                    return;

                string documentTitle = "Client Billing Report";
                Size pageSize = new Size(printDialog.PrintableAreaWidth, printDialog.PrintableAreaHeight);

                BillingReportPrinter paginator = new BillingReportPrinter(param as DataGrid, documentTitle, pageSize, new Thickness(30, 20, 30, 20), fileID, firstName, lastName, assignedAttorney);
                printDialog.PrintDocument(paginator, "Grid");
            }
            catch (Exception ex)
            {
                Helper.LogException(ex);
            }
        }
        public void PrintGrid(object param, string fileID, string firstName, string lastName, string assignedAttorney)
        {
            try
            {
                PrintDialog printDialog = new PrintDialog();

                if (printDialog.ShowDialog() == false)
                {
                    return;
                }

                string documentTitle = "Client Billing Report";
                Size   pageSize      = new Size(printDialog.PrintableAreaWidth, printDialog.PrintableAreaHeight);

                BillingReportPrinter paginator = new BillingReportPrinter(param as DataGrid, documentTitle, pageSize, new Thickness(30, 20, 30, 20), fileID, firstName, lastName, assignedAttorney);
                printDialog.PrintDocument(paginator, "Grid");
            }
            catch (Exception ex)
            {
                Helper.LogException(ex);
            }
        }