niusouti.com

单选题You include the calendar class in your Hotel Booking application. Which additional form level objects will you need to create to implement this reusable component fully?()A Blocks B Visual attributes. C Stacked canvas. D Nothing further needs to be cre

题目
单选题
You include the calendar class in your Hotel Booking application. Which additional form level objects will you need to create to implement this reusable component fully?()
A

Blocks 

B

Visual attributes. 

C

Stacked canvas. 

D

Nothing further needs to be created.


相似考题
更多“单选题You include the calendar class in your Hotel Booking application. Which additional form level objects will you need to create to implement this reusable component fully?()A Blocks B Visual attributes. C Stacked canvas. D Nothing further needs to be cre”相关问题
  • 第1题:

    You are developing a Hotel Booking application for a travel company. The users request a wizard-style interface for this application. How could you satisfy this requirement?()

    • A、Reference the Object Iron packages in your form module. 
    • B、Write an HTML interface, and invoke it from your form module. 
    • C、Include the Wizard class reusable component in your application. 
    • D、Build a customized wizard using tab canvases and a horizontal toolbar canvas.

    正确答案:C

  • 第2题:

    You need to create a form for Payroll application that will allow the user to view all information for any employee ID queried. This data should be displayed to the user in a grouped format. The user should be able to choose which information they want to see from a pull down list containing the values PERSONAL and PAYROLL. Which format should you use to create this form?()

    • A、One content canvas and multiple stacked canvases. 
    • B、One content and one stacked canvas.
    • C、Tab canvas with several tab pages. 
    • D、One content canvas. 
    • E、A horizontal and vertical toolbar.

    正确答案:A

  • 第3题:

    You create a Web Form that contains connected Web Parts. You write the following declaration in your Web Form. You need to ensure that your Web Part connection is valid. Which two actions should you perform? ()

    • A、Include a data source identified as "WebPartConnection1" on the Web Form.
    • B、Include a Web Part identified as "customerPart" on the Web Form.
    • C、Include a Web Part identified as "ordersPart" on the Web Form.
    • D、Ensure that you declare an interface named "IOrdersPart".
    • E、Ensure that you declare an interface named "ICustomerPart".
    • F、Ensure that each Web Part declares either a GetInterface or ProvideInterface method.

    正确答案:B,C

  • 第4题:

    You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to implement a test strategy for the application. You need to ensure that the test strategy meets the following requirements: Test data can be added to the test project without recompiling. Multiple variations of a test can be executed at run time. What should you do? ()

    • A、 Use IntelliTrace.
    • B、 Use data-driven tests.
    • C、 Create a single test class.
    • D、 Create a test method for each data variation.

    正确答案:B

  • 第5题:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. The number of items of the data-bound collection is fixed. However, users can modify the properties of each of the Product objects in the collection. You need to ensure that changes made on the Product objects are automatically reflected in the ListBox control. What should you do?()

    • A、 Implement the INotifyPropertyChanged interface in the Product class.
    • B、 Implement the INotifyCollectionChanged interface in the ProductList class.
    • C、 Set the Mode property of the Binding object of the ListBox control to TwoWay.
    • D、  Set the UpdateSourceTrigger property of the Binding object of the ListBox control to PropertyChanged.

    正确答案:A

  • 第6题:

    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. You need to ensure that changes to ProductList are automatically reflected in the ListBox control. What should you do? ()

    • A、  Implement the INotifyPropertyChanged interface in the Product class.
    • B、  Implement the IQueryable<Product> interface in the ProductList class.
    • C、  Extend the DependencyObject class in the Product class.
    • D、 Extend the ObservableCollection<Product> class in the ProductList class.

    正确答案:D

  • 第7题:

    Your network consists of a single Active Directory domain. The functional level of the forest is  Windows Server 2008 R2.   You need to create multiple password policies for users in your domain.     What should you do()

    • A、From the Active Directory Schema snap-in, create multiple class schema objects.
    • B、From the ADSI Edit snap-in, create multiple Password Setting objects.
    • C、From the Security Configuration Wizard, create multiple security policies.
    • D、From the Group Policy Management snap-in, create multiple Group Policy objects.

    正确答案:B

  • 第8题:

    单选题
    You include the calendar class in your Hotel Booking application. Which additional form level objects will you need to create to implement this reusable component fully?()
    A

    Blocks 

    B

    Visual attributes. 

    C

    Stacked canvas. 

    D

    Nothing further needs to be created.


    正确答案: A
    解析: 暂无解析

  • 第9题:

    单选题
    You want to provide a tool that allows users quick access to form modules, by listing them in an Explorer-style interface. Which reusable component do you use?()
    A

    ActiveX controls 

    B

    Calendar Class 

    C

    Standard Object Library 

    D

    Picklist Class 

    E

    Wizard Class 

    F

    Navigator Class


    正确答案: D
    解析: 暂无解析

  • 第10题:

    单选题
    You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to display detailed help instructions for each control in the form.You create a help file.You configure a HelpProvider component on the form.You need to display the help file for the control that is focused when the F1 key is pressed.Which method of the HelpProvider class should you call for each control?()
    A

    SetShowHelp

    B

    SetHelpString

    C

    SetHelpKeyword

    D

    SetHelpNavigator


    正确答案: A
    解析: 暂无解析

  • 第11题:

    单选题
    You create a master-detail form. The users need to be able to exit the form quickly, adhering to default transaction processing, regardless of the cursor location. You believe you can achieve this using a Key-Exit trigger. What do you need to do to implement this request? ()
    A

    Define a Key-Exit trigger for all the blocks in the form.  

    B

    In the Object Navigator, highlight all the items and define a Key-Exit trigger. 

    C

    Define a Key-Exit trigger on the primary key item in the master block.

    D

    No additional key-trigger definition is necessary.


    正确答案: A
    解析: 暂无解析

  • 第12题:

    单选题
    You are developing a Windows Presentation Foundation (WPF) application. You need to use XAML to create a custom control that contains two Button controls. From which base class should you inherit? ()
    A

     FrameworkElement

    B

     UIElement

    C

     UserControl

    D

     Button


    正确答案: B
    解析: 暂无解析

  • 第13题:

    You want to provide a tool that allows users quick access to form modules, by listing them in an Explorer-style interface. Which reusable component do you use?()

    • A、ActiveX controls 
    • B、Calendar Class 
    • C、Standard Object Library 
    • D、Picklist Class 
    • E、Wizard Class 
    • F、Navigator Class

    正确答案:F

  • 第14题:

    You use Microsoft .NET Framework 4 to create a Windows Forms application. You add a new class named Customer to the application. You select the Customer class to create a new object data source. You add the following components to a Windows Form: A BindingSource component named customerBindingSource that is data-bound to the Customer object data source. A set of TextBox controls to display and edit the Customer object properties. Each TextBox control is data-bound to a property of the customerBindingSource component. An ErrorProvider component named errorProvider that validates the input values for each TextBox control. You need to ensure that the input data for each TextBox control is automatically validated by using the ErrorProvider component. Which two actions should you perform?()

    • A、 Implement the validation rules inside the Validating event handler of each TextBox control by throwing an exception when the value is invalid.
    • B、 Implement the validation rules inside the TextChanged event handler of each TextBox control by throwing an exception when the value is invalid.
    • C、 Implement the validation rules inside the setter of each property of the Customer class by throwing an exception when the value is invalid.
    • D、 Add the following code segment to the InitializeComponent method of the Windows Form.   this.errorProvider.DataSource = this.customerBindingSource;
    • E、 Add the following code segment to the InitializeComponent method of the Windows Form.    this.errorProvider.DataSource = this.customerBindingSource.DataSource;    this.errorProvider.DataMember = this.customerBindingSource.DataMember;

    正确答案:C,D

  • 第15题:

    You are creating a Windows Forms application by using the .Net Framework 3.5 You plan to display detailed help instructions for each control in the form.You create a help file.You configure a HelpProvider component on the form. You need to display the help file for the control that is focused when the F1 key is pressed. Which method of the HelpProvider class should you call for each control?()

    • A、SetShowHelp
    • B、SetHelpString
    • C、SetHelpKeyword
    • D、SetHelpNavigator

    正确答案:A

  • 第16题:

    You are developing a Windows Forms Application by using the .NET Framework 3.5.You plan to create a customized Print Preview dialog box in the application. You need to ensure that users can preview their documents before printing. Which two actions should you perform?()

    • A、Add a PrintPreviewDialog control to the form.
    • B、Add a PrintPreviewControl control to the form.
    • C、Create and initialize a PrintDocument object on the form and then implement the PrintPage event handler.
    • D、Create and initialize a PrintDocument object on the form and then implement the BeginPrint event handler.
    • E、Set the Document property of the PrintPreviewDialog control to the PrintDocument instance that must be printed.

    正确答案:B,C

  • 第17题:

    You use Microsoft Visual Studio 2010 and Microsoft . NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You create a WPF window in the application. You add the following code segment to the application. public class ViewModel { public CollectionView Data { get; set; } } public class BusinessObject { public string Name { get; set; } } The DataContext property of the window is set to an instance of the ViewModel class. The Data property of the ViewModel instance is initialized with a collection of BusinessObject objects. You add a TextBox control to the Window. You need to bind the Text property of the TextBox control to the Name property of the current item of the CollectionView of the DataContext object. You also need to ensure that when a binding error occurs, the Text property of the TextBox control is set to N/A . Which binding expression should you use?()

    • A、 { Binding Path=Data/Name, FallbackValue='N/A' }
    • B、 { Binding Path=Data.Name, FallbackValue='N/A' }
    • C、 { Binding Path=Data/Name, TargetNullValue='N/A' } 
    • D、 { Binding Path=Data.Name, TargetNullValue='N/A' }

    正确答案:A

  • 第18题:

    Your network consists of a single Active Directory domain. The functional level of the forest is Windows Server 2008. You need to create multiple password policies for users in your domain. What should you do()

    • A、From the Schema snap-in, create multiple class schema objects.
    • B、From the ADSI Edit snap-in, create multiple Password Setting objects.
    • C、From the Security Configuration Wizard, create multiple security policies.
    • D、From the Group Policy Management snap-in, create multiple Group Policy objects.

    正确答案:B

  • 第19题:

    单选题
    You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You add a ListBox control to the application. The ListBox control is data-bound to an instance of a custom collection class of the Product objects named ProductList. You need to ensure that changes to ProductList are automatically reflected in the ListBox control. What should you do? ()
    A

      Implement the INotifyPropertyChanged interface in the Product class.

    B

      Implement the IQueryable<Product> interface in the ProductList class.

    C

      Extend the DependencyObject class in the Product class.

    D

     Extend the ObservableCollection<Product> class in the ProductList class.


    正确答案: C
    解析: 暂无解析

  • 第20题:

    单选题
    You are developing a Hotel Booking application for a travel company. The users request a wizard-style interface for this application. How could you satisfy this requirement?()
    A

    Reference the Object Iron packages in your form module. 

    B

    Write an HTML interface, and invoke it from your form module. 

    C

    Include the Wizard class reusable component in your application. 

    D

    Build a customized wizard using tab canvases and a horizontal toolbar canvas.


    正确答案: C
    解析: 暂无解析

  • 第21题:

    单选题
    Your network consists of a single Active Directory domain. The functional level of the forest is Windows Server 2008. You need to create multiple password policies for users in your domain. What should you do()
    A

    From the Schema snap-in, create multiple class schema objects.

    B

    From the ADSI Edit snap-in, create multiple Password Setting objects.

    C

    From the Security Configuration Wizard, create multiple security policies.

    D

    From the Group Policy Management snap-in, create multiple Group Policy objects.


    正确答案: A
    解析: 暂无解析

  • 第22题:

    单选题
    You need to create a form for Payroll application that will allow the user to view all information for any employee ID queried. This data should be displayed to the user in a grouped format. The user should be able to choose which information they want to see from a pull down list containing the values PERSONAL and PAYROLL. Which format should you use to create this form?()
    A

    One content canvas and multiple stacked canvases. 

    B

    One content and one stacked canvas.

    C

    Tab canvas with several tab pages. 

    D

    One content canvas. 

    E

    A horizontal and vertical toolbar.


    正确答案: E
    解析: 暂无解析

  • 第23题:

    单选题
    Your network consists of a single Active Directory domain. The functional level of the forest is Windows Server 2008 R2.   You need to create multiple password policies for users in your domain.   What should you do()
    A

    From the Active Directory Schema snap-in, create multiple class schema objects.

    B

    From the ADSI Edit snap-in, create multiple Password Setting objects.

    C

    From the Security Configuration Wizard, create multiple security policies.

    D

    From the Group Policy Management snap-in, create multiple Group Policy objects.


    正确答案: C
    解析: 暂无解析

  • 第24题:

    单选题
    You are implementing an ASP.NET application. The application includes a Person class with property Age. You add a page in which you get a list of Person objects and display the objects in a GridView control. You need to add code so that the GridView row is highlighted in red if the age of the person is less than 18. Which GridView event should you handle?()
    A

    RowDataBound

    B

    RowCommand

    C

    RowUpdated

    D

    RowEditing


    正确答案: B
    解析: 暂无解析