PrintDialog printDialog1 = new PrintDialog(); printDialog1.UseEXDialog = true; printDialog1.AllowSomePages = true; printDialog1.AllowSelection = true; printDialog1.AllowPrintToFile = false; printDialog1.AllowCurrentPage = true; printDialog1.Document = printDocument1; if (printDialog1.ShowDialog() == DialogResult.OK) { NatP(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)