Inheritance: ITargetApplicationChosenEventArgs
 private void SharePageViewModel_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
     ShareTarget = args.ApplicationName;
 }
        private void DataTransfer_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
        {
#if DEBUG
            System.Diagnostics.Debug.WriteLine(args.ApplicationName);
            
#endif
        }
 void OnTargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
     
 }
示例#4
0
        async void dataTransferManager_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
        {
            var item = (Item)this.flipView.SelectedItem;
            try
            {
                if (args.ApplicationName == "Email")
                {
                    await GetHtmlContent(requestData, Win8CatalogApplication.Instance.Empresa, item);
                }
                else if (args.ApplicationName == "People" || args.ApplicationName == "Pessoas")
                {
                    if (!String.IsNullOrEmpty(item.Uri))
                        requestData.SetUri(new Uri(item.Uri));
                    else
                        requestData.SetUri(new Uri(Win8CatalogApplication.Instance.Empresa.Website));
                }
                else {
                    if (!String.IsNullOrEmpty(item.Uri))
                        requestData.SetUri(new Uri(item.Uri));
                    else
                        requestData.SetUri(new Uri(Win8CatalogApplication.Instance.Empresa.Website));
                }
            }
            catch { }


        }
示例#5
0
 private void dtm_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args)
 {
     Debug.WriteLine(args.ApplicationName); ;
 }