Beispiel #1
0
        private void btnAddPerson_Click(object sender, RoutedEventArgs e)
        {
            viewModel.ResetNewPerson();
            PersonWindow.Visibility = Visibility.Collapsed;
            if (AddPersonWindow.Visibility != Visibility.Visible)
            {
                AddPersonWindow.Resize();
            }

            EditButton.Visibility = Visibility.Collapsed;
            SaveButton.Visibility = Visibility.Visible;
        }
Beispiel #2
0
 private void btnEdit_Click(object sender, RoutedEventArgs e)
 {
     AddPersonWindow.Resize();
 }