printPreviewDialog question

Hello

printPreviewDialog1 is great for quiacky adding a print preview. But this form always loads with the default .net icon.

1) How can I change the icon of this form
2) I would like it, that the user is somehow able to select the quantity when they are printing the labels. In my current setup when the user clicks the print button on this form, one document is simply printed. I would like it if I could set the properties from the print preview page. Is that possible? Or atleast a printer setup dialog to load up, rather than the documnet just being printed
auk_ieAsked:
Who is Participating?
 
s_sansanwalConnect With a Mentor Commented:
answer to 1

                  this.printPreviewDialog1.Icon = this.Icon; // add this line
                  this.printPreviewDialog1.ShowDialog();

believe me, it really works

S Sansanwal
0
 
123654789987Connect With a Mentor Commented:
Use the following link for showing printPreviewDialog

http://www.c-sharpcorner.com/winforms/texteditor.asp

0
 
armoghanCommented:
this is how to customize the printPreviewDialog

http://www.dotnet247.com/247reference/msgs/48/243222.aspx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.