示例#1
0
        private void btnCreate_Click(object sender, EventArgs e)
        {
            CharacterScreen nextForm = new CharacterScreen(profile);

            this.Hide();
            nextForm.ShowDialog();
            this.Show();
            RefreshList();
        }
示例#2
0
        private void btnEdit_Click(object sender, EventArgs e)
        {
            Character       character = (Character)listCharacters.SelectedItem;
            CharacterScreen nextForm  = new CharacterScreen(profile, character);

            this.Hide();
            nextForm.ShowDialog();
            this.Show();
            RefreshList();
        }