// Phonecalltask: Call Private void btnphonecall_click (Object sender, routedeventargs e) {phonecalltask task = new phonecalltask (); task. phonenumber = "110"; task. displayname = ""; task. show () ;}// smscomposetask: Send the SMS private void btncomposesms_click (Object sender, routedeventargs e) {smscomposetask task = new smscomposetask (); task. to = "110"; task. body = "Hello !. "; Task. show ();} // emailcomposetask: send the email emailcomposetask task = new emailcomposetask (); task. to = "252456098@qq.com"; task. cc = "ycproc@163.com"; task. subject = "test"; task. body = "Hello world! "; Task. show (); // webbrowsertask: Open the web browser private void btnlaunchwebbrowser_click (Object sender, routedeventargs e) {webbrowsertask task = new webbrowsertask (); task. url = "http://blog.csdn.net/fengyarongaa"; task. show () ;}// searchtask: search function private void btnlaunchsearch_click (Object sender, routedeventargs e) {searchtask task = new searchtask (); task. searchquery = "sub"; task. show () ;}// mediaplayerlauncher: Start the Media Player mediaplayerlauncher task = new mediaplayerlauncher (); task. media = new uri (@ "http://ecn.channel9.msdn.com/o9/learn/videos/Silverlight4-SL4BusinessModule1-SL4LOB_01_01_Introduction/Silverlight4-SL4BusinessModule1-SL4LOB_01_01_Introduction_kit.wmv"); task. show ();