Пример #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();
        }