void SetPowerSet(string Setname, ref ImageButton button) { foreach (ImageButton button2 in this.buttonArray) { button2.Checked = false; } button.Checked = true; this.myPowers = DatabaseAPI.GetPowersetByID(Setname, Enums.ePowerSetType.Incarnate).Powers; this.FillLists(); }
private void SetPowerSet(string Setname, ref ImageButton button) { foreach (var button1 in buttonArray) { button1.Checked = false; } button.Checked = true; myPowers = DatabaseAPI.GetPowersetByID(Setname, Enums.ePowerSetType.Incarnate).Powers; FillLists(); }