private void saveButton_Click(object sender, EventArgs e)
        {
            contact editContact = new contact();
            string  contactName = listBox1.GetItemText(listBox1.SelectedItem);

            MessageBox.Show(textBoxes[0].Text);

            editContact.addOnoma(textBoxes[0].Text);
            editContact.addEpitheto(textBoxes[1].Text);
            editContact.addKatoikia(textBoxes[4].Text);
            editContact.addThlefwno(textBoxes[3].Text);
            editContact.addEmail(textBoxes[2].Text);
            editContact.addDate(dateTimePickers[0].Text);
            File.Delete("contacts\\" + contactName.Replace("\r\n", "") + ".txt");
            MessageBox.Show(editContact.onoma + " " + editContact.epitheto);
            BinaryFormatter bf2 = new BinaryFormatter();
            Stream          st2 = new FileStream("contacts\\" + editContact.onoma + " " + editContact.epitheto + ".txt", FileMode.OpenOrCreate);

            bf2.Serialize(st2, editContact);
            st2.Close();
            MessageBox.Show("EPITYXES EDIT THS EPAFHS!");
            PLOIGISI pl = new PLOIGISI();

            pl.Activate();
            pl.Show();

            this.Hide();
        }
        private void button2_Click_1(object sender, EventArgs e)
        {
            PLOIGISI p = new PLOIGISI();

            p.Activate();
            p.Show();
            this.Hide();
        }
        private void DeleteButton_Click(object sender, EventArgs e)
        {
            string contactName = listBox1.GetItemText(listBox1.SelectedItem);

            File.Delete("contacts\\" + contactName.Replace("\r\n", "") + ".txt");
            MessageBox.Show(contactName + " Deleted Succesfully!");

            PLOIGISI pl = new PLOIGISI();

            pl.Activate();
            pl.Show();
            this.Hide();
        }