'Declaration Public ReadOnly Property Document As PrintDocument
public PrintDocument Document {get;}
'Declaration Public ReadOnly Property Document As PrintDocument
public PrintDocument Document {get;}
// print the report to the default printer _c1r.Document.Print(); // show the report in a PrintPreviewDialog PrintPreviewDialog p = new PrintPreviewDialog(): p.Document = _c1r.Document; p.ShowDialog();