Exemple #1
0
        private void listToolStripMenuItem1_Click(object sender, EventArgs e)
        {
            if (CBC[0].Characters.Count > 0)
            {
                this.Enabled = false;
                frmListCharacters F = new frmListCharacters();
                F.Show();
                F.MainForm = this;

                F.PopulateCharacters(CBC[0].Characters);
            }
            else
            {
                MessageBox.Show("There are no characters. Please add characters so you can list them.", "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
            }
        }