コード例 #1
0
        private void OnTargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs e)

        {
            // this.NotifyUser($"User chose {e.ApplicationName}", NotifyType.StatusMessage);
        }
コード例 #2
0
ファイル: App.xaml.cs プロジェクト: redscarf2/MyProjects
 void App_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
     WAYLocalFactory.Instance.AddShareCount();
 }
コード例 #3
0
 void OnTargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
 }
コード例 #4
0
 private void Dtm_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
     ShareTargetChosen?.Invoke(this, null);
 }
コード例 #5
0
 private void dataTransferManager_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
     DataTransferManager.GetForCurrentView().DataRequested -= OnDataRequested;
 }
コード例 #6
0
        private void DataTransfer_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
        {
#if DEBUG
            System.Diagnostics.Debug.WriteLine(args.ApplicationName);
#endif
        }
コード例 #7
0
 private void SharePageViewModel_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
     ShareTarget = args.ApplicationName;
 }
コード例 #8
0
ファイル: ShareSource.xaml.cs プロジェクト: webabcd/Windows10
 // 选中了分享面板上的某个分享目标时
 void dataTransferManager_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
     // 显示用户需要与其分享内容的应用程序的名称
     lblMsg.Text = "分享给:" + args.ApplicationName;
 }
コード例 #9
0
 /// <summary>
 /// Record an event that the social sharing charm has been completed and
 /// which application data was shared with.
 /// </summary>
 /// <param name="sender">DataTransferManager responsible for the share.</param>
 /// <param name="e">Event containing details of which target application was chosen.</param>
 private void SocialShare(DataTransferManager sender, TargetApplicationChosenEventArgs e)
 {
     Client.TrackEvent("Share", "Charms", e.ApplicationName);
 }