private void AddPhotographer_Click(object sender, RoutedEventArgs e)
        {
            EditPhotographer window = new EditPhotographer(((TaskbarVM)DataContext).EditPhotographerVM, null);

            window.ShowDialog();
        }
Exemple #2
0
        private void AddBtn_Click(object sender, RoutedEventArgs e)
        {
            EditPhotographer window = new EditPhotographer(((ListPhotographerVM)DataContext).EditPhotographerVM, (PhotographerModel)PhotographerList.SelectedItem);

            window.ShowDialog();
        }