public LoadSpellbook(Familiar parentForm, List<Spell> spellBook) { this.parentForm = parentForm; InitializeComponent(); this.loadedSpellbook = new BindingList<LoadedSpell>(); foreach (Spell spell in spellBook) { loadedSpellbook.Add(new LoadedSpell(spell)); } this.spellBookGrid.DataSource = loadedSpellbook; Common.changeHeaderNames(this.spellBookGrid); }
public NewSpell(Familiar parentForm) { this.parentForm = parentForm; InitializeComponent(); }
public SpellcasterSettings(Familiar parentForm) { this.parentForm = parentForm; spellCountPerLevel = new List<SpellCount>(); InitializeComponent(); }