private void iq_Closed(object sender, EventArgs e) { IncreaseQuota iq = sender as IncreaseQuota; if (iq == null || iq.DialogResult.GetValueOrDefault(false)) { Calculations.RegisterModel(typeof(Rawr.Bear.CalculationsBear)); Calculations.RegisterModel(typeof(Rawr.Cat.CalculationsCat)); Calculations.RegisterModel(typeof(Rawr.DPSDK.CalculationsDPSDK)); Calculations.RegisterModel(typeof(Rawr.DPSWarr.CalculationsDPSWarr)); Calculations.RegisterModel(typeof(Rawr.Elemental.CalculationsElemental)); Calculations.RegisterModel(typeof(Rawr.Enhance.CalculationsEnhance)); Calculations.RegisterModel(typeof(Rawr.Healadin.CalculationsHealadin)); Calculations.RegisterModel(typeof(Rawr.HealPriest.CalculationsHealPriest)); Calculations.RegisterModel(typeof(Rawr.Hunter.CalculationsHunter)); Calculations.RegisterModel(typeof(Rawr.Mage.CalculationsMage)); Calculations.RegisterModel(typeof(Rawr.Moonkin.CalculationsMoonkin)); Calculations.RegisterModel(typeof(Rawr.ProtPaladin.CalculationsProtPaladin)); Calculations.RegisterModel(typeof(Rawr.ProtWarr.CalculationsProtWarr)); Calculations.RegisterModel(typeof(Rawr.RestoSham.CalculationsRestoSham)); Calculations.RegisterModel(typeof(Rawr.Retribution.CalculationsRetribution)); Calculations.RegisterModel(typeof(Rawr.Rogue.CalculationsRogue)); Calculations.RegisterModel(typeof(Rawr.ShadowPriest.CalculationsShadowPriest)); Calculations.RegisterModel(typeof(Rawr.TankDK.CalculationsTankDK)); Calculations.RegisterModel(typeof(Rawr.Tree.CalculationsTree)); Calculations.RegisterModel(typeof(Rawr.Warlock.CalculationsWarlock)); string[] files = new List <string>(Classes.Keys).ToArray(); Buff.LoadDefaultBuffs(null, 85); Enchant.LoadDefaultEnchants(); Tinkering.LoadDefaultTinkerings(); FileUtils f = new FileUtils(files, progressUpdated); f.DownloadIfNotExists(new EventHandler(filesLoaded)); } else { new Base.ErrorBox("Not Enough Storage Space", "Rawr will not work if you do not allow it to increase its available " + "storage size. Please refresh this page and accept to continue.").Show(); } }