Windows Develop Bookmark and Share   
 index > Windows Forms General > PrintPreviewDialog
 

PrintPreviewDialog

Hi
I write a class for print my form.
wen user click in PrintButton im form show printPreviewDialog that preview data of form
but i want :when user click in PrintButton in PrintPreviewDialog showing PrintDialog no printed the form
i can't do it
thanks
H.Aftabi  Wednesday, October 07, 2009 3:21 PM
Khanna Gaurav  Wednesday, October 07, 2009 5:29 PM
Inherit the PrintPreviewDialog and remove the button.
JohnWein  Thursday, October 08, 2009 9:25 AM
Hi
I write a class that ,in end of it i can use one of these : PrintPreviewDialog or PrintDialog ,
but i want show printPreviewDialog after click on btnPrint and after preview document when click in button print in top of Preview(it's default by .Net)
i can see Print dialio while when click in button Print in top of printPreviewDialog direct start printing without show PrintDialog
good now i want when click on print Button in top of PrintPreviewDialog show PrintDialog
thanks
H.Aftabi  Thursday, October 08, 2009 10:32 AM
Hi
when set points of text in print documents and set DefaultPagewSetting.LandScape to true me document printing currect but i must rotate my paper :if set landscape to false papre in printPreview rotate but my worde do n't rotate
what can i do?
thanks
H.Aftabi  Thursday, October 08, 2009 10:36 AM
Add PrintDialog.ShowDialog to the print ToolStripItem's MouseDown  event.
JohnWein  16 hours 56 minutes ago

You can use google to search for other answers

Custom Search

More Threads

• windows live gallary style form
• Should I use provider Parameter.DbType's
• MDI Validating
• datagridview
• I need ideas for Flip3D and GDI+
• Converting DataGridview Alignment to StringAlignment
• How to change window type
• sending FTP command to get file list
• Creating objects from .dll files
• How to read a richtextbox's text but ignore the line begin with a remark(*)