/// <summary> /// Loads a Save File /// </summary> /// <param name="Path">Path to Save file to be opened</param> public void Load(string Path) { SaveManager = new VPTU.SaveManager.SaveManager(Path); SaveManager.Load_SaveData(); PokedexManager_ReloadList(); //Reload Pokedex List ResourceManager_ReloadList(); //Reload Resource List }
/// <summary> /// Loads a Save File /// </summary> /// <param name="Path">Path to Save file to be opened</param> public void Load(string Path) { SaveManager = new VPTU.SaveManager.SaveManager(Path); SaveManager.Load_SaveData(); this.SaveEditor_TabPanel.IsEnabled = true; PokedexManager_ReloadList(); //Reload Pokedex List ResourceManager_ReloadList(); //Reload Resource List }
public Search_Resources(SaveManager.SaveManager _Mgr) { InitializeComponent(); Mgr = _Mgr; LoadItems(); /* * LoadPreviewThread = new Thread(new ThreadStart(() => LoadItems())); * LoadPreviewThread.SetApartmentState(ApartmentState.STA); * LoadPreviewThread.IsBackground = true; * LoadPreviewThread.Start(); */ }
public Pokemon(SaveManager.SaveManager _Mgr, VPTU.Pokedex.Pokemon.PokemonData _PokemonData = null) { InitializeComponent(); // Sets up the window Mgr = _Mgr; // Creates Save Data Reference Setup(); // Executes Setup Code if (_PokemonData == null) { PokemonData = new VPTU.Pokedex.Pokemon.PokemonData(); } else { PokemonData = _PokemonData; Update = true; Load(); } }