Learning Windows Phone7 development together (14th. 4 Web Task)

Source: Internet
Author: User

I. webBrowser: Like MediaPlayer, WP7 not only provides controls but also tasks. Although the two seem similar, they are used in addition to independent system applications and controls, there are still some differences. For tasks, apart from setting the URL to be browsed, there is no other function.

WebBrowserTask browser = new WebBrowserTask ();

Browser. URL = "www.baidu.com ";

Browser. Show ();


2. Search: Start the Web Search program and set Search conditions to Search on the web by conditions. In fact, this Task is to start the built-in Bing Search service.

SearchTask search = new SearchTask ();

Search. SearchQuery = "windows phone 7 ";

Search. Show ();



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.