private async void URLButton_Click(object sender, RoutedEventArgs e) { // The URI to launch string uri = ""; if (!Channel.StorageURL.Contains("www")) { uri = @"https://www." + Channel.StorageURL; } else if (!Channel.StorageURL.Contains("http")) { uri = @"http://" + Channel.StorageURL; } await HelpersClass.LaunchAURI(uri); }
private async void PhoneButton_Click(object sender, RoutedEventArgs e) { // The URI to launch string uri = @"ms-people:savetocontact?PhoneNumber=" + Channel.Phone + "&ContactName=" + Channel.Name; await HelpersClass.LaunchAURI(uri); }
private async void PolicyButton_Click(object sender, RoutedEventArgs e) { string link = @"http://complainer.azurewebsites.net/2017/05/08/policy/"; await HelpersClass.LaunchAURI(link); }