Windows Forms General
Can you explain a bit more please
To show the dialog:
PageSetupDialog psd = new PageSetupDialog();
if (psd.ShowDialog() == DialogResult.OK)
{
//they pressed the OK button. Now do something
}
There are also a few properties in there which you can get or set the values before showing the dialog. Take a look at this:
http://msdn2.microsoft.com/en-us/library/system.windows.forms.pagesetupdialog(VS.71).aspx
If you can explain more in depth on what you would like to do, you will get a better response :-)
The more detail the better it is for us to help.
To print your form, you would need the Draw on a page, the items you wish to print (PrintDocument)
http://msdn2.microsoft.com/en-us/library/system.drawing.printing.printdocument(VS.71).aspx
There is also an example in the link above with the documentation, it's not as easy as you may think but certainly very flexible on what you can print and how to print it on the page :-)
Hi,if you want to print graphics,please read this article.
http://www.codeproject.com/useritems/PrintBasics.asp
With Regards