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-05-04
- Price:
$ 123.00$ 99.00
Free 70-526GB2312VB Dumps Download
Exam4dumps offers free 70-526GB2312VB dumps,70-526GB2312VB Practice exam,70-526GB2312VB exam questions for MCTS certification(Microsoft Certified Network Associate). You can check out the question quality and usability of our 70-526GB2312VB practice exam before you decide to buy it.Before you purchase our 70-526GB2312VB Q&A,you can click the link below to download the latest 70-526GB2312VB pdf dumps.
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
Free download:Free 70-526GB2312VB dumps
Download 70-526GB2312VB Exam Testing Engine
Exam4dumps 70-526GB2312VB Exam Description
70-526GB2312VB exam training is available in various formats to best suit your needs and learning style from Exam4dumps. Whether you are a hands-on tactile learner, visually or even a textbook training veteran, we has the 70-526GB2312VB resources that will guarantee you to pass your 70-526GB2312VB practice exam at the first time!
Guarantee to Pass Your 70-526GB2312VB Exam
We provide the latest high quality 70-526GB2312VB practice exam for the customers,we guarantee your success at the first attempt with only our 70-526GB2312VB exam questions, if somehow you do not pass the exam at the first time, we will not only arrange FULL REFUND for you, but also provide you another exam of your claim, ABSOLUTELY FREE!
The Tenet Of Exam4dumps
Our on-site online training experts create all of the Microsoft 70-526GB2312VB exam products available through Actual-Exams. Our main goal is that you get more kownleage with less money.You will find our price is very cheap.
After-sales Service
Once you purchase our products,we will offer you the best service.After you purchase our product, we will offer free update in time for 90 days.Whatever you have any questions,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.
Acquiring Microsoft MCTS certifications are becoming a huge task in the field of I.T. More over these exams like 70-526GB2312VB exam are now continuously updating and accepting this challenge is itself a task. This 70-526GB2312VB practice test is an important part of Microsoft certifications and at MCTS braindumps we have the resources to prepare you for this. The 70-526GB2312VB exam is essential and core part of Microsoft certifications and once you clear the exam you will be able to solve the real time problems yourself.Wamt to take advantage of the Real 70-526GB2312VB Value Pack and save time and money while developing your skills to pass your 'Microsoft Certified Network Associate (MCTS) Exam'? Let Exam4dumps help you climb that ladder of success and pass your 70-526GB2312VB now!


