PDA

View Full Version : پرينت بدون استفاده از دكمه crstal viewwer



sarbazi
یک شنبه 17 اردیبهشت 1391, 12:02 عصر
سلام دوستان مي خواهم در برنامه ام دكمه بزارم آنچه در كريستال ويوير هست را چاپ كند و از دكمه بالاي كريستال ويور استفاده نكنم

sarbazi
یک شنبه 17 اردیبهشت 1391, 12:56 عصر
كسي نيست كمكم كنه

Mahmoud Zaad
یک شنبه 17 اردیبهشت 1391, 15:54 عصر
سلام
کدهای دکمه های تولبار کریستال ریپورت ویور:


//baraye print
crystalReportViewer1.PrintReport();
//barye export be pdf,doc,xls,...
crystalReportViewer1.ExportReport();
//baraye refreshe report
crystalReportViewer1.RefreshReport();
//barye namayesh safheye ba'ad, akhar, aval, qabl
crystalReportViewer1.ShowNextPage();
crystalReportViewer1.ShowLastPage();
crystalReportViewer1.ShowFirstPage();
crystalReportViewer1.ShowPreviousPage();
//namayesh safhe 12
crystalReportViewer1.ShowNthPage(12);
//zoom
crystalReportViewer1.Zoom(50);
//jostejoo
crystalReportViewer1.SearchForText("My Text");
//namayesh dokmeye close dar tool bar
crystalReportViewer1.ShowCloseButton = false
;