Other 70-526VB Exams :

70-526VB Exam

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

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

Free 70-526VB Demo Download

pass999.info offers free demo for MCTS 70-526VB 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-526VB Exam Testing Engine


70-526VB Exam Description

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

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


1. You are creating a Windows Forms application. You add an ErrorProvider component named erpErrors and a DateTimePicker control named dtpStartDate to the application. The application also contains other controls.
You need to configure the application to display an error notification icon next to dtpStartDate when the user enters a date that is greater than today's date.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
A. For the Validating event of dtpStartDate, create an event handler named VerifyStartDate.
B. For the Validated event of dtpStartDate, create an event handler named VerifyStartDate.
C. In the Properties Window for dtpStartDate, set the value of Error on erpErrors to Date out of range.
D. In VerifyStartDate, call erpErrors.SetError(dtpStartDate, "Date out of range") if the value of dtpStartDate.Value is greater than today's date.
E. In VerifyStartDate, call erpErrors.SetError(dtpStartDate, null) if the dtpStartDate.Value is greater than today's date.
Answer: AD

2. You are customizing a Windows Form. When the user clicks any button, you want the application to log information about the user's actions by calling a method with the following signature.
Public Sub ctl_Click(ByVal sender As Object,
ByVal e As EventArgs)
You want the form to invoke this method when any Button control is clicked and only when a Button control is clicked.
You need to modify the form to invoke this method without interfering with the existing operations of the application.
What should you do?
A. Add the following code to the form initialization.
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. Add the following code to the form initialization.
AddHandler Me.Click, AddressOf ctl_Click
C. Use the Properties dialog box to set the Click event for each Button control on the form to the ctl_Click method.
D. Use the Properties dialog box to set the Click event of the form to the ctl_Click method.
Answer: A

3. You are customizing a Windows Form. The form includes a menu that has several ToolStripMenuItem controls. An event handler is configured to handle the Click event for all ToolStripMenuItem controls. The event handler has the following signature.
Private Sub mnu_Click(ByVal sender As System.Object,
ByVal e As System.EventArgs)
The form class includes a method that has the following signature.
Private Sub LogClick(ByVal ctlName As String)
You need to add code so that when a user clicks a ToolStripMenuItem control, the mnu_Click method calls the LogClick method. The LogClick method must be called with the ctlName parameter set to the menu text in the ToolStripMenuItem control.
Which code segment should you use?
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

4. You are creating a Windows Form. You add a TableLayoutPanel control named pnlLayout to the form. You set the properties of pnlLayout so that it will resize with the form.
You need to create a three-column layout that has fixed left and right columns. The fixed columns must each remain 50 pixels wide when the form is resized. The middle column must fill the remainder of the form width when the form is resized. You add the three columns in the designer.
Which code segment should you use to format the columns at run time?
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

5. You are creating a Windows Form that includes a TextBox control named txtDate.
When a user right-clicks within the text box, you want the application to display a MonthCalendar control.
You need to implement a context menu that provides this functionality.
What should you do?
A. Add the following code to the form initialization.
Dim cal As New MonthCalendar()
Dim mnuContext As New ContextMenuStrip()
Dim host As New ToolStripControlHost(mnuContext)
txtDate.ContextMenuStrip = mnuContext
B. Add the following code to the form initialization.
Dim mnuContext As New ContextMenuStrip()
Dim cal As New MonthCalendar()
Dim host As New ToolStripControlHost(cal)
mnuContext.Items.Add(host)
txtDate.ContextMenuStrip = mnuContext
C. Add the following code to the form initialization.
Dim ctr As New ToolStripContainer()
Dim cal As New MonthCalendar()
ctr.ContentPanel.Controls.Add(cal)
txtDate.Controls.Add(ctr)
Add a MouseClick event handler for the TextBox control that contains the following code.
If e.Button = MouseButtons.Right Then
txtDate.Controls(0).Show()
End If
D. Add a MouseClick event handler for the TextBox control that contains the following code.
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

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-526VB exam

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

The 70-526VB 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-526VB 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-526VB exam products under different conditions.

Once you purchase our 70-526VB 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.