private void localPluginsListView_ItemActivate(object sender, EventArgs e) { if (localPluginsListView.SelectedItems.Count > 0) { var plugin = (PluginDescription)localPluginsListView.SelectedItems[0].Tag; PluginView pluginView = new PluginView(plugin); pluginView.Show(this); } }
private void dependenciesListView_ItemActivate(object sender, EventArgs e) { if (dependenciesListView.SelectedItems.Count > 0) { var dep = (PluginDescription)dependenciesListView.SelectedItems[0].Tag; PluginView view = new PluginView(dep); view.Show(this); } }