/// <summary> /// Handles the Click event of the ButtonLicenseInfo control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="RoutedEventArgs"/> instance containing the event data.</param> private async void ButtonLicenseInfoClick(object sender, RoutedEventArgs e) { try { await CurrentApp.ShowLicenseInformation(); } catch { new MessageDialog("An error occurred, please try again later.", "Error").ShowAsync(); } }