Dumps4cert.com : Latest Dumps with PDF and VCE Files
2018 May Microsoft Official New Released 98-362
100% Free Download! 100% Pass Guaranteed!
Windows Development Fundamentals
Question No: 21
You need to display the contents of an Array List in a ListBox control. Which property should you set?
-
DisplayMember
-
ValueMember
-
Dataltems
-
DataSource
Answer: D
Question No: 22
An application uses the Debug.Write() method to output debugging messages. What will happen when you attempt to compile the application in Release mode?
-
All Debug.Write() lines will continue to output messages to a log file.
-
The compiler will ignore all lines that contain a call to Debug.Write().
-
The compiler will display an error for each call to Debug.Write().
-
All Debug.Write() lines will continue to output messages to a hidden window.
Answer: B
Question No: 23
A Windows Forms application contains three forms named BaseForm, ChildFormA, and ChildFormB. BaseForm contains a protected butto named btnHello whose background color is gray. ChildFormA and ChildFormB both inherit from BaseForm.
You set the background color of btnHello on ChildFormA to red.
On which form or forms will the background color of btnHello be changed to red?
-
ChildFormA only
-
ChildFormA and ChildFormB
-
ChildFormB only
-
ChildFormA, ChildFormB, and BaseForm
-
ChildFormA and BaseForm
Answer: A
Question No: 24
Which Windows Forms control allows the user to select multiple items?
-
ListBox
-
RadioButton
-
NumericUpDown
-
ComboBox
Answer: A
Question No: 25
A modal form is invoked by:
-
PerformLayout()
-
ShowDialog()
-
BringToFront()
-
Show()
Answer: B
Question No: 26
A Windows form contains two buttons. When the buttons are clicked, both buttons must execute CodeBlockA.
You need to ensure that you can add new buttons to the form that will execute CodeBlockA when they are clicked.
What should you do?
-
Create an interface that all buttons implement.
-
Create the new buttons by using Copy and Paste in the form designer.
-
Create a base class that all buttons inherit from.
-
Create a shared Click event handler for all buttons.
Answer: D
Question No: 27
A Windows Forms application is written in VB.NET.
You need to keep all existing code and add new features in C*. What should you do?
-
Add a directory to the existing VB.NET project. Place the new C# files in this directory.
-
Add the new C# code to the existing VB.NET source files.
-
Add the new C# files to the existing VB.NET project.
-
Add a C# project to the existing solution. Place the new C# files in this project.
Answer: D
Question No: 28
When is the Load event of a Windows form fired?
-
Every time the form is restored from the minimized state
-
The first time the form is displayed
-
Every time the form is displayed
-
The first time an instance of the form is created
Answer: B
Question No: 29
You add an installer to a Windows Services application. Which class provides the installation functionality?
-
GroupInstaller
-
ProjectInstaller
-
OutputInstaller
-
ServiceGroupInstaller
Answer: B
Question No: 30
You place a button in the bottom-right corner of an empty Windows Form.
You need to ensure that the button stays in the bottom-right corner of the form if the form is resized.
Which property should you set on the button?
-
Dock
-
AutoSize
-
Anchor
-
Location
Answer: A
100% Dumps4cert Free Download!
–Download Free Demo:98-362 Demo PDF
100% Dumps4cert Pass Guaranteed!
–98-362 Dumps
Dumps4cert | ExamCollection | Testking | |
---|---|---|---|
Lowest Price Guarantee | Yes | No | No |
Up-to-Dated | Yes | No | No |
Real Questions | Yes | No | No |
Explanation | Yes | No | No |
PDF VCE | Yes | No | No |
Free VCE Simulator | Yes | No | No |
Instant Download | Yes | No | No |