Which code snippets should you include in Target 1 and Target 2 to complete the code?

DRAG DROP
You are developing a Windows Store app that allows users to take and edit pictures.
The user interface must remain responsive while the user works with pictures.
You need to ensure that the app allows users to crop captured pictures.
You have the following code: private async void CapturePhoto()

Which code snippets should you include in Target 1 and Target 2 to complete the code? (To answer,
drag the appropriate code snippets to the correct targets in the answer area. Each code snippet may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)

DRAG DROP
You are developing a Windows Store app that allows users to take and edit pictures.
The user interface must remain responsive while the user works with pictures.
You need to ensure that the app allows users to crop captured pictures.
You have the following code: private async void CapturePhoto()

Which code snippets should you include in Target 1 and Target 2 to complete the code? (To answer,
drag the appropriate code snippets to the correct targets in the answer area. Each code snippet may
be used once, more than once, or not at all. You may need to drag the split bar between panes or
scroll to view content.)

Answer:

Explanation:
http://msdn.microsoft.com/enus/library/windows/apps/windows.media.capture.cameracaptureui.aspx



Leave a Reply 0

Your email address will not be published. Required fields are marked *