Esempio n. 1
0
 private void PopulateNewResourceTree()
 {
     Objects     = new ObjectsResourceView();
     Sounds      = new SoundsResourceView();
     Backgrounds = new BackgroundsResourceView();
     Paths       = new PathsResourceView();
     Scripts     = new ScriptsResourceView();
     Fonts       = new FontsResourceView();
     DataFiles   = new DataFilesResourceView();
     TimeLines   = new TimeLinesResourceView();
     Sprites     = new SpritesResourceView();
     Rooms       = new RoomsResourceView();
     AddResource(null, Sprites, null, -1, false, false, false);
     AddResource(null, Sounds, null, -1, false, false, false);
     AddResource(null, Backgrounds, null, -1, false, false, false);
     AddResource(null, Paths, null, -1, false, false, false);
     AddResource(null, Scripts, null, -1, false, false, false);
     AddResource(null, Fonts, null, -1, false, false, false);
     AddResource(null, DataFiles, null, -1, false, false, false);
     AddResource(null, TimeLines, null, -1, false, false, false);
     AddResource(null, Objects, null, -1, false, false, false);
     AddResource(null, Rooms, null, -1, false, false, false);
     treeView1.SelectedNode = null;
 }
 private void PopulateNewResourceTree()
 {
     Objects = new ObjectsResourceView();
     Sounds = new SoundsResourceView();
     Backgrounds = new BackgroundsResourceView();
     Paths = new PathsResourceView();
     Scripts = new ScriptsResourceView();
     Fonts = new FontsResourceView();
     DataFiles = new DataFilesResourceView();
     TimeLines = new TimeLinesResourceView();
     Sprites = new SpritesResourceView();
     Rooms = new RoomsResourceView();
     AddResource(null, Sprites, null, -1, false, false, false);
     AddResource(null, Sounds, null, -1, false, false, false);
     AddResource(null, Backgrounds, null, -1, false, false, false);
     AddResource(null, Paths, null, -1, false, false, false);
     AddResource(null, Scripts, null, -1, false, false, false);
     AddResource(null, Fonts, null, -1, false, false, false);
     AddResource(null, DataFiles, null, -1, false, false, false);
     AddResource(null, TimeLines, null, -1, false, false, false);
     AddResource(null, Objects, null, -1, false, false, false);
     AddResource(null, Rooms, null, -1, false, false, false);
     treeView1.SelectedNode = null;
 }