PrepAway - Latest Free Exam Questions & Answers

Category: 70-526

Exam 70-526: TS: Microsoft .NET Framework 2.0 – Windows-Based Client Development.

What should you do to add a component to the form, without manual coding?

A Domain.com user named Mia Hamm is working for the Marketing department. You need to provide her assistance for an input control by automatically show tooltip when she uses the F1 key. You want the tooltip to show enough information. This is, so that Mia Hamm not causing errors by entering the wrong or invalid data. What should you do to add a component to the form, without manual coding?

which was named testmenuItem?

You are busy to create a MenuStrip control named testmenuStrip to a container form named testcontainerForm in a Microsoft Windows Forms application. The testcontainerForm contains tree child forms.
Which code segment should you use to create a windows list menu so that each name of each child window is displayed on a ToolStripMenuItem control which was named testmenuItem?

Which code segment should you use to programmatically add the two menu items?

You are busy adding a MenuStrip control, which has an instance of a ToolStripMenu item named testjobItem, to a form in a Microsoft Windows Forms application. This item’s display text is Job. You have received instructions to add two menu items to the Job menu item. The first item’s display text should be Create New Job, and the second one is Run Job. Which code segment should you use to programmatically add the two menu items?

Which code segment should you use?

You are creating a custom Windows Forms control. On the background of the control, an ellipse completely filled with a colored gradient is drawn. The bounds for the ellipse are equal to the bounds for the control. The control must correctly repaint itself in all situations. You need to include the drawing of the ellipse in the OnPaint event handler for the custom control. Which code segment should you use?

Which code segment should you use?

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 void menu_Click(object sender, EventArgs e) The form class includes a method that has the following signature.
private void LogClick(string ctlName)
You need to add code so that when a user clicks a ToolStripMenuItem control, the menu_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?


Page 11 of 15« First...910111213...Last »