private void RefreshButton_OnClick(object sender, RoutedEventArgs e) { var treeFactory = new TreeViewFactory(); treeFactory.PopulateTreeView(); }
/// <summary> /// Shows the tool window when the menu item is clicked. /// </summary> /// <param name="sender">The event sender.</param> /// <param name="e">The event args.</param> private void ShowToolWindow(object sender, EventArgs e) { var treeFactory = new TreeViewFactory(); treeFactory.PopulateTreeView(this.package, this.ServiceProvider); }