예제 #1
0
        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);
        }
예제 #2
0
 private void NavigateToNavigateUri(object sender, RoutedEventArgs e)
 {
     LicensingDialogBase.NavigateToLink(sender, this.Services);
 }