Ejemplo n.º 1
0
 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();
         }
     }
 }
Ejemplo n.º 2
0
 private void TreeLibraryOptions()
 {
     LibraryAssetDialog dialog = new LibraryAssetDialog(Tree.SelectedAsset, project);
     if (dialog.ShowDialog(pluginUI) == DialogResult.OK)
     {
         Tree.SelectedNode.Refresh(false);
         project.Save();
     }
 }