private void chargerToolStripMenuItem_Click(object sender, EventArgs e) { this.openFileDialog1.ShowDialog(); try { this.nomFichier = this.openFileDialog1.FileName; this.leCinema = Data.charge(nomFichier); } catch (Exception ex) { MessageBox.Show("format non valide"); } }