private void ContactManagerWindow_Loaded(object sender, RoutedEventArgs e)
        {
            contacts = ContactHandler.LoadContacts();
            ContactListBox.ItemsSource = contacts;

            CollectionView view = (CollectionView)CollectionViewSource.GetDefaultView(ContactListBox.ItemsSource);

            view.Filter = ContactFilter;
            ContactListBox.SelectedIndex = 0;

            CreditsWindow credits = new CreditsWindow();

            credits.Show();
        }
 private void EditWindow_Closed(object sender, EventArgs e) => ContactListBox.ItemsSource = ContactHandler.LoadContacts();