private void buttonUpdate_Click(object sender, EventArgs e)
        {
            UpdateForm updateform = new UpdateForm(temp);

            updateform.ShowDialog();
            this.Close();
        }
        private void buttonUpdate_Click(object sender, EventArgs e)
        {
            UpdateForm updateform = new UpdateForm(selectedContact);

            updateform.ShowDialog();
            listView1.Items.Clear();
            updateListView();
        }