'宣言 Public ReadOnly Property Document As System.Drawing.Printing.PrintDocument
public System.Drawing.Printing.PrintDocument Document {get;}
'宣言 Public ReadOnly Property Document As System.Drawing.Printing.PrintDocument
public System.Drawing.Printing.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();