private void bChangePriority_Click(object sender, EventArgs e) { CalculationOptionsShadowPriest calcOpts = Character.CalculationOptions as CalculationOptionsShadowPriest; SpellPriorityForm priority = new SpellPriorityForm(calcOpts.SpellPriority, lsSpellPriopity); priority.Show(); }
private void bChangePriority_Click(object sender, RoutedEventArgs e) { priority = new SpellPriorityForm(calcOpts.SpellPriority, lsSpellPriopity, Character); priority.Closed += new EventHandler(bChangePriority_Closed); priority.Show(); }