//phonecalltask :打电话
private void btnphonecall_click(object sender, routedeventargs e)
{
phonecalltask task = new phonecalltask();
task.phonenumber = "110";
task.displayname = "亚";
task.show(); www.2cto.com
}
//smscomposetask:发送短信
private void btncomposesms_click(object sender, routedeventargs e)
{
smscomposetask task = new smscomposetask();
task.to = "110";
task.body = "你好!.";
task.show();
}
//emailcomposetask:发送邮件
emailcomposetask task = new emailcomposetask();
task.to = "252456098@qq.com";
task.cc = "ycproc@163.com";
task.subject = "测试";
task.body = "hello world!";
task.show();
//webbrowsertask:开启web
private void btnlaunchwebbrowser_click(object sender, routedeventargs e)
{
webbrowsertask task = new webbrowsertask();
task.url = "<a href="https://blog.csdn.net/fengyarongaa">https://blog.csdn.net/fengyarongaa</a>";
task.show();
}
//searchtask:搜索功能
private void btnlaunchsearch_click(object sender, routedeventargs e)
{
searchtask task = new searchtask();
task.searchquery = "亚";
task.show();
}
//mediaplayerlauncher:启动媒体播放器
mediaplayerlauncher task = new mediaplayerlauncher();
task.media = new uri(@"https://ecn.channel9.msdn.com/o9/learn/videos/silverlight4-sl4businessmodule1-sl4lob_01_01_introduction/silverlight4-sl4businessmodule1-sl4lob_01_01_introduction_kit.wmv");
task.show();
作者:_亚
如对本文有疑问, 点击进行留言回复!!
【程序】Marvell 88W8686 WiFi模块(WM-G-MR-09)创建或连接热点,并使用lwip2.0.2建立http服务器(20171030版)
苹果手机无法充电-iPhone 12 5G成本上涨若能守住价格 不送充电器也真香
网友评论