Esempio n. 1
0
        private void B_EditAchievements_Click(object sender, EventArgs e)
        {
            var pers = SAV.Players[PlayerIndex].Personal;

            using var editor = new AchievementEditor(pers);
            editor.ShowDialog();
        }
Esempio n. 2
0
        private void B_EditAchievements_Click(object sender, EventArgs e)
        {
            var pers    = SAV.Players[PlayerIndex].Personal;
            var records = pers.GetActivities();

            using var editor = new AchievementEditor(records);
            if (editor.ShowDialog() == DialogResult.OK)
            {
                pers.SetActivities(records);
            }
        }