Israel

Israel

  • 1k
  • 1.3k
  • 166.3k

After print close printdialog form

Jun 25 2021 7:57 PM

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)