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) { }
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 { } }
private void dtm_TargetApplicationChosen(DataTransferManager sender, TargetApplicationChosenEventArgs args) { Debug.WriteLine(args.ApplicationName); ; }