private void button_Edit_Click(object sender, RoutedEventArgs e)
        {
            EditWindow editWindow = new EditWindow { Owner = this };

            editWindow.LoadContact(selectedContact);

            editWindow.Show();
        }
        private void button_Edit_Click(object sender, RoutedEventArgs e)
        {
            EditWindow editWindow = new EditWindow {
                Owner = this
            };

            editWindow.LoadContact(selectedContact);

            editWindow.Show();
        }