public void Initialize() { if (Config.Get <FKConfig>().General.Experience.ShowNumbers) { ListView.CreateControl <ExperienceItems>("ExperienceItems", true); } if (Config.Get <FKConfig>().General.Experience.Enabled) { ListView.CreateWPFControl <Templates.Mainbar.ExperienceHelperObserver>("ExperienceHelper", true); } if (Config.Get <FKConfig>().General.Skills.Skill) { ListView.CreateWPFControl <SkillbarNotify>("Skills", true); } // if (Config.Get<FKConfig>().General.Skills.Buffs) // AddWPF<Templates.Mainbar.BuffController>("Buffs"); if (Config.Get <FKConfig>().General.Skills.Life) { ListView.CreateControl <Health>("HealthBar", true); } if (Config.Get <FKConfig>().General.Skills.Resource) { ListView.CreateControl <Templates.Mainbar.Resource>("Resource", true); } IEnumerable <IGameStatus> IGameStatuses = GameManager.Instance.GManager.GRef.D3OverlayControl.MainBarHandler.ListView.Search <IGameStatus>(typeof(IGameStatus)); if (IGameStatuses != null) { foreach (var x in IGameStatuses) { x.OnJoin(); } } // if (Config.Get<FKConfig>().General.Experience.Enabled) // AddWPF<Templates.Mainbar.ExperienceHelperObserver>("ExperienceHelper"); // if(ListView.Search<Resource>() == null) }