private void TreeLibraryOptions() { Project project = Tree.ProjectOf(Tree.SelectedNode); if (project != null) { LibraryAssetDialog dialog = new LibraryAssetDialog(/*Tree.SelectedAsset*/ project.GetAsset(Tree.SelectedPath), project); if (dialog.ShowDialog(pluginUI) == DialogResult.OK) { Tree.SelectedNode.Refresh(false); project.Save(); } } }
private void TreeLibraryOptions() { LibraryAssetDialog dialog = new LibraryAssetDialog(Tree.SelectedAsset, project); if (dialog.ShowDialog(pluginUI) == DialogResult.OK) { Tree.SelectedNode.Refresh(false); project.Save(); } }