public static void ShowReport(DependencyObject sender, string Title, string path, DataTable table, IEnumerable <ReportParameter> r, SPrint.Duplex duplex = SPrint.Duplex.Simplex,
                               bool PreviewPrint = true)
 {
     ShowReport(sender, Title, path, null, new DataTable[] { table }.AsEnumerable(), r, duplex, PreviewPrint);
 }