Exemple #1
0
        private void AddWorkExp_Click(object sender, RoutedEventArgs e)
        {
            var experienceEdit = new ExperienceEditor(repo);

            repo.OnExperienceChanged += Repo_OnExperienceChanged;
            experienceEdit.Show();
        }
Exemple #2
0
        private void EditWorkExp_Click(object sender, RoutedEventArgs e)
        {
            var chosen = (WorkExperience)listBoxExp.SelectedItem;

            if (chosen != null)
            {
                repo.CurrentExperience = chosen;
                var experienceEdit = new ExperienceEditor(repo);
                repo.OnExperienceChanged += Repo_OnExperienceChanged;
                experienceEdit.Show();
            }
        }