internal void AddToTree(string path, int exportID)
{
MessageBox.Show("THIS DOESN'T WORK YET! LET ME KNOW PLEASE.");
return;
BeginLoadingTree(true);
using (PCCObjects.IPCCObject pcc = PCCObjects.Creation.CreatePCCObject(path, WhichGame))
{
//TreeTexInfo tex = KFreonFormsLib.Miscextra.GenerateTexStruct(pcc, exportID, WhichGame, pathBIOGame, ExecFolder, Tree.GetPCCsAsList());
bool Success;
TreeTexInfo tex = new TreeTexInfo(pcc, exportID, WhichGame, pathBIOGame, ExecFolder, out Success);
Tree.AddTex(tex, "", ""); // not right - should be blind add?
if (File.Exists(Tree.TreePath))
File.Delete(Tree.TreePath);
Tree.WriteToFile(Tree.TreePath, Path.GetDirectoryName(pathBIOGame));
}
}