Other 70-526GB2312VB Exams :

70-526GB2312VB Exam

Microsoft .NET Framework 2.0 - Windows-based Client Development is in development

  • Exam Number/Code : 70-526GB2312VB
  • Exam Name : Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
  • Questions and Answers : 76 Q&As
  • Update Time: 2011-03-30
  • Price: $ 123.00 $ 99.00

Free 70-526GB2312VB Demo Download

pass999.info offers free demo for MCTS 70-526GB2312VB exam (Microsoft .NET Framework 2.0 - Windows-based Client Development is in development). You can check out the interface, question quality and usability of our practice exams before you decide to buy it. We are the only one site can offer demo for almost all products.

Download 70-526GB2312VB Exam Testing Engine


70-526GB2312VB Exam Description

It is well known that latest 70-526GB2312VB exam test is the hot exam of Microsoft certification. pass999.info offer you all the Q&A of the 70-526GB2312VB real test . It is the examination of the perfect combination and it will help you pass 70-526GB2312VB exam at the first time!

 
 
Exam : Microsoft 70-526GB2312VB
Title : Microsoft .NET Framework 2.0 - Windows-based Client Development is in development


1. 您正在自定义一个 Windows 窗体。当用户单击任意一个按钮时,您想要应用程序通过调用包含以下签名的方法来记录有关用户操作的信息。
Public Sub ctl_Click(ByVal sender As Object, ByVal e As EventArgs)
您想让窗体当且仅当用户单击任意一个 Button 控件时调用此方法。
您需要修改窗体以在不妨碍应用程序现有操作的情况下调用该方法。
您应该怎么做?
A. 将以下代码添加到窗体初始化代码块中。
Dim ctl As Control
For Each ctl In Me.Controls
If TypeOf ctl Is Button Then
AddHandler ctl.Click, AddressOf ctl_Click
End If
Next ctl
B. 将以下代码添加到窗体初始化代码块中。
AddHandler Me.Click, AddressOf ctl_Click
C. 使用"属性"对话框将窗体上每个 Button 控件的 Click 事件设置为 ctl_Click 方法。
D. 使用"属性"对话框将窗体的 Click 事件设置为 ctl_Click 方法。
Answer: A

2. 您正在创建一个 Windows 窗体应用程序。您将名为 erpErrors 的 ErrorProvider 组件以及名为 dtpStartDate 的 DateTimePicker 控件添加到该应用程序中。该应用程序还包含其他控件。
您需要配置该应用程序,以便当用户输入的日期在当前日期之后时在 dtpStartDate 旁边显示错误通知图标。
您应该执行哪两项操作?(每个正确答案都仅给出了部分解决方案。请选择两个答案。)
A. 为 dtpStartDate 的 Validating 事件创建名为 VerifyStartDate 的事件处理程序。
B. 为 dtpStartDate 的 Validated 事件创建名为 VerifyStartDate 的事件处理程序。
C. 在 dtpStartDate 的"属性"窗口中,将 erpErrors 上的 Error 值设置为 Date out of range。
D. 在 VerifyStartDate 中,如果 dtpStartDate.Value 的值在当前日期之后,则调用
erpErrors.SetError(dtpStartDate, "Date out of range")。
E. 在 VerifyStartDate 中,如果 dtpStartDate.Value 的值在当前日期之后,则调用
erpErrors.SetError(dtpStartDate, null)。
Answer: DA

3. 您正在创建一个 Windows 窗体,该窗体包含名为 txtDate 的 TextBox 控件。
当用户在文本框内右击时,您想要应用程序显示 MonthCalendar 控件。
您需要实现提供此功能的上下文菜单。
您应该怎么做?
A. 将以下代码添加到窗体初始化代码块中。
Dim cal As New MonthCalendar()
Dim mnuContext As New ContextMenuStrip()
Dim host As New ToolStripControlHost(mnuContext)
txtDate.ContextMenuStrip = mnuContext
B. 将以下代码添加到窗体初始化代码块中。
Dim mnuContext As New ContextMenuStrip()
Dim cal As New MonthCalendar()
Dim host As New ToolStripControlHost(cal)
mnuContext.Items.Add(host)
txtDate.ContextMenuStrip = mnuContext
C. 将以下代码添加到窗体初始化代码块中。
Dim ctr As New ToolStripContainer()
Dim cal As New MonthCalendar()
ctr.ContentPanel.Controls.Add(cal)
txtDate.Controls.Add(ctr)
为 TextBox 控件添加包含以下代码的 MouseClick 事件处理程序。
If e.Button = MouseButtons.Right Then
txtDate.Controls(0).Show()
End If
D. 为 TextBox 控件添加包含以下代码的 MouseClick 事件处理程序。
If e.Button = MouseButtons.Right Then
Dim mnuContext As New ContextMenuStrip()
Dim cal As New MonthCalendar()
Dim host As New ToolStripControlHost(cal)
mnuContext.Items.Add(host)
txtDate.ContextMenuStrip = mnuContext
End If
Answer: B

