Which of the following statements are TRUE?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You have recenty created an application, and cofigured it to have a composite user control. You
also configured the user control to have a TextBox control, named txtEntry. You then configure the
user control to be stored in a window, and include the following code in the constructor of the user
control:
AddHandler(TextBox.TextChangedEvent, new RoutedEventHandler(Audit_TextChanged), true);
Which of the following statements are TRUE? (Choose all that apply.)
Which combination of the following actions should you take?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
After developing an application, named ABCApp22, you configure a Button control and a
MenuItem control that will be hosted by a window. The Button control and the MenuItem control
have both been named Add.
You have configured the exact same RoutedCommand, named AddCommand, as the Command
properties of these two controls. You then write the code shown below:
Private void CanAdd (object sender, CanExecuteRoutedEventArgs e) { … }
You are then informed that the two controls should be disabled when the CanExecute property is
set to to false.
Which combination of the following actions should you take? (Choose all that apply.)
Which of the following actions should you take?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications. After developing a new application, named
ABCApp13, you include a custom class named ABCClient.
You have configured a new object data source, and also added a BindingSource component
named ABCclientBindingSource to a Windows Form. The ABCclientBindingSource component is
configured to be data-bound to the ABCClient data source.
You then configure the Windows form to have two TextBox controls for presenting and modifying
ABCClient. You have bound the data of these controls to its own ABCclientBindingSource
property. The Windows form is also configured to contain an ErrorProvider component, named
errorProvider. The data entries for the TextBox controls will be validated by the ErrorProvider
component.
You want to configure the validation process to occur automatically.
Which of the following actions should you take?
Which of the following options are TRUE with regards to the code?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications.
You have recently created a new application. You then wrote the code shown below:
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
Which of the following options are TRUE with regards to the code?
Which of the following actions should you take?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You are in the process of developing a new application, named ABCApp35, which has a server
assembly, as well as a partially trusted client assembly configured. After configuring customized
sandboxed application domain, you are required to make sure that you are able to run ABCApp35
in a partial-trust setting.
Which of the following actions should you take?
Which of the following options should you write?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications.
After creating a new client application, you configure a default form size in the UserScopedSetting
of the the ApplicationSettingsBase class.
Then application makes use of the Form1 type form, which includes a FormSettings object named
frmSettings1.
You have been instructed to write code that allows for the user’s preferred form size to be used
whenever the user opens the application.
Which of the following options should you write?
Which of the following options suitably represents the required code?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Forms applications.
You have been instructed to create a new application. The application must present a text
message requesting users to update their settings. This should occur whenever a user starts the
application.
Which of the following options suitably represents the required code?
Which of the following actions should you take?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You are in the process of developing a new application named ABCApp13. ABCApp13 must be
able to present data to application users two consecutive pages at one time.
Which of the following actions should you take?
Which of the following actions should you take?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You are in the process of developing a new application named ABCApp35. You have been
informed that ABCApp35 should have a layout panel configured. The layout panel used should
allow for child objects to be organized and displayed vertically.
The layout panel should not, however, require the child objects to be resized.
Which of the following actions should you take?
Which of the following actions should you take?
You are employed as an application developer at ABC.com. You make use of Microsoft .NET
Framework 4 to develop Windows Presentation Foundation (WPF) applications.
You have been tasked with developing a new application named ABCApp13. ABCApp13 should
include controls that present a menu pertaining to the control chosen by application users. You
want this menu to be shown as soon as the control is chosen, and that it appears right beside the
chosen control.
Which of the following actions should you take?