Пример #1
0
        private void MenuItemAddPhotographer_Click(object sender, RoutedEventArgs e)
        {
            var popup = new PhotographerAddWindow(_photographerViewModel, false);

            popup.ShowDialog();
        }
Пример #2
0
        private void BtnAdd_Click(object sender, RoutedEventArgs e)
        {
            var PhotographerAddWindow = new PhotographerAddWindow(_controller);

            PhotographerAddWindow.Show();
        }