1.

You use Visual Studio .NET to create a Windows-based application. The application includes a form named XYZProcedures (EXP). EXP allows users to enter very lengthy text into a database. When users click the Print button located on EXP, this text must be printed by the default printer._x005F_x000D_  _x005F_x000D_ You implement the printing functionality by using the native .NET System Class Libraries with all default settings._x005F_x000D_  _x005F_x000D_ Users report that only the first page of the text is being printed._x005F_x000D_ How should you correct this problem?

A. In the BeginPrint event, set the HasMorePages property of the PrintEventArgs object to True.
B. In the EndPrint event, set the HasMorePages property of the PrintEventArgs object to True.
C. In the PrintPage event, set the HasMorePages property of the PrintPageEventArgs object to True.
D. In the QueryPageSettings event, set the HasMorePages property of the QueryPageSettingEventArgs object to True.
Answer» D. In the QueryPageSettings event, set the HasMorePages property of the QueryPageSettingEventArgs object to True.


Discussion

No Comment Found