$ 50.00 70-502CSharpChinese Exam
TS: Microsoft .NET Framework 3.5-Windows Presentation Foundation
- 科目編號 : 70-502CSharpChinese
- 科目名稱 : TS: Microsoft .NET Framework 3.5-Windows Presentation Foundation
- 考古題數目 : 110 Q&As
- 更新時間: 2012-02-15
- Testing Engine (SoftWare Version): $ 50.00
- PDF (Printable Version) Price: $15.00
免費下載 70-502CSharpChinese 認證考古題 Demo
70-502CSharpChinese 考試是 Microsoft 公司的 TS: Microsoft .NET Framework 3.5-Windows Presentation Foundation 認證考試官方代號,Examsoon 的 70-502CSharpChinese 權威考試考古題軟體是 Microsoft 認證廠商的授權產品,Examsoon 絕對保證第一次參加 70-502CSharpChinese 考試的考生即可順利通過,否則承諾免費更新!
下載 70-502CSharpChinese PDF 認證考試考古題
Download 70-502CSharpChinese Exam Testing Engine
選擇 Examsoon 70-502CSharpChinese 考古題
70-502CSharpChinese 考試是 Microsoft 公司的 TS: Microsoft .NET Framework 3.5-Windows Presentation Foundation 認證考試官方代號,Examsoon 的 70-502CSharpChinese 權威考試考古題軟體是 Microsoft 認證廠商的授權產品,Examsoon 絕對保證第一次參加 70-502CSharpChinese考試的考生即可順利通過,否則承諾免費升級!
TS: Microsoft .NET Framework 3.5-Windows Presentation Foundation 認證作為全球IT領域專家 Microsoft 熱門認證之一,是許多大中IT企業選擇人才標準的必備條件。 如果你正在準備 70-502CSharpChinese 考試,為 Microsoft TS: Microsoft .NET Framework 3.5-Windows Presentation Foundation認證做最後衝刺,又苦於沒有絕對權威的考試真題模擬, Examsoon 希望能助你成功!
1、Examsoon考古題大師70-502CSharpChinese考古題學習資料都是經過多位專業IT人士驗證,確保極高的覆蓋率,只要您使用本站的考試考古題參加70-502CSharpChinese 考試,我們保證您一次輕鬆通過考試;
2、售後服務第一!我們相信要想在當今時代取得成功,必須為廣大使用者提供全套的周到細緻的全程優質售後服務,只有客戶滿意了,我們才能發展。客戶至上是我們Examsoon考古題大師的一貫宗旨;
3、Examsoon實行「一次不過免費升級」承諾。如果您購買我們70-502CSharpChinese的考古題,只要不是首次通過,憑蓋有PROMETRIC或VUE考試中心鋼印的考試成績單,我們將為您免費更新70-502CSharpChinese到最新的材料,絕對保證您能順利通過;
4、本站70-502CSharpChinese考古題根據70-502CSharpChinese考試的變化動態更新,在廠家知識點每次發生變化後,我們會盡快更新70-502CSharpChinese學習材料。在您購買我們的產品后,我們將提供90天的免費更新。確保70-502CSharpChinese考古題學習材料的覆蓋率始終都在90%以上;我們提供2種 70-502CSharpChinese 考古題大師版本供你選擇。
5、軟體版本70-502CSharpChinese
優點:具有學習模式,測試模式,線上自動升級
缺點:僅限固定電腦使用,不可列印為文字,只能PC閱讀
6、PDF 格式70-502CSharpChinese考試考古題
優點:不需下載安裝軟體,方便使用者列印和攜帶,但也帶來了可隨意製的弊端,因此我們提醒使用者不得隨意公開或出售本站的70-502CSharpChinese考古題,一經發現立即取消其升級資格,且不予升級。
缺點:不具備測試模式,通過檢視 Examsoon.cn網站及查收我們的更新E-MAIL獲取更新資訊。
Examsoon 的優勢
1.Examsoon 模擬測試題具有最高的專業技術含量,只供具有相關專業知識的專家和學者學習和研究之用。
2.該測試已取得試題持有者和第三方的授權,我們深信IT業的專業人員和經理人有能力保證被授權產品的質量。
3.如果你使用 Examsoon 模擬測試,我們將保證你的第一次參加考試即取得成功,否則,我們將免費更新!
4.提供每種產品免費測試。在您決定購買之前,請檢測聯接,可能存在的問題及試題質量和適用性.
Exam : Microsoft 70-502
CSharpChinese
Title : TS: Microsoft .NET Framework 3.5 - Windows Presentation Foundation
1. 您正在使用 Microsoft .NET Framework 3.5 创建一个 Windows Presentation Foundation 应用程序。
您为该应用程序创建一个窗口。
您需要确保满足以下要求:
·使用 ListBox 控件以双列格式显示字符串数组。
·ListBox 控件中数据的流动方向为从左向右、自上向下。
您应该怎么办?
A. 使用按如下方式定义的 ListBox 控件。
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<UniformGrid Columns="2"/>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
使用下面的 C# 代码将字符串数组与 ListBox 控件关联。
myList.ItemsSource = arrayOfString;
B. 使用按如下方式定义的 ListBox 控件。
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<StackPanel />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
使用下面的 C# 代码将字符串数组与 ListBox 控件关联。
myList.ItemsSource = arrayOfString;
C. 使用按如下方式定义的 ListBox 控件。
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<WrapPanel />
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
使用下面的 C# 代码将字符串数组与 ListBox 控件关联。
myListView.ItemsSource = arrayOfString;
D. 使用按如下方式定义的 ListBox 控件。
<ListBox Name="myList">
<ListBox.ItemsPanel>
<ItemsPanelTemplate>
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
</Grid>
</ItemsPanelTemplate>
</ListBox.ItemsPanel>
</ListBox>
使用下面的 C# 代码将字符串数组与 ListBox 控件关联。
myList.ItemsSource = arrayOfString;
Answer: A
2. 您使用 Microsoft .NET Framework 3.5 创建一个 Windows Presentation Foundation 应用程序。
该应用程序名为 EnterpriseApplication.exe。
您使用设计器在用户作用域级别向 Settings.settings 文件中添加 WindowSize 参数和 WindowPosition 参数。窗口的大小和位置是从用户配置文件读取的。
该应用程序必须针对每个执行它的用户保持最初的窗口大小和位置。
您需要确保满足以下要求:
·每个用户的窗口大小都保存在用户配置文件中。
·在用户退出应用程序后保留用户设置。
您应该使用哪个配置设置?
A. private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e){
Settings.Default.WindowPosition = new Point (this.Left,
this.Top);
Settings.Default.WindowSize = new Size (this.Width,
this.Height);
Settings.Default.Save();
}
B. private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e){
RegistryKey appKey =
Registry.CurrentUser.CreateSubKey("Software\EnterpriseApplication");
RegistryKey settingsKey = appKey.CreateSubKey("WindowSettings");
RegistryKey windowPositionKey =
settingsKey.CreateSubKey("WindowPosition");
RegistryKey windowSizeKey = settingsKey.CreateSubKey("WindowSize");
windowPositionKey.SetValue("X", this.Left);
windowPositionKey.SetValue("Y", this.Top);
windowSizeKey.SetValue("Width", this.Width);
windowSizeKey.SetValue("Height", this.Height);
}
C. private void OnClosing(object sender,
System.ComponentModel.CancelEventArgs e){
XmlDocument doc = new XmlDocument();
doc.Load("EnterpriseApplication.exe.config");
XmlNode nodePosition =
doc.SelectSingleNode("//setting[@name='WindowPosition']");
nodePosition.ChildNodes[0].InnerText = String.Format("{0},{1}",
this.Left, this.Top);
XmlNode nodeSize =
doc.SelectSingleNode("//setting[@name='WindowSize']");
nodeSize.ChildNodes[0].InnerText = String.Format("{0},{1}",
this.Width, this.Height);
doc.Save("UserConfigDistractor2.exe.config");
}
D. private void Window_Closing(object sender,
System.ComponentModel.CancelEventArgs e){
StreamWriter sw =
new StreamWriter("EnterpriseApplication.exe.config", true);
sw.WriteLine("<EnterpriseApplication.Properties.Settings>");
sw.WriteLine("<setting name=
"WindowSize" serializeAs="String">");
sw.WriteLine(String.Format("<value>{0},{1}</value>",
this.Width, this.Height));
sw.WriteLine("</setting>");
sw.WriteLine("<setting name=
"WindowPosition" serializeAs="String">");
sw.WriteLine(String.Format("<value>{0},{1}</value>", this.Left,
this.Top));
sw.WriteLine("</setting>");
sw.WriteLine("</UserConfigProblem.Properties.Settings>");
sw.Close();
}
Answer: A
3. 您正在使用 Microsoft .NET Framework 5 创建一个 Windows Presentation Foundation 应用程序。
该应用程序定义一个 BrowserWindow 类。BrowserWindow 类的每个实例允许用户在一个单独的窗口中浏览网站。在打开新的浏览器窗口时,用户将重定向到一个预定义的 URL。
您编写以下代码段。
01 private void OpenNewWindow(object sender, RoutedEventArgs e)
02 {
03 Thread newWindowThread = new Thread(new
ThreadStart(NewThreadProc));
04
05 newWindowThread.Start();
06 }
07 private void NewThreadProc()
08 {
09
10 }
您需要确保满足以下要求:
·在创建其他浏览器窗口时,应用程序的主窗口不被阻止。
·在应用程序的主窗口关闭时,应用程序即执行完毕。
您应该怎么办?
A. 在第 04 行处插入以下代码段。
newWindowThread.SetApartmentState(ApartmentState.STA);
newWindowThread.IsBackground = true;
在第 09 行处插入以下代码段。
BrowserWindow newWindow = new BrowserWindow();
newWindow.Show();
Application app = new Application();
app.Run(newWindow);
B. 在第 04 行处插入以下代码段。
newWindowThread.IsBackground = true;
在第 09 行处插入以下代码段。
newWindowThread.SetApartmentState(ApartmentState.STA);
BrowserWindow newWindow = new BrowserWindow();
newWindow.Show();
Application app = new Application();
app.Run(newWindow);
C. 在第 04 行处插入以下代码段。
newWindowThread.SetApartmentState(ApartmentState.STA);
newWindowThread.IsBackground = false;
在第 09 行处插入以下代码段。
BrowserWindow newWindow = new BrowserWindow();
System.Windows.Threading.Dispatcher.Run();
newWindow.Show();
D. 在第 04 行处插入以下代码段。
newWindowThread.SetApartmentState(ApartmentState.STA);
newWindowThread.IsBackground = true;
在第 09 行处插入以下代码段。
BrowserWindow newWindow = new BrowserWindow();
newWindow.Show();
System.Windows.Threading.Dispatcher.Run();
Answer: D
4. 您正在使用 Microsoft .NET Framework 3.5 创建一个 Windows Presentation Foundation 应用程序。
您向 Window 元素中添加一个 CommandBinding 元素。该命令具有一个键盘笔势 Ctrl+H。Window 元素中包含下面的 MenuItem 控件。
<MenuItem Header="Highlight Content"
Command="local:CustomCommands.Highlight" />
您需要确保当焦点切换到不包含任何文本的 TextBox 控件时,MenuItem 控件处于禁用状态而且该命令不可执行。
您应该怎么办?
A. 在 TextBox 控件的 GotFocus 事件处理程序中,设置 MenuItem 控件的 IsEnabled 属性。
B. 将该命令的 CanExecute 属性设置为 Highlight_CanExecute。
将以下方法添加到该窗口的代码隐藏文件中。
private void Highlight_CanExecute(object sender, CanExecuteEventArgs e) {
TextBox txtBox = sender as TextBox;
e.CanExecute = (txtBox.Text.Length > 0);
}
C. 将该命令的 CanExecute 属性设置为 Highlight_CanExecute。
将以下方法添加到该窗口的代码隐藏文件中。
private void Highlight_CanExecute(object sender, CanExecuteEventArgs e) {
TextBox txtBox = e.Source as TextBox;
e.CanExecute = (txtBox.Text.Length > 0);
}
D. 将该命令的 CanExecute 属性设置为 Highlight_CanExecute。
将以下方法添加到该窗口的代码隐藏文件中。
private void Highlight_CanExecute(object sender, CanExecuteEventArgs e) {
MenuItem menu = e.Source as MenuItem;
TextBox txtBox = menu.CommandTarget as TextBox;
Menu.IsEnabled = (txtBox.Text.Length > 0);
}
Answer: C
5. 您正在使用 Microsoft .NET Framework 3.5 创建一个 Windows Presentation Foundation 应用程序。
该应用程序使用若干个异步操作来计算显示给用户的数据。名为 tommorowsWeather 的操作执行将由其他操作使用的计算。
您需要确保 tommorowsWeather 以尽可能高的优先级运行。
您应该使用哪个代码段?
A. tomorrowsWeather.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.Normal,
new OneArgDelegate(UpdateUserInterface),
weather);
B. tomorrowsWeather.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.DataBind,
new OneArgDelegate(UpdateUserInterface),
weather);
C. tomorrowsWeather.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.Send,
new OneArgDelegate(UpdateUserInterface),
weather);
D. tomorrowsWeather.Dispatcher.BeginInvoke(
System.Windows.Threading.DispatcherPriority.Render,
new OneArgDelegate(UpdateUserInterface),
weather);
Answer: C


Feedbacks
I'll have to take part in the 70-502CSharpChinese exam, can Examsoon help me pass through it?
Chloe - 2009-12-17 14:55:29