3
Answers

After print close printdialog form

Israel

Israel

3y
907
1

Hi Sirs,

I have a form that a reportviewer is ont it. Then I would like to see that the dialogPrintBox close after printing.

Then see what I wrote into the print event:

               printForm1.Form = this;
                if (pd.ShowDialog() == DialogResult.OK)
                    printForm1.PrinterSettings = pd.PrinterSettings;
                printForm1.Close();

 

Answers (3)