Hi!
I seem to be missing something when using the PrintPreviewDia log.
On a form I have a monthCalendar which, at runtime, will display all
months of the year. Now I have routine for printing the calendar and it
works fine. However, when I try to bind this object to the
PrintPreviewDia log, the dialog is blank.
Can anybody guide me?
I have: PrintDocument(p Doc1) and PrintPreviewDia log(ppDlg1) components.
The code for the btnPreview is as follows:
PrintDocument pDoc1 = new PrintDocument() ;
PrintPreviewDia log ppDlg1 = new PrintPreviewDia log();
ppDlg1.Document = pDoc1;
ppDlg1.ShowDial og();
Now I guess I'm missing how to bind the calendar to the pDoc1, right?
I would be very happy if somebody can see the obvious mistake I'm
doing! :-)
Me.Name
I seem to be missing something when using the PrintPreviewDia log.
On a form I have a monthCalendar which, at runtime, will display all
months of the year. Now I have routine for printing the calendar and it
works fine. However, when I try to bind this object to the
PrintPreviewDia log, the dialog is blank.
Can anybody guide me?
I have: PrintDocument(p Doc1) and PrintPreviewDia log(ppDlg1) components.
The code for the btnPreview is as follows:
PrintDocument pDoc1 = new PrintDocument() ;
PrintPreviewDia log ppDlg1 = new PrintPreviewDia log();
ppDlg1.Document = pDoc1;
ppDlg1.ShowDial og();
Now I guess I'm missing how to bind the calendar to the pDoc1, right?
I would be very happy if somebody can see the obvious mistake I'm
doing! :-)
Me.Name
Comment