public void CreateNewProject() { var newTps = new TpsFileSave(); newTps.SetDefaultValues(); string fileName = AtlasFolder + "TexturePackerProject.tps"; newTps.Save(fileName); bool userCancelled = false; // Select the Global Content tree node to add the file there: GlueState.Self.CurrentTreeNode = FlatRedBall.Glue.FormHelpers.ElementViewWindow.GlobalContentFileNode; var rfs = FlatRedBall.Glue.FormHelpers.RightClickHelper.AddSingleFile( fileName, ref userCancelled); GlueState.Self.CurrentReferencedFileSave = rfs; }