private void button4_Click_2(object sender, EventArgs e) { string[] tab = new string[12]; int i = 0; foreach (DataGridViewCell cell in dataGridView1.SelectedCells) { tab[i] = cell.Value.ToString(); i++; } Form1 parent = (Form1)this.Owner; parent.NotifyMe((Int32.Parse(tab[10]))); MessageBox.Show("la société est changer"); this.Close(); }