$ 99.00 70-526C++ Exam
Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
- Exam Number/Code : 70-526C++
- Exam Name : Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
- Questions and Answers : 78 Q&As
- Update Time: 2011-06-10
- Price:
$ 125.00$ 99.00
Free 70-526C++ Dumps Download
Itcerthome offers free 70-526C++ dumps,70-526C++ Practice exam,70-526C++ exam questions for MCTS certification(Microsoft Certified Network Associate). You can check out the question quality and usability of our 70-526C++ practice exam before you decide to buy it.Before you purchase our 70-526C++ Q&A,you can click the link below to download the latest 70-526C++ pdf dumps.
Exam : Microsoft 70-526C++
Title : Microsoft .NET Framework 2.0 - Windows-based Client Development is in development
1. 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.
MonthCalendar ^cal = gcnew MonthCalendar();
ContextMenuStrip ^mnuContext = gcnew ContextMenuStrip();
ToolStripControlHost ^host = gcnew
ToolStripControlHost(mnuContext);
txtDate->ContextMenuStrip = mnuContext;
B. Add the following code to the form initialization.
ContextMenuStrip ^mnuContext = gcnew ContextMenuStrip();
MonthCalendar ^cal = gcnew MonthCalendar();
ToolStripControlHost ^host = gcnew
ToolStripControlHost(cal);
mnuContext->Items->Add(host);
txtDate->ContextMenuStrip = mnuContext;
C. Add the following code to the form initialization.
ToolStripContainer ^ctr = gcnew ToolStripContainer();
MonthCalendar ^cal = gcnew 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) {
txtDate->Controls[0]->Show();
}
D. Add a MouseClick event handler for the TextBox control that contains the following code.
if (e->Button == MouseButtons::Right) {
ContextMenuStrip ^mnuContext = gcnew ContextMenuStrip();
MonthCalendar ^cal = gcnew MonthCalendar();
ToolStripControlHost ^host = gcnew
ToolStripControlHost(cal);
mnuContext->Items->Add(host);
txtDate->ContextMenuStrip = mnuContext;
}
Answer: B
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:
System::Void ctl_Click(Object ^sender, EventArgs ^e)
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.
for each (Control ^ctl in this->Controls) {
if (dynamic_cast< Button ^ >(ctl) != nullptr){
ctl->Click += gcnew EventHandler(this, &Form1::ctl_Click);
}
}
B. Add the following code to the form initialization.
this->Click += gcnew EventHandler(this,&Form1::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: void mnu_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 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. ToolStripMenuItem ^mnuItem = (ToolStripMenuItem^)sender;
LogClick(mnuItem->Text);
B. LogClick(e->ToString());
C. LogClick(this->Text);
D. ToolStripMenuItem ^mnuItem = (ToolStripMenuItem^)
this->GetContainerControl();
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(gcnew ColumnStyle(SizeType::Absolute,
50));
pnlLayout->ColumnStyles->Add(gcnew ColumnStyle(SizeType::AutoSize,
100));
pnlLayout->ColumnStyles->Add(gcnew ColumnStyle(SizeType::Absolute,
50));
B. pnlLayout->ColumnStyles[0]->Width = 50;
pnlLayout->ColumnStyles[0]->SizeType = SizeType::Absolute;
pnlLayout->ColumnStyles[2]->Width = 50;
pnlLayout->ColumnStyles[2]->SizeType = SizeType::Absolute;
C. pnlLayout->ColumnStyles[0]->Width = 50;
pnlLayout->ColumnStyles[0]->SizeType = SizeType::Absolute;
pnlLayout->ColumnStyles[1]->Width = 100;
pnlLayout->ColumnStyles[1]->SizeType = SizeType::AutoSize;
pnlLayout->ColumnStyles[2]->Width = 50;
pnlLayout->ColumnStyles[2]->SizeType = SizeType::Absolute;
D. pnlLayout->ColumnStyles->Clear();
pnlLayout->ColumnStyles->Add(gcnew ColumnStyle(SizeType::Absolute,
50));
pnlLayout->ColumnStyles->Add(gcnew ColumnStyle(SizeType::Percent,
100));
pnlLayout->ColumnStyles->Add(gcnew ColumnStyle(SizeType::Absolute,
50));
Answer: D
5. 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, "") if the value of dtpStartDate->Value is greater than today's date.
Answer: AD
Free download:Free 70-526C++ dumps
Download:Latest Itcerthome 70-526C++ testing engine
Itcerthome 70-526C++ Exam Description
70-526C++ exam training is available in various formats to best suit your needs and learning style from Itcerthome. Whether you are a hands-on tactile learner, visually or even a textbook training veteran, we has the 70-526C++ resources that will guarantee you to pass your 70-526C++ practice exam at the first time!
Guarantee to Pass Your 70-526C++ Exam
We provide the latest high quality 70-526C++ practice exam for the customers,we guarantee your success at the first attempt with only our 70-526C++ 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 Itcerthome
Our on-site online training experts create all of the Microsoft 70-526C++ 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-526C++ exam are now continuously updating and accepting this challenge is itself a task. This 70-526C++ practice test is an important part of Microsoft certifications and at MCTS braindumps we have the resources to prepare you for this. The 70-526C++ 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-526C++ Value Pack and save time and money while developing your skills to pass your 'Microsoft Certified Network Associate (MCTS) Exam'? Let Itcerthome help you climb that ladder of success and pass your 70-526C++ now!


