doc.PageSetting.Landscape = True Doc.PageSetting.LeftMargin = 2 '设置左边距 Doc.PageSetting.RightMargin = 2 '设置右边距 Doc.PageSetting.TopMargin = 5 '设置上边距 Doc.PageSetting.BottomMargin = 5 '设置下边距 PopMessage("因数计算量大,正在为您生成生报,请耐心等待!","请耐心等待...", PopIconEnum.Infomation,10) For Each region As String() In Regions rm = new prt.RenderEmpty '定义一个新的空对象 rm.BreakBefore = prt.BreakEnum.Page '打印前换页 老师,请问如做了个PopMessage,但在报表预览时,当popmessage关时预窗口也自动关闭了,这怎么办
|