protected void MergeLicensingResources(LicensingDialogBase dialog) { ResourceDictionary resourceDictionary = FileTable.GetResourceDictionary("Licensing/LicensingDialogResources.xaml"); dialog.Resources.MergedDictionaries.Add(resourceDictionary); ResourceDictionary licensingDialogResources = ServiceProviderExtensions.LicenseService((IServiceProvider)this.Services).LicensingDialogResources; if (licensingDialogResources == null) { return; } dialog.Resources.MergedDictionaries.Add(licensingDialogResources); }
private void NavigateToNavigateUri(object sender, RoutedEventArgs e) { LicensingDialogBase.NavigateToLink(sender, this.Services); }