摘要:
首先在工程文件的 App.xaml.cs 文件中 重写OnShareTargetActivated(ShareTargetActivatedEventArgs args) 方法 :protected override void OnShareTargetActivated(ShareTargetActivatedEventArgs args){ var rootFrame = new Frame(); rootFrame.Navigate(typeof(MainPage), args.ShareOperation); Window.Current.Content = root... 阅读全文
posted @ 2012-10-09 16:33
博琼
阅读(563)
评论(0)
推荐(0)
摘要:
namespace Windows.System{ // 启动与指定的文件或协议相关联的默认应用程序。 public static class Launcher { //启动与指定的文件相关联的默认应用程序。 // file:文件。 // 返回结果:生成操作。 public static IAsyncOperation<bool> LaunchFileAsync(IStorageFile file); //使用指定选项,启动与指定的文件相关联的默认应用... 阅读全文
posted @ 2012-10-09 15:34
博琼
阅读(445)
评论(0)
推荐(0)
摘要:
http://msdn.microsoft.com/zh-cn/library/windows/apps/xaml/br229519.aspx 阅读全文
posted @ 2012-10-09 14:03
博琼
阅读(144)
评论(0)
推荐(0)

浙公网安备 33010602011771号