搜题
用户您好, 请在下方输入框内搜索其它题目:
搜题
题目内容 (请给出正确答案)
提问人:网友 发布时间:
【多选题】

You use Microsoft .NET Framework 4 to create a Windows Forms application. <br /> You add a new class named Customer to the application. <br /> You select the Customer class to create a new object data source. <br /> You add the following components to a Windows Form: <br /> A BindingSource component named customerBindingSource that is data-bound to the Customer object data source.<br /> A set of TextBox controls to display and edit the Customer object properties.<br /> Each TextBox control is data-bound to a property of the customerBindingSource component. <br /> An ErrorProvider component named errorProvider that validates the input values for each TextBox control. <br /> You need to ensure that the input data for each TextBox control is automatically validated by using the ErrorProvider component. <br /> 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;

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

A、Microsoft Application Virtualization Sequencer  B、Microsoft Application Virtualization Desktop Client  C、Microsoft System Center Application Virtualization Streaming Server  D、Microsoft System Center Application Virtualization Management Server  

点击查看答案
第3题

A、Microsoft Application Virtualization Sequencer  B、Microsoft Application Virtualization Desktop Client  C、Microsoft System Center Application Virtualization Streaming Server  D、Microsoft System Center Application Virtualization Management Server  

点击查看答案
第7题

A、Use the AsOrdered method.  B、Use the SelectMany method.  C、Use the AutoBuffered option in the WithMergeOptions method.  D、Use the WithExecutionMode method with the ParallelExecutionMode.ForceParallelism parameter.  

点击查看答案
第8题

A、A.Use the AppVCacheSize tool to set the maximum cache size to 0.  B、B.Use the AppVCacheSize tool to set the minimum free disk space threshold to 0.  C、C.Set the HKLM \ SOFTWARE \ Microsoft \ SoftGrid \ 4.5 \ Client \AppFS\ State registry key to 0.  D、D.Set the HKLM \ SOFTWARE \ Microsoft \ SoftGrid \ 4.5 \ Client \AppFS\ FileSize registry key to 0.  

点击查看答案
第9题

A、Reload the virtual application package.  B、Reinstall the virtual application package.  C、Use the Repair function in the Windows Installer Package. Use the Microsoft Application Virtualization (App-V) to re-sequence the application.  D、Use the Microsoft Application Virtualization (App-V) Sequencer to edit the virtual application package.  

点击查看答案
第10题

A、Use IntelliTrace.  B、Use PresentationTraceSource.  C、Run the application in debug mode with Visual Studio 2010. Use the Auto window while you step through the application code.  D、Run the application in debug mode with Visual Studio 2010. Use the WPF Visualizer while you step through the application code.  

点击查看答案
客服
TOP

请使用微信扫码支付

订单号:
遇到问题请联系在线客服