public void AddPC() { AddFighterWindow addPC = new AddFighterWindow(); addPC.FormClosed += (sender, e) => { if (addPC.DialogResult == DialogResult.OK) { encounter.AddFighter(addPC.NewPC); UpdateFighterList(); } }; addPC.Show(); }
public void AddPC() { AddFighterWindow addPC = new AddFighterWindow(); addPC.FormClosed += (sender, e) => { if (addPC.DialogResult == DialogResult.OK) { encounter.AddFighter(addPC.NewPC); UpdateFighterList(); } }; addPC.Show(); }