Hello, try that:
Pet_Battle.Bot.PetBattleSetting.Load();
wManager.Wow.Helpers.PetBattles.ReviveOne = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.ReviveOne;
wManager.Wow.Helpers.FightBattlePet.CaptureAllPets = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.CaptureAllPets;
wManager.Wow.Helpers.FightBattlePet.CaptureIDontHavePets = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.CaptureIDontHavePets;
wManager.Wow.Helpers.FightBattlePet.CaptureRarePets = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.CaptureRarePets;
wManager.Wow.Helpers.FightBattlePet.PetBattlesDontFight = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.DontFight;
wManager.Wow.Helpers.FightBattlePet.AutoOrderPetByLevel = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.AutoOrderPetByLevel;
wManager.Wow.Helpers.FightBattlePet.LuaCode = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.LuaHook;
wManager.Wow.Helpers.FightBattlePet.AutoChooseBestPet = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.AutoChooseBestPet;
wManager.Wow.Helpers.FightBattlePet.AbilitiesBlackListed = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.AbilitiesBlackListed;
wManager.Wow.Helpers.FightBattlePet.FightClass = Pet_Battle.Bot.PetBattleSetting.CurrentSetting.FightClass;
(and compile custom profile dll (don't forget to add in reference "Pet battle.dll") (if you don't wont generate dll, use quester product to run your c# code, quester prelaod "pet battle.dll")