private void button_Add_Click(object sender, RoutedEventArgs e)
        {
            currentContact.FirstName = textBoxFirstName.Text;

            currentContact.LastName = textBoxLastName.Text;

            currentContact.Email = textBoxEmail.Text;

            currentContact.Telephone = textBoxPhone.Text;

            currentContact.Address1 = textBoxAddress1.Text;

            currentContact.Address2 = textBoxAddress2.Text;

            currentContact.City = textBoxCity.Text;

            currentContact.State = textBoxState.Text;

            currentContact.Zipcode = textBoxZip.Text;

            MainWindow mainWindow = (MainWindow)Owner;

            mainWindow.ReceiveContact(currentContact);

            Close();
        }
        private void button_Edit_Click(object sender, RoutedEventArgs e)
        {
            string firstName = textBoxFirstName.Text;

            string lastName = textBoxLastName.Text;

            string email = textBoxEmail.Text;

            string phone = textBoxPhone.Text;

            string address1 = textBoxAddress1.Text;

            string address2 = textBoxAddress2.Text;

            string city = textBoxCity.Text;

            string state = textBoxState.Text;

            string zip = textBoxZip.Text;

            Contact editContact = new Contact();

            editContact.FirstName = firstName;

            editContact.LastName = lastName;

            editContact.Email = email;

            editContact.Telephone = phone;

            editContact.Address1 = address1;

            editContact.Address2 = address2;

            editContact.City = city;

            editContact.State = state;

            editContact.Zipcode = zip;

            MainWindow mainWindow = (MainWindow)Owner;

            mainWindow.ReceiveContact(editContact);

            mainWindow.RefreshGrid();

            Close();
        }