protected override void OnActivate(CancelEventArgs e) { base.OnActivate(e); GeneralControl.Font = VsShellUtilities.GetEnvironmentFont(ServiceProvider.GlobalProvider); GeneralControl.OnActivated(); }
protected override void OnActivate(CancelEventArgs e) { base.OnActivate(e); PackageSourcesControl.Font = VsShellUtilities.GetEnvironmentFont(ServiceProvider.GlobalProvider); DoCancelableOperationWithProgressUI(() => { // Normally we shouldn't wrap JTF around BrokeredCalls but this is in a cancelable operation already NuGetUIThreadHelper.JoinableTaskFactory.Run(async() => await OnActivateAsync(e, CancellationToken)); }, Resources.PackageSourceOptions_OnActivated); }
protected override void OnActivate(CancelEventArgs e) { base.OnActivate(e); PackageSourcesControl.Font = VsShellUtilities.GetEnvironmentFont(this); PackageSourcesControl.InitializeOnActivated(); }
protected override void OnActivate(CancelEventArgs e) { base.OnActivate(e); GeneralControl.Font = VsShellUtilities.GetEnvironmentFont(this); GeneralControl.OnActivated(); }