alishadad Newbie
Joined: 11 Oct 2008 Posts: 1
|
Posted: Sat Oct 11, 2008 11:29 am Post subject: Help in 70-526 |
|
|
HI,
First ,I'm very happy to be here in this great forum.
I have a question i hope any one who scored 1000 in 70-526 help me??
what is it the solution for those 2 question:
-----------------------------------------------
Q1:
You are creating a custom control that displays an image in the background. You notice that
when the control is resized the background image.
You need to eliminate the background image flicker.
Which three code segments should you use? (Each correct answer presents part of the solution.
Choose three.)
A. this SetStyle(ControlStyles.OptimizedDoubleBuffer, true);
B. this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
C. this.SetStyle(ControlStyles.UserPaint, true);
D. ths.SetStyle(ControlStyles.ResizeRedraw, true);
E. this.SetStyle(ControlStyles.Opaque, true);
-----------------------------------------------------------------
Q2:
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 action 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.
Please any one reply me soon as my exam will be next week??
Thanks alot |
|