Question from the C# Winforms test

How to make a dialog box full screen in C#

Medium

You are creating a Windows Forms application that implements the printing feature using the .NET Framework. You implement the form's PrintPage event by associating an instance of PrintDocument to an instance of the PrintPreviewDialog control named prevDialog1. You want to set the default size of the PrintPreviewDialog to full screen.

You must provide a print preview to the user by adding a code segment to the Click event of the button on the form. What code segment should you use?

Author: Guillaume BroutStatus: PublishedQuestion passed 213 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!