相关考题

单项选择题 You are creating a Windows Forms application that has the print functionality by using the .NET Framework 3.5. You implement the PrintPage page event for the form.You associate an instance of the PrintDocument control along with an instance of the PrintPreviewDialog control named prevDialog1.You want to set the default size of the PrintPreviewDialog class to full screen.   You need to provide a print preview for the user by adding a code segment to the Click event of the button on the form.   Which code segment should you use?()

单项选择题 You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application.You add a PrintDocument control named pntDoc to the form.To support the print functionality, you write the following code segment in the application  (Line numbers are included for reference only.) You need to ensure that the following requirements are met:  (1)When the user has no print access, font and file stream initializations are not executed and the print operation is cancelled   (2)Print operations are logged whether or not the user has print access    What should you do?()

单项选择题 YouarecreatingaWindowsFormsapplicationbyusingthe.NETFramework3.5Theapplicationisusedbyafinancialserviceprovider.YoudiscoverthattheserviceprovidertransferslargeamountsofdatabyusingXML.YouneedtoreadandvalidatetheXMLdocumentsinthemosttimeefficientmanner.Whichtechnologyshouldyouuse?()