예제 #1
0
        private void addNewToolStripMenuItem_Click(object sender, EventArgs e)
        {
            AddNewCharacter anc = new AddNewCharacter();

            anc.ShowDialog();

            ReloadRoster();
        }
예제 #2
0
        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();
            }
        }