protected override void OnFetchCompleted(Tree tree) { if (IsDisposed || (DirectoryTreeListBox.IsDisposed && DirectoryContentListBox.IsDisposed)) { return; } DirectoryContentListBox.ProgressMonitor.Report(OperationProgress.Completed); DirectoryTreeListBox.SetTree(tree.Root, TreeListBoxMode.ShowDirectoryTree); DirectoryContentListBox.SetTree(tree.Root, TreeListBoxMode.ShowDirectoryContent); }
protected override void Dispose(bool disposing) { if (disposing) { if (!DirectoryTreeListBox.IsDisposed) { DirectoryTreeListBox.Clear(); } if (!DirectoryContentListBox.IsDisposed) { DirectoryContentListBox.Clear(); } } base.Dispose(disposing); }