4. 您正在自定义一个 Windows 窗体。该窗体包括一个具有若干 ToolStripMenuItem 控件的菜单。已配置了一个事件处理程序来为所有 ToolStripMenuItem 控件处理 Click 事件。该事件处理程序具有以下签名。
Private Sub mnu_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)窗体类包含具有以下签名的方法。
Private Sub LogClick(ByVal ctlName As String)
您需要添加代码,以便当用户单击 ToolStripMenuItem 控件时,mnu_Click 方法调用 LogClick 方法。必须将调用 LogClick 方法的 ctlName 参数设置为 ToolStripMenuItem 控件的菜单文本。
您应该使用哪个代码段?
A. Dim mnuItem As ToolStripMenuItem = CType(sender, ToolStripMenuItem)
LogClick(mnuItem.Text)
B. LogClick(e.ToString())
C. LogClick(Me.Text)
D. Dim mnuItem As ToolStripMenuItem =
CType(Me.GetContainerControl(), ToolStripMenuItem)
LogClick(mnuItem.Text)
Answer: A

5. 您正在创建一个 Windows 窗体。您将名为 pnlLayout 的 TableLayoutPanel 控件添加到窗体中。将 pnlLayout 的属性设置为它的大小能随窗体一起调整。
您需要创建一个具有三列的布局方式,其中的左列和右列是固定列。调整窗体大小时,每个固定列的宽度必须保持为 50 像素。调整窗体大小时,窗体宽度的其余部分必须由中间列填充。您在设计器中添加了三列。
您应该使用哪个代码段在运行时设置列的格式?
A. pnlLayout.ColumnStyles.Clear()
pnlLayout.ColumnStyles.Add(New ColumnStyle(SizeType.Absolute, 50.0F))
pnlLayout.ColumnStyles.Add(New ColumnStyle(SizeType.AutoSize, 100.0F))
pnlLayout.ColumnStyles.Add(New ColumnStyle(SizeType.Absolute, 50.0F))
B. pnlLayout.ColumnStyles(0).Width = 50.0F
pnlLayout.ColumnStyles(0).SizeType = SizeType.Absolute
pnlLayout.ColumnStyles(2).Width = 50.0F
pnlLayout.ColumnStyles(2).SizeType = SizeType.Absolute
C. pnlLayout.ColumnStyles(0).Width = 50.0F
pnlLayout.ColumnStyles(0).SizeType = SizeType.Absolute
pnlLayout.ColumnStyles(1).Width = 100.0F
pnlLayout.ColumnStyles(1).SizeType = SizeType.AutoSize
pnlLayout.ColumnStyles(2).Width = 50.0F
pnlLayout.ColumnStyles(2).SizeType = SizeType.Absolute
D. pnlLayout.ColumnStyles.Clear()
pnlLayout.ColumnStyles.Add(New ColumnStyle(SizeType.Absolute, 50.0F))
pnlLayout.ColumnStyles.Add(New ColumnStyle(SizeType.Percent, 100.0F))
pnlLayout.ColumnStyles.Add(New ColumnStyle(SizeType.Absolute, 50.0F))
Answer: D

What's pass999.info and what pass999.info can do?

pass999.info provides high quality IT exam practice questions and answers. Especially, Cisco CCNA CCDA CCNP CCIE, Checkpoint CCSE, CompTIA A+ Network+ certification practice exams and so on. We promise that you can pass any IT exam at the first try using pass999.info Testing Engine, or else give you a FULL REFUND. In pass999.info, you also can find latest exam releases about real certification exam resources from most famous IT companies, and we recommend some hot exams for you.

About Microsoft 70-526GB2312VB exam

There are many ways to prepare for your 70-526GB2312VB Certification Exam. pass999.info provides the most reliable training tools to prepare for your next 70-526GB2312VB Certification Exam. Our 70-526GB2312VB Certification Study Material includes 70-526GB2312VB test questions, 70-526GB2312VB practice exam, 70-526GB2312VB Practice Testing Software, 70-526GB2312VB Audio Learning and Preparation Labs. We will meet the needs of all about IT certification in pass999.info.

The 70-526GB2312VB test questions give you possibility to work in any country of the world because they are acknowledged in all countries equally. This pass999.info 70-526GB2312VB torrent certificate helps not only to improve your knowledge and skills, but it also helps your career, gives a possibility for qualified usage of pass999.info 70-526GB2312VB exam products under different conditions.

Once you purchase our 70-526GB2312VB PDF,we will offer you the best service.After you purchase we will offer free update in time for 90 days.No matter any questions you have we will help you solve it. And in 3 weeks we will offer you free updates,so please pay attention our site at all times.