摘要:
坑爹的PrintDialog 其实并没有队PageRange这个属性做处理。自己处理一下~publicclassPrintDialogWithPageRange:PrintDialog{publicnewvoidPrintDocument(DocumentPaginatordoc,stringdesp){if(this.PageRangeSelection==PageRangeSelection.AllPages){base.PrintDocument(doc,desp);}else{stringtimeStamp=DateTime.Now.DayOfYear.ToString()+DateT 阅读全文