|
|
|
@ -38,17 +38,13 @@ namespace ICSharpCode.SharpDevelop.Dom.ClassBrowser
@@ -38,17 +38,13 @@ namespace ICSharpCode.SharpDevelop.Dom.ClassBrowser
|
|
|
|
|
throw new ArgumentNullException("definition"); |
|
|
|
|
this.definition = definition; |
|
|
|
|
this.text = SD.ResourceService.GetString("MainWindow.Windows.ClassBrowser.DerivedTypes"); |
|
|
|
|
LazyLoading = true; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
protected override void OnIsVisibleChanged() |
|
|
|
|
{ |
|
|
|
|
base.OnIsVisibleChanged(); |
|
|
|
|
if (IsVisible) { |
|
|
|
|
definition.Updated += OnDefinitionUpdated; |
|
|
|
|
} else { |
|
|
|
|
definition.Updated -= OnDefinitionUpdated; |
|
|
|
|
LazyLoading = true; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
void OnDefinitionUpdated(object sender, EventArgs e) |
|
|
|
|