单项选择题
A. Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
B. Thread.CurrentThread.CurrentCulture = Thread.CurrentThread.CurrentUICulture;
C. Thread.CurrentThread.CurrentUICulture = CultureInfo.InstalledUICulture;
D. Thread.CurrentThread.CurrentCulture = CultureInfo.InstalledUICulture;
单项选择题 You use Microsoft .NET Framework 4 to create a Windows Forms application. You plan to use a Windows Presentation Foundation (WPF) control of the UserControl1 type hosted in an ElementHost control named elementHost1. You write the following code segment. (Line numbers are included for reference only.) You need to ensure that the application changes the background color of the hosted control when the background color of the form changes. Which code segment should you insert at line 05?()
单项选择题 You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. You plan to use an existing Windows Forms control named MyWinFormControl in the MyControls assembly. You need to ensure that the control can be used in your application. What should you do?()
单项选择题 You use Microsoft .NET Framework 4 to create a Windows Forms application. You have a dataset as shown in the following exhibit. You plan to add a DataGridView to display the dataset. You need to ensure that the DataGridView meets the following requirements: Shows Order Details for the selected order. Shows only Order Details for items that have UnitPrice greater than 20. Sorts Products by ProductName . Which code segment should you use? ()