private void addNewToolStripMenuItem_Click(object sender, EventArgs e) { AddNewCharacter anc = new AddNewCharacter(); anc.ShowDialog(); ReloadRoster(); }
private void editToolStripMenuItem_Click(object sender, EventArgs e) { if (ListBox.SelectedIndex >= 0) { int ag = ListBox.SelectedIndex; Characters c = instances[ag]; AddNewCharacter ance = new AddNewCharacter(c, ag); ance.isEdit = true; ance.ShowDialog(); ReloadRoster(); } }