PrepAway - Latest Free Exam Questions & Answers

Category: 70-553

Exam 70-553: UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise Application Developer by Using the Microsoft .NET Framework: Part 1

Which code segment should you use?

You are customizing a Windows Form to update a database asynchronously by using an instance of a BackgroundWorker component named bgwExecute. You start the component by using the following code.

Private Sub StartBackgroundProcess()
AddHandler bgwExecute.DoWork, _
New DoWorkEventHandler(AddressOf WorkHandler)
AddHandler bgwExecute.RunWorkerCompleted, _
New RunWorkerCompletedEventHandler(AddressOf _
CompletedHandler)
AddHandler bgwExecute.ProgressChanged, _
New ProgressChangedEventHandler(AddressOf ProgressChanged) bgwExecute.RunWorkerAsync()
End Sub

If the UpdateDB method that is called by the BackgroundWorker component returns the value False, you need to display a message box to the user that indicates that the update failed. Which code segment should you use?

Which code segment should you use to format the columns at run time?

You are creating a Windows Form. You add a TableLayoutPanel control named pnlLayout to the form. You set the properties of pnlLayout so that it will resize with the form. You need to create a three-column layout that has fixed left and right columns. The fixed columns must each remain 50 pixels wide when the form is resized. The middle column must fill the remainder of the form width when the form is resized. You add the three columns in the designer. Which code segment should you use to format the columns at run time?

What should you do?

You are creating a Windows Forms application. You set the FlatAppearance.MouseOverBackColor property of a button to Blue. When testing the application, you notice that the background color does not change when you move the pointer over the button. You need to set the properties of the button so that the background color for the button changes to blue when the pointer moves over the button. What should you do?

Which two actions should you perform?

You are creating a Windows Forms application. You add an ErrorProvider component named erpErrors and a DateTimePicker control named dtpStartDate to the application. The
application also contains other controls. You need to configure the application to display an error notification icon next to dtpStartDate when the user enters a date that is greater than today’s date. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)


Page 4 of 10« First...23456...10...Last »