سلام
چطور باید پنجره Page Setup رو تو برنامه ی خودم که به زبان سی شارپ هست نمایش بدم؟
ممنون :hmmsmiley02:
0
سلام
با کنترل PageSetupDialog
0
همین کارو کردم ولی با pageSetupDialog1.ShowDialog(); خطا میده
0
سلام
اول باید تنظیمات رو ست کنید بعد اون رو نمایش بدید
// Initialize the dialog's PrinterSettings property to hold user
// defined printer settings.
PageSetupDialog1.PageSettings = new System.Drawing.Printing.PageSettings();
// Initialize dialog's PrinterSettings property to hold user
// set printer settings.
PageSetupDialog1.PrinterSettings = new System.Drawing.Printing.PrinterSettings();
//Do not show the network in the printer dialog.
PageSetupDialog1.ShowNetwork = false;
//Show the dialog storing the result.
DialogResult result = PageSetupDialog1.ShowDialog();
سوال برنامه نویسی دارید؟
ندونستن عیب نیست، نپرسیدن چرا